主权项 |
1. A method comprising:
detecting, by a processing device, a touch on a touch screen display; receiving a first signal indicating a start of the touch; starting a timer in response to the first signal; monitoring a length of the touch as the touch continues; determining a current time period covering the length of the touch using a current value of the timer, the current time period comprising one of a plurality of time periods, wherein each of the plurality of time periods corresponds to one of a plurality of functions; identifying, by the processing device, a first function of the plurality of functions, the first function corresponding to the current time period; identifying a second function of the plurality of functions, the second function corresponding to a second signal indicating an end of the touch; and causing the processing device to implement the second function. |