Yes, I've had teenage boys stare at my legs while waiting for my hamburger to be cooked.
I think if you want to pass, you should quickly check out everyone, including guys, to assess if they are a threat or not.
I don't think women have the luxury of not doing that!
So it would be weird for woman to totally avoid making any eye contact, even for a moment.
Instead, I think you should quickly acknowledge someone's presence with incidental eye contact and move on.