Application programming interfaces for scrolling
First Claim
1. A method for performing a scrolling operation, comprising:
- at an electronic device with a display and a touch-sensitive surface, wherein the electronic device includes a framework of software code configured to interact with a plurality of applications and provide the plurality of applications with an application programming interface (API) for performing gesture operations in response to user inputs detected on the touch-sensitive surface;
detecting, via the software code, a user input, the user input including a drag input, the drag input including movement of a contact on the touch-sensitive surface that corresponds to movement over a displayed scrollable region in an application;
while detecting the drag input, scrolling on the display, via the software code, the scrollable region of the application in accordance with the drag input; and
after detecting an end of the user input, continuing to scroll on the display, via the software code, the scrollable region based on the drag input, including slowing the scroll to a stop over time, wherein the scrolling is slowed to a stop in accordance with a deceleration factor, wherein the deceleration factor for slowing the scroll to a stop is set using a deceleration scroll call to the API prior to slowing the scroll to a stop over time, and wherein the deceleration scroll call to the API for setting the deceleration factor for slowing the scroll to a stop is made in response to detecting the user input.
0 Assignments
0 Petitions
Accused Products
Abstract
An electronic device with a display, a touch-sensitive surface, and software code configured to interact with applications and provide the applications with an application programming interface (API) for performing gesture operations in response to a user input detected on the touch-sensitive surface, detects, via the software code, a drag input that includes movement of a contact on the touch-sensitive surface that corresponds to movement over a displayed scrollable region in an application. While detecting the drag input, the device scrolls on the display, via the software code, the scrollable region of the application in accordance with the drag input. After detecting an end of the drag input, the device continues to scroll on the display, via the software code, the scrollable region in accordance with the drag input including slowing the scroll to a stop over time in accordance with a deceleration factor set using the API.
565 Citations
21 Claims
-
1. A method for performing a scrolling operation, comprising:
at an electronic device with a display and a touch-sensitive surface, wherein the electronic device includes a framework of software code configured to interact with a plurality of applications and provide the plurality of applications with an application programming interface (API) for performing gesture operations in response to user inputs detected on the touch-sensitive surface; detecting, via the software code, a user input, the user input including a drag input, the drag input including movement of a contact on the touch-sensitive surface that corresponds to movement over a displayed scrollable region in an application; while detecting the drag input, scrolling on the display, via the software code, the scrollable region of the application in accordance with the drag input; and after detecting an end of the user input, continuing to scroll on the display, via the software code, the scrollable region based on the drag input, including slowing the scroll to a stop over time, wherein the scrolling is slowed to a stop in accordance with a deceleration factor, wherein the deceleration factor for slowing the scroll to a stop is set using a deceleration scroll call to the API prior to slowing the scroll to a stop over time, and wherein the deceleration scroll call to the API for setting the deceleration factor for slowing the scroll to a stop is made in response to detecting the user input. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. An electronic device, comprising:
-
a display; a touch-sensitive surface; a processor; and memory storing a plurality of applications and a framework of software code configured to interact with the plurality of applications and provide the plurality of applications with an application programming interface (API) for performing gesture operations in response to user inputs detected on the touch-sensitive surface, the software code including executable program instructions that when executed cause the electronic device to perform operations including; detecting, via the software code, a user input, the user input including a drag input, the drag input including movement of a contact on the touch-sensitive surface that corresponds to movement over a displayed scrollable region in an application; while detecting the drag input, scrolling on the display, via the software code, the scrollable region of the application in accordance with the drag input; and after detecting an end of the user input, continuing to scroll on the display, via the software code, the scrollable region based on the drag input, including slowing the scroll to a stop over time, wherein the scrolling is slowed to a stop in accordance with a deceleration factor, wherein the deceleration factor for slowing the scroll to a stop is set using a deceleration scroll call to the API prior to slowing the scroll to a stop over time, and wherein the deceleration scroll call to the API for setting the deceleration factor for slowing the scroll to a stop is made in response to detecting the user input. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer readable storage medium storing executable program instructions, which, when executed, cause an electronic device having a display and a touch-sensitive surface to perform a method comprising:
-
detecting, via a framework of software code configured to interact with a plurality of applications and provide the plurality of applications with an application programming interface (API) for performing gesture operations in response to user inputs detected on the touch-sensitive surface, a user input, the user input including a drag input, the drag input including movement of a contact on the touch-sensitive surface that corresponds to movement over a displayed scrollable region in an application; while detecting the drag input, scrolling on the display, via the software code, the scrollable region of the application in accordance with the drag input; and after detecting an end of the user input, continuing to scroll on the display, via the software code, the scrollable region based on the drag input, including slowing the scroll to a stop over time, wherein the scrolling is slowed to a stop in accordance with a deceleration factor, wherein the deceleration factor for slowing the scroll to a stop is set using a deceleration scroll call to the API prior to slowing the scroll to a stop over time, and wherein the deceleration scroll call to the API for setting the deceleration factor for slowing the scroll to a stop is made in response to detecting the user input. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification