×

Application programming interfaces for gesture operations

  • US 10,175,876 B2
  • Filed: 04/26/2016
  • Issued: 01/08/2019
  • Est. Priority Date: 01/07/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • at an electronic device with a display and a touch-sensitive surface, wherein the electronic device includes a plurality of programs that are operating within a platform that includes platform code configured to provide the plurality of programs with a common framework for handling gesture events detected on the touch-sensitive surface;

    displaying, on the display, a user interface that includes a respective view that is associated with a respective program of the plurality of programs, wherein the respective view of the plurality of views is a region of the user interface that includes content displayed on the display and the content in the respective view is responsive to inputs within a region of the touch-sensitive surface that corresponds to the respective view;

    while displaying the respective view on the display, detecting, via the platform code, a user input;

    in response to detecting the user input, determining whether the user input corresponds to a gesture that is based on one or more touches detected on the touch-sensitive surface;

    in response to determining that the user input corresponds to a gesture that is based on one or more touches detected on the touch-sensitive surface, transferring from the platform code to the respective program associated with the respective view, via an application programming interface (API), a handle gesture event function call that represents the detected gesture;

    after transferring, via the API, the handle gesture event function call, detecting a change in the gesture that corresponds to a change in one or more touches detected on the touch-sensitive surface that correspond to the gesture; and

    in response to detecting the change in the gesture, transferring, via the API, a gesture change function call that represents the change in the gesture, wherein the gesture change function call is transferred from the platform code configured to provide the plurality of programs with the common framework for handling gesture events detected on the touch-sensitive surface to the respective program that is associated with the respective view.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×