Devices and Methods for Processing Touch Inputs Based on Their Intensities
Abstract
An electronic device with a display, a touch-sensitive surface, and one or more sensors to detect intensity of contacts with the touch-sensitive surface displays a first user interface of a first software application, detects an input on the touch-sensitive surface while displaying the first user interface, and, in response to detecting the input while displaying the first user interface, performs a first operation in accordance with a determination that the input satisfies intensity input criteria including that the input satisfies a first intensity threshold during a first predefined time period, and performs a second operation in accordance with a determination that the input satisfies long press criteria including that the input remains below the first intensity threshold during the first predefined time period.
Claims
exact text as granted — not AI-modified1 . A method, comprising:
at an electronic device with a display, a touch-sensitive surface, and one or more sensors to detect intensity of contacts with the touch-sensitive surface:
displaying a first user interface;
while displaying the first user interface, detecting an input on the touch-sensitive surface; and,
in response to detecting the input while displaying the first user interface:
in accordance with a determination that the input satisfies tap criteria including that the input ceases to remain on the touch-sensitive surface during a first predefined time period, performing a first operation;
in accordance with a determination that the input satisfies intensity input criteria including that the input satisfies a first intensity threshold during a second predefined time period that is longer than the first predefined time period, while the input is maintained on the touch-sensitive surface, performing a second operation that is distinct from the first operation as a result of the input satisfying the first intensity threshold, even if the second predefined time period has not yet been met; and
in accordance with a determination that the input satisfies long press criteria including that the input remains below the first intensity threshold during the second predefined time period, performing a third operation that is distinct from the first operation and the second operation.
2 . The method of claim 1 , wherein:
detecting the input on the touch-sensitive surface includes detecting a first portion of the input and a second portion of the input that is subsequent to the first portion of the input; and the method includes:
in response to detecting the first portion of the input on the touch-sensitive surface, identifying a first set of gesture recognizers that correspond to at least the first portion of the input as candidate gesture recognizers, the first set of gesture recognizers including a first gesture recognizer and a second gesture recognizer; and,
in response to detecting the second portion of the input on the touch-sensitive surface:
in accordance with the determination that the input satisfies the intensity input criteria, performing the second operation including processing the input with the first gesture recognizer; and,
in accordance with the determination that the input satisfies the long press criteria, performing the third operation including processing the input with the second gesture recognizer.
3 . The method of claim 2 , wherein the first gesture recognizer is an intensity-based gesture recognizer and the second gesture recognizer is a long press gesture recognizer.
4 . The method of claim 2 , wherein the input includes a third portion of the input that is subsequent to the second portion of the input, and the method includes processing the third portion of the input with the first gesture recognizer.
5 . The method of claim 2 , wherein the first set of gesture recognizers includes a third gesture recognizer.
6 . The method of claim 2 , including:
in response to determining that the input satisfies a second intensity threshold, processing the input with the first gesture recognizer, including replacing display of the first user interface with a second user interface.
7 . The method of claim 2 , wherein:
the first set of gesture recognizers includes a fourth gesture recognizer; and the method includes, in response to determining that the input satisfies a second intensity threshold, processing the input with the fourth gesture recognizer.
8 . The method of claim 2 , including:
in response to detecting the first portion of the input, performing a fourth operation that is distinct from the first operation, the second operation, and the third operation.
9 . The method of claim 8 , including, subsequent to performing the fourth operation:
in accordance with the determination that the input satisfies the intensity input criteria, performing the second operation; and, in accordance with the determination that the input satisfies the long press criteria, performing the third operation.
10 . The method of claim 1 , wherein:
performing the second operation includes displaying a preview area.
11 . The method of claim 1 , wherein:
performing the third operation includes displaying a menu view.
12 . The method of claim 1 , wherein the first intensity threshold is satisfied in response to multiple contacts in the input satisfying the first intensity threshold.
13 . The method of claim 1 , wherein the first intensity threshold is satisfied in response to a combination of the intensity applied by a plurality of contacts in the input satisfying the first intensity threshold.
14 . The method of claim 1 , wherein the first intensity threshold is adjustable.
15 . The method of claim 2 , including updating the first gesture recognizer to be activated in response to the input satisfying a third intensity threshold that is distinct from the first intensity threshold.
16 . The method of claim 1 , including:
in accordance with a determination that the input does not satisfy the intensity input criteria and does not satisfy the long press criteria, forgoing the second operation and the third operation.
17 . The method of claim 1 , wherein:
the intensity input criteria include that the input does not move across the touch-sensitive surface by more than a predefined distance; and the long press criteria include that the contact in the input does not move across the touch-sensitive surface by more than the predefined distance.
18 . The method of claim 2 , including:
detecting a second input on the touch-sensitive surface, including detecting a first portion of the second input and a second portion of the second input that is subsequent to the first portion of the second input; in response to detecting the first portion of the second input on the touch-sensitive surface, identifying a second set of gesture recognizers that correspond to at least the first portion of the second input, the second set of gesture recognizers including the second gesture recognizer without the first gesture recognizer; and, in response to detecting the second portion of the second input on the touch-sensitive surface, in accordance with a determination that the second input satisfies second long press criteria including that the second input remains on the touch-sensitive surface for a third predefined time period that has a different duration from the second predefined time period, processing the second input with the second gesture recognizer.
19 . An electronic device, comprising:
a display; a touch-sensitive surface; one or more sensors to detect intensity of contacts with the touch-sensitive surface; one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
displaying a first user interface;
while displaying the first user interface, detecting an input on the touch-sensitive surface; and,
in response to detecting the input while displaying the first user interface:
in accordance with a determination that the input satisfies tap criteria including that the input ceases to remain on the touch-sensitive surface during a first predefined time period, performing a first operation;
in accordance with a determination that the input satisfies intensity input criteria including that the input satisfies a first intensity threshold during a first intensity threshold during a second predefined time period that is longer than the first predefined time period, while the input is maintained on the touch-sensitive surface, performing a second operation that is distinct from the first operation as a result of the input satisfying the first intensity threshold, even if the second predefined time period has not yet been met; and
in accordance with a determination that the input satisfies long press criteria including that the input remains below the first intensity threshold during the second predefined time period, performing a third operation that is distinct from the first operation and the second operation.
20 . A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device with a display, a touch-sensitive surface, and one or more sensors to detect intensity of contacts with the touch-sensitive surface cause the device to:
display a first user interface; while displaying the first user interface, detect an input on the touch-sensitive surface; and, in response to detecting the input while displaying the first user interface:
in accordance with a determination that the input satisfies tap criteria including that the input ceases to remain on the touch-sensitive surface during a first predefined time period, performing a first operation;
in accordance with a determination that the input satisfies intensity input criteria including that the input satisfies a first intensity threshold during a second predefined time period that is longer than the first predefined time period, while the input is maintained on the touch-sensitive surface, perform a first operation as a result of the input satisfying the first intensity threshold, even if the second predefined time period has not yet been met; and
in accordance with a determination that the input satisfies long press criteria including that the input remains below the first intensity threshold during the second predefined time period, perform a third operation that is distinct from the first operation and the second operation.
21 . The method of claim 1 , wherein:
the intensity input criteria further require that:
the input satisfy the first intensity threshold after the first predefined time period.
22 . The electronic device of claim 19 , wherein:
the intensity input criteria further require that:
the input satisfy the first intensity threshold after the first predefined time period.
23 . The computer readable storage medium of claim 20 , wherein:
the intensity input criteria further require that:
the input satisfy the first intensity threshold after the first predefined time period.Join the waitlist — get patent alerts
Track US2017045981A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.