Its a hold over from prison life that is meant to signify that you are available as a sexual object.
Some men/boys on the street do it either in full knowledge of what it means or just out of style and ignorance for its origination.