Of course they did. He made a calculation that he could pass behind the pedestrian at the speed and trajectory he did, thus maintaining balance and momentum and getting to his destination quicker. This may well have been unconscious and manifested itself as the thought "I reckon I can make that gap", but the calculation was made. What mucked it up was the pedestrian deciding to step into his path, which the cyclist hadn't anticipated, or had dismissed as being so unlikely as to be worth the risk. If he had taken this possibility into account and left a larger gap, this would have brought him into conflict with the pedestrian crossing from the left.
Something I always try and do in the road is to act predictably, and to anticipate the actions of others. In this case, seeing the cyclist travelling at speed and moving to the right, his actions were predictable. The pedestrian's sudden change of direction, less so.