Touch event model
First Claim
1. A method for handling touch events at a multi-touch device, comprising:
- displaying two or more views;
executing one or more software elements, each software element being associated with a first view of the two or more views;
associating a multi-touch flag with the first view of the two or more views;
receiving two or more concurrent touches at the first view; and
sending two or more touch events, each touch event describing a respective touch of the two or more concurrent touches, to at least one of the one or more software elements associated with the first view,wherein, in accordance with a determination that a value of the multi-touch flag associated with the first view indicates that the first view is not a multi-touch view, only one touch event, of the two or more touch events, describing a received touch, of the two or more concurrent touches, within the first view is processed by any of the one or more software elements associated with the first view.
0 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention are directed to methods, software, devices and APIs for defining touch events for application level software. Furthermore, some embodiments are directed to simplifying the recognition of single and multiple touch events for applications running in multi-touch enabled devices. To simplify the recognition of single and multiple touch events, each view within a particular window can be configured as either a multi-touch view or a single touch view. Furthermore, each view can be configured as either an exclusive or a non-exclusive view. Depending on the configuration of a view, touch events in that and other views can be either ignored or recognized. Ignored touches need not be sent to the application. Selectively ignoring touches can allow for simpler software elements that do not take advantage of advanced multi touch features to be executed at the same device and time as more complex software elements.
-
Citations
15 Claims
-
1. A method for handling touch events at a multi-touch device, comprising:
-
displaying two or more views; executing one or more software elements, each software element being associated with a first view of the two or more views; associating a multi-touch flag with the first view of the two or more views; receiving two or more concurrent touches at the first view; and sending two or more touch events, each touch event describing a respective touch of the two or more concurrent touches, to at least one of the one or more software elements associated with the first view, wherein, in accordance with a determination that a value of the multi-touch flag associated with the first view indicates that the first view is not a multi-touch view, only one touch event, of the two or more touch events, describing a received touch, of the two or more concurrent touches, within the first view is processed by any of the one or more software elements associated with the first view. - View Dependent Claims (2, 3, 4, 5)
-
-
6. 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 one or more software elements, each software element being associated with a first view of the two or more views; associate a multi-touch flag with the first view of the two or more views; and receive two or more concurrent touches at the first view; send two or more touch events, each touch event describing a respective touch of the two or more concurrent touches, to at least one of the one or more software elements associated with the first view, wherein, in accordance with a determination that a value of the multi-touch flag associated with the first view indicates that the first view is not a multi-touch view, only one touch event, of the two or more touch events, describing a received touch, of the two or more concurrent touches, within the first view is processed by any of the one or more software elements associated with the first view. - View Dependent Claims (7, 8, 9, 10)
-
-
11. 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 one or more software elements, each software element being associated with a first view of the two or more views; associating a multi-touch flag with the first view of the two or more views; receiving two or more concurrent touches at the first view; and sending two or more touch events, each touch event describing a respective touch of the two or more concurrent touches, to at least one of the one or more software elements associated with the first view, wherein, in accordance with a determination that a value of the multi-touch flag associated with the first view indicates that the first view is not a multi-touch view, only one touch event, of the two or more touch events, describing a received touch, of the two or more concurrent touches, within the first view is processed by any of the one or more software elements associated with the first view. - View Dependent Claims (12, 13, 14, 15)
-
Specification