Touch event model
First Claim
1. A method for handling touch at a multi-touch device, comprising:
- displaying two or more views;
executing two or more software elements, wherein a first view of the two or more views is associated with one or more software elements and a second view, distinct from the first view, of the two or more views is associated with one or more software elements;
associating a first exclusive touch flag with the first view;
associating a second exclusive touch flag with the second view;
receiving one or more touches at the first view; and
while receiving the one or more touches at the first view;
receiving one or more touches at the second view; and
sending one or more touch events, each touch event describing a respective touch of the one or more touches at the second view, to at least one of the one or more software elements associated with the second view, wherein the one or more touch events are processed by at least the one of the one or more software elements associated with the second view in accordance with a determination that a value of the first exclusive touch flag indicates that the first view is not an exclusive view, and the one or more touch events are not processed by any of the one or more software elements associated with the second view in accordance with a determination that the value of the first exclusive touch flag indicates that the first view is an exclusive view.
0 Assignments
0 Petitions
Accused Products
Abstract
A device with a touch-sensitive surface detects a touch on the touch-sensitive surface, determines that the touch is cancelled, and in accordance with a determination that the touch is cancelled, sends a touch cancel event to at least one of the one or more applications. Also disclosed is a device configured to determine that a respective touch has been cancelled by the device. If the respective touch has been cancelled, the device ignores the respective touch. If the respective touch has not been cancelled, the device processes the respective touch. In addition, a device configured to detect one or more touches and process at least a subset of the touches with at least one application is described. While processing at least a subset of the touches, the device receives a touch cancel event, and, in response to receiving the touch cancel event, ignores the touches.
-
Citations
24 Claims
-
1. A method for handling touch at a multi-touch device, comprising:
-
displaying two or more views; executing two or more software elements, wherein a first view of the two or more views is associated with one or more software elements and a second view, distinct from the first view, of the two or more views is associated with one or more software elements; associating a first exclusive touch flag with the first view; associating a second exclusive touch flag with the second view; receiving one or more touches at the first view; and while receiving the one or more touches at the first view; receiving one or more touches at the second view; and sending one or more touch events, each touch event describing a respective touch of the one or more touches at the second view, to at least one of the one or more software elements associated with the second view, wherein the one or more touch events are processed by at least the one of the one or more software elements associated with the second view in accordance with a determination that a value of the first exclusive touch flag indicates that the first view is not an exclusive view, and the one or more touch events are not processed by any of the one or more software elements associated with the second view in accordance with a determination that the value of the first exclusive touch flag indicates that the first view is an exclusive view. - View Dependent Claims (2, 3, 4, 5, 6, 7, 22)
-
-
8. A multi-touch device, comprising memory storing one or more programs, the one or more programs for execution at the multi-touch device, the one or more programs including instructions configured to cause the multi-touch device to:
-
display two or more views; execute two or more software elements, wherein a first view of the two or more views is associated with one or more software elements and a second view, distinct from the first view, of the two or more views is associated with one or more software elements; associate a first exclusive touch flag with the first view; associate a second exclusive touch flag with the second view; receive one or more touches at the first view; and while receiving the one or more touches at the first view, receive one or more touches at the second view distinct; and send one or more touch events, each touch event describing a respective touch of the one or more touches at the second view, to at least one of the one or more software elements associated with the second view, wherein the one or more touch events are processed by at least the one of the one or more software elements associated with the second view in accordance with a determination that a value of the first exclusive touch flag indicates that the first view is not an exclusive view, and the one or more touch events are not processed by any of the one or more software elements associated with the second view in accordance with a determination that the value of the first exclusive touch flag indicates that the first view is an exclusive view. - View Dependent Claims (9, 10, 11, 12, 13, 14, 23)
-
-
15. A non-transitory computer readable storage medium storing one or more programs for execution by a multi-touch device, the one or more programs including instructions for:
-
displaying two or more views; executing two or more software elements, wherein a first view of the two or more views is associated with one or more software elements and a second view, distinct from the first view, of the two or more views is associated with one or more software elements; associating a first exclusive touch flag with the first view; associating a second exclusive touch flag with the second view; receiving one or more touches at the first view; and while receiving the one or more touches at the first view; receiving one or more touches at the second view; and sending one or more touch events, each touch event describing a respective touch of the one or more touches at the second view, to at least one of the one or more software elements associated with the second view, wherein the one or more touch events are processed by at least the one of the one or more software elements associated with the second view in accordance with a determination that a value of the first exclusive touch flag indicates that the first view is not an exclusive view, and the one or more touch events are not processed by any of the one or more software elements associated with the second view in accordance with a determination that the value of the first exclusive touch flag indicates that the first view is an exclusive view. - View Dependent Claims (16, 17, 18, 19, 20, 21, 24)
-
Specification