×

Method and implementation device for inertial movement of window object

  • US 20120306796A1
  • Filed: 07/06/2011
  • Published: 12/06/2012
  • Est. Priority Date: 07/07/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for inertial movement of a window object, comprising:

  • A;

    monitoring initial touch operation of an input device, recording initial touch coordinate and touch time, and starting a first timer;

    B;

    in the process of dragging the window object, periodically triggering, by the first timer, an event of obtaining quantity of displacement and quantity of rotation that are generated on a screen by a user through the input device relative to a previous time point, and sending the obtained quantity of displacement and quantity of rotation to the window object;

    C;

    when the user releases the window object, obtaining initial linear speed and initial angular speed of the window object, and starting a second timer;

    D;

    based on the initial linear speed and the initial angular speed, periodically triggering, by the second timer, an event of obtaining current quantity of displacement and quantity of rotation of the window object according to deceleration of linear speed and deceleration of angular speed, and sending the obtained current quantity of displacement and quantity of rotation to the window object;

    E;

    when the initial linear speed and the initial angular speed corresponding to current period of the second timer are less than or equal to 0, terminating the process of inertial movement of the window object.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×