Touch event model programming interface
First Claim
1. A method performed by a device that includes one or more processors and memory storing one or more instructions for execution by the one or more processors, the method comprising:
- receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and
in response to receiving the touch input signals;
sending a gesture event to the web page, the gesture event corresponding to a combination of two or more touch events, the two or more touch events corresponding to the touch input signals;
dynamically rotating an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a rotation value associated with the gesture event; and
sending the touch events to the web page for processing, the processing distinct from the dynamically rotating.
0 Assignments
0 Petitions
Accused Products
Abstract
An electronic device receives touch input signals associated with a respective region of a web page. The respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event. In response to receiving the touch input signals, the device sends a gesture event to the web page. The gesture event corresponds to a combination of two or more touch events, and the two or more touch events correspond to the touch input signals. The device dynamically rotates an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a rotation value associated with the gesture event, and sends the touch events to the web page for processing, distinct from the dynamically rotating.
413 Citations
40 Claims
-
1. A method performed by a device that includes one or more processors and memory storing one or more instructions for execution by the one or more processors, the method comprising:
-
receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and in response to receiving the touch input signals; sending a gesture event to the web page, the gesture event corresponding to a combination of two or more touch events, the two or more touch events corresponding to the touch input signals; dynamically rotating an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a rotation value associated with the gesture event; and sending the touch events to the web page for processing, the processing distinct from the dynamically rotating. - View Dependent Claims (2, 3, 4)
-
-
5. A method performed by a device that includes one or more processors and memory storing one or more instructions for execution by the one or more processors, the method comprising:
-
receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and in response to receiving the touch input signals; sending a gesture event to the web page, the gesture event corresponding to a combination of two or more touch events, the two or more touch events corresponding to the touch input signals; dynamically resizing an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a scaling value associated with the gesture event; and sending the touch events to the web page for processing, the processing distinct from the dynamically resizing. - View Dependent Claims (6, 7, 8)
-
-
9. A method performed by a device that includes one or more processors and memory storing one or more instructions for execution by the one or more processors, the method comprising:
receiving a touch list, the touch list including touch event data to identify one or more touches on a web page, wherein the touch event data includes a touch identifier and at least one set of touch location coordinates, wherein the touch list further includes a touch event target associated with a respective touch, wherein the at least one set of touch location coordinates includes at least one of client coordinates, page coordinates, and screen coordinates. - View Dependent Claims (10)
-
11. A non-transitory computer-readable medium having instructions stored thereon, which, when executed by one or more processors of a device, cause the device to perform operations comprising:
-
receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and in response to receiving the touch input signals; sending a gesture event to the web page, the gesture event corresponding to a combination of two or more touch events, the two or more touch events corresponding to the touch input signals; dynamically rotating an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a rotation value associated with the gesture event; and sending the touch events to the web page for processing distinct from the dynamically rotating. - View Dependent Claims (12, 13, 14)
-
-
15. A non-transitory computer-readable medium having instructions stored thereon, which, when executed by one or more processors of a device, cause the device to perform operations comprising:
-
receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and in response to receiving the touch input signals; sending a gesture event to the web page, the gesture event corresponding to a combination of two or more touch events, the two or more touch events corresponding to the touch input signals; dynamically resizing an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a scaling value associated with the gesture event; and sending the touch events to the web page for processing distinct from the dynamically resizing. - View Dependent Claims (16, 17, 18)
-
-
19. A non-transitory computer-readable medium having instructions stored thereon, which, when executed by one or more processors of a device, cause the device to perform operations comprising:
receiving a touch list, the touch list including touch event data to identify one or more touches on a web page, wherein the touch event data includes a touch identifier and at least one set of touch location coordinates, wherein the touch list further includes a touch event target associated with a respective touch, wherein the at least one set of touch location coordinates includes at least one of client coordinates, page coordinates, and screen coordinates. - View Dependent Claims (20)
-
21. An electronic device, comprising:
-
one or more processors; and memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for; receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and in response to receiving the touch input signals; sending a gesture event to the web page, the gesture event corresponding to a combination of two or more touch events, the two or more touch events corresponding to the touch input signals; dynamically rotating an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a rotation value associated with the gesture event; and sending the touch events to the web page for processing, the processing distinct from the dynamically rotating. - View Dependent Claims (22, 23, 24)
-
-
25. An electronic device, comprising:
-
one or more processors; and memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for; receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and in response to receiving the touch input signals; sending a gesture event to the web page, the gesture event corresponding to a combination of two or more touch events, the two or more touch events corresponding to the touch input signals; dynamically resizing an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a scaling value associated with the gesture event; and sending the touch events to the web page for processing, the processing distinct from the dynamically resizing. - View Dependent Claims (26, 27, 28)
-
-
29. An electronic device, comprising:
-
one or more processors; and memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for; receiving a touch list, the touch list including touch event data to identify one or more touches on a web page, wherein the touch event data includes a touch identifier and at least one set of touch location coordinates, wherein the touch list further includes a touch event target associated with a respective touch, wherein the at least one set of touch location coordinates includes at least one of client coordinates, page coordinates, and screen coordinates. - View Dependent Claims (30)
-
-
31. An electronic device, comprising:
-
one or more processors; and memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for; receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and in response to receiving the touch input signals; generating two or more touch events based on the touch input signals; generating a gesture event by combining the touch events; sending the gesture event to the web page; dynamically rotating an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a rotation value associated with the gesture event; and sending the touch events to the web page for processing, the processing distinct from the dynamically rotating. - View Dependent Claims (32, 33, 34)
-
-
35. An electronic device, comprising:
-
one or more processors; and memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for; receiving touch input signals associated with a respective region of a web page, wherein the respective region of the web page is associated with a plurality of event handlers or event listeners including an event handler or listener for a touch event and an event handler or listener for a gesture event; and in response to receiving the touch input signals; generating two or more touch events based on the touch input signals; generating a gesture event by combining the touch events; sending the gesture event to the web page; dynamically resizing an element associated with the respective region of the web page with the event handler or listener for the gesture event based on a scaling value associated with the gesture event; and sending the touch events to the web page for processing, the processing distinct from the dynamically rotating. - View Dependent Claims (36, 37, 38)
-
-
39. An electronic device, comprising:
-
one or more processors; and memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for; receiving a touch list, the touch list including touch event data to identify one or more touches on a web page, wherein the touch event data includes a touch identifier and at least one set of touch location coordinates, wherein the touch list further includes a touch event target associated with each touch, wherein the at least one set of touch location coordinates includes at least one of client coordinates, page coordinates, and screen coordinates. - View Dependent Claims (40)
-
Specification