On the A20 I have from a few years ago, touching the LCD would switch on the screen. The power button would also do this. The power button would so switch it off.
Where in the source code does this take place? Is it in the kernel or in the Android source?