Touch event model
First Claim
1. A non-transitory computer readable medium storing software that when executed by an electronic device, causes the electronic device to perform operations comprising:
- executing a software element representing a view, the software element displaying a visual representation of the view at a display;
detecting a touch at a multi-touch panel; and
in response to detecting the touch,generating a touch data structure for defining a state of the touch at a particular time, the touch data structure comprising;
a location field indicating a location where the touch was or is being received on the multi-touch panel;
a phase field defining a phase of the touch at the particular time, the phase of the touch being selected from a plurality of predefined phase state values; and
a view field indicating a respective view, of a plurality of views corresponding to portions of a displayed user interface, that corresponds to the location where the touch was or is being received on the multi-touch panel; and
providing the touch data structure to the software element representing the view.
0 Assignments
0 Petitions
Accused Products
Abstract
A device with a multi-touch panel and a computer readable medium storing software for displaying a user interface on the multi-touch panel detects a touch at the multi-touch panel. The device sends to the software a touch data structure for defining a state of the touch at a particular time. The touch data structure includes: a location field indicating a location where the touch was or is being received on the multi-touch panel; a phase field defining a phase of the touch at the particular time, the phase of the touch being selected from a plurality of predefined phase state values; and a view field indicating a view, of a plurality of views corresponding to portions of the displayed user interface, that corresponds to the location where the touch was or is being received on the multi-touch panel.
550 Citations
27 Claims
-
1. A non-transitory computer readable medium storing software that when executed by an electronic device, causes the electronic device to perform operations comprising:
-
executing a software element representing a view, the software element displaying a visual representation of the view at a display; detecting a touch at a multi-touch panel; and in response to detecting the touch, generating a touch data structure for defining a state of the touch at a particular time, the touch data structure comprising; a location field indicating a location where the touch was or is being received on the multi-touch panel; a phase field defining a phase of the touch at the particular time, the phase of the touch being selected from a plurality of predefined phase state values; and a view field indicating a respective view, of a plurality of views corresponding to portions of a displayed user interface, that corresponds to the location where the touch was or is being received on the multi-touch panel; and providing the touch data structure to the software element representing the view. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic device comprising a multi-touch panel and a non-transitory computer readable medium storing software that when executed by the electronic device, causes the electronic device to perform operations comprising:
-
executing a software element representing a view, the software element displaying a visual representation of the view at a display; detecting a touch at a multi-touch panel; and in response to detecting the touch, generating a touch data structure for defining a state of the touch at a particular time, the touch data structure comprising; a location field indicating a location where the touch was or is being received on the multi-touch panel; a phase field defining a phase of the touch at the particular time, the phase of the touch being selected from a plurality of predefined phase state values; and a view field indicating a respective view, of a plurality of views corresponding to portions of a displayed user interface, that corresponds to the location where the touch was or is being received on the multi-touch panel; and providing the touch data structure to the software element representing the view. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method for operating an electronic device, comprising:
-
executing, by a processor of the electronic device, a software element representing a view, the software element displaying a visual representation of the view at a display; detecting a touch at a multi-touch panel; and in response to detecting the touch, generating, by the processor of the electronic device, a touch data structure for defining a state of the touch at a particular time, the touch data structure comprising; a location field indicating a location where the touch was or is being received on the multi-touch panel; a phase field defining a phase of the touch at the particular time, the phase of the touch being selected from a plurality of predefined phase state values; and a view field indicating a respective view, of a plurality of views corresponding to portions of a displayed user interface, that corresponds to the location where the touch was or is being received on the multi-touch panel; and providing, by the processor of the electronic device, the touch data structure to the software element representing the view. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification