摘要 |
A method for responding to a sliding operation includes: when a system process detects the sliding operation, acquiring a sliding distance and a sliding direction of the sliding operation (101); the system process respectively transmitting the sliding distance and the sliding direction of the sliding operation to an application process and an interface delivery process (102); when the interface delivery process receives the sliding distance and the sliding direction, moving a display window in the sliding direction, according to the sliding distance (103); and the interface delivery process controlling the touch-screen to display a display content corresponding to the display window that has been moved (104). In the present invention, time that the interface delivery process waits for the application process to draw is reduced, and response's speed of the sliding operation is increased, such that synchronization of screen display and the sliding operation is enhanced. |