IP Library Granted Patent US 10,963,142
Granted Patent B2
US 10,963,142 · App. 15/647,180 · Granted Mar 30, 2021

Application programming interfaces for scrolling

Inventors: Andrew Platzer (Santa Clara, CA); Scott Herz (San Jose, CA)
Assignee: APPLE INC.
G06F3/04845G06F3/0485G06F3/04883
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,963,142
App. No.
15/647,180
Granted
Mar 30, 2021
Kind
B2
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.

Claims (41)

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.

2. The method of claim 1 , wherein the drag input comprises a vertically upward or vertically downward swipe gesture.

3. The method of claim 1 , including transferring the deceleration scroll call through the API to set the deceleration factor.

4. The method of claim 1 , further including transferring a scroll hysteresis call through the API to determine whether the drag input invokes a scroll.

5. The method of claim 1 , further including transferring a scroll indicator call through the API to determine whether at least one scroll indicator attaches to a content edge or a display edge of the scrollable region.

6. The method of claim 1 , further including transferring an inadvertent user input call through the API to determine whether the user input contacting the touch-sensitive surface of the electronic device was inadvertent.

7. The method of claim 1 , including:

while detecting the drag input, attaching a scroll indicator to an edge of the scrollable region; and

after detecting the end of the user input, fading out the scroll indicator from the edge of the scrollable region.

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.

9. The electronic device of claim 8 , wherein the drag input comprises a vertically upward or vertically downward swipe gesture.

10. The electronic device of claim 8 , wherein the memory further stores executable program instructions that when executed cause the electronic device to transfer the deceleration scroll call through the API to set the deceleration factor.

11. The electronic device of claim 8 , wherein the memory further stores executable program instructions that when executed cause the electronic device to transfer a scroll hysteresis call through the API to determine whether the drag input invokes a scroll.

12. The electronic device of claim 8 , wherein the memory further stores executable program instructions that when executed cause the electronic device to transfer a scroll indicator call through the API to determine whether at least one scroll indicator attaches to a content edge or a display edge of the scrollable region.

13. The electronic device of claim 8 , wherein the memory further stores executable program instructions that when executed cause the electronic device to transfer an inadvertent user input call through the API to determine whether a user input contacting the touch-sensitive surface of the electronic device was inadvertent.

14. The electronic device of claim 8 , wherein the memory further stores executable program instructions that when executed cause the electronic device to:

while detecting the drag input, attach a scroll indicator to an edge of the scrollable region; and

after detecting the end of the user input, fade out the scroll indicator from the edge of the scrollable region.

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.

16. The non-transitory computer readable storage medium of claim 15 , wherein the drag input comprises a vertically upward or vertically downward swipe gesture.

17. The non-transitory computer readable storage medium of claim 15 , wherein the executable program instructions include instructions that when executed, cause the electronic device to transfer the deceleration scroll call through the API to set the deceleration factor.

18. The non-transitory computer readable storage medium of claim 15 , wherein the executable program instructions include instructions that when executed, cause the electronic device to transfer a scroll hysteresis call through the API to determine whether the drag input invokes a scroll.

19. The non-transitory computer readable storage medium of claim 15 , wherein the executable program instructions include instructions that when executed, cause the electronic device to transfer a scroll indicator call through the API to determine whether at least one scroll indicator attaches to a content edge or a display edge of the scrollable region.

20. The non-transitory computer readable storage medium of claim 15 , wherein the executable program instructions include instructions that when executed, cause the electronic device to transfer an inadvertent user input call through the API to determine whether a user input contacting the touch-sensitive surface of the electronic device was inadvertent.

21. The non-transitory computer readable storage medium of claim 15 , wherein the executable program instructions include instructions that when executed cause the electronic device to:

while detecting the drag input, attach a scroll indicator to an edge of the scrollable region; and

after detecting the end of the user input, fade out the scroll indicator from the edge of the scrollable region.

Continuity (2)
Continuation 11620715 · Jan 7, 2007
Related Publication 20170308277A1 · Oct 26, 2017
Cited By (3)
US 12,487,739 US 12,566,544 US 12,619,747