This is disgusting!
Masturbation!
In the privacy of your own home!
Seen by his nosey neighbour.
The pervert should be strung up!
The man was doing it in front of the window with his light on. He knew enough to turn the light off when the police arrived. The guy wanted to be seen. Whether or not he know he succeeded at being seen might be hard to prove. But the fact that he wanted to be seen seems obvious.
See, that's just the thing. Was it in fact in the privacy of his home? We agree it was in his home, but is everything inside your home private?
If you play loud music from inside your home, that's not "private," because the neighbors can hear. Likewise, it you put on a display in front of the windows, it's no longer private.
If he closed his blinds before he got his jerk on, it would be private; if he does it in front of the window, it's somewhat public.
People have a lot of rights inside their homes that they don't have out on the streets. One of those rights is to sexual activity in private. But another one of those rights is to be free from offensive displays, to a certain degree.