You're incorrect.  Walk left so that you see an oncoming car (even without lights) and can get out of the way (which you might not have time to do if the vehicle is coming up behind you); ride (bicycles) right so that right-turning autos on sidestreets to your right have a better chance to see you.