W
I'm 99,9% sure double tap has nothing to do with proximity sensor (it activates even when tapping the lower part of screen which surely isn't close enough to the prox sensor and also requires actual physical taps) and pretty sure not with glance either.