Touch event model programming interface
First Claim
Patent Images
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;
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.
1 Assignment
0 Petitions
Accused Products
Abstract
One or more touch input signals can be obtained from a touch sensitive device. A touch event model can be used to determine touch and/or gesture events based on the touch input signals. The touch and gesture events can be associated with touch input signals generated from different regions of a web page displayed on the touch sensitive device. Access can be provided to at least one touch or gesture event through a programming interface.
187 Citations
18 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; 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 (2, 13, 17)
-
-
3. 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; 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 resizing. - View Dependent Claims (4, 14, 18)
-
-
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 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 (6)
-
7. 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; 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 distinct from the dynamically rotating. - View Dependent Claims (8, 15)
-
-
9. 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; 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 distinct from the dynamically resizing. - View Dependent Claims (10, 16)
-
-
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 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 (12)
Specification