long press and normal pressing of power button in android
<p>HIe all i was trying to understand the power down sequence of the android phone. i am almost thru with the top to bottom except the one thing i,e on long press of the power button the dialog box is launched showing three options 1. silent mode 2. airplane mode and 3. power off. i am unable to understand where from this UI is launched and where the action written for the handling the long press and normal press of the power button.<img src="http://i.stack.imgur.com/HkaSz.png" alt="dialog launched when long press of the power button."></p>

<p>i am having access to the mydroid file system. </p>
