Devices and methods for processing touch inputs with instructions in a web page
First Claim
1. A method, comprising:
- at an electronic device with a touch-sensitive surface and a display, wherein the touch-sensitive surface includes one or more sensors to detect intensity of contacts with the touch-sensitive surface; and
the electronic device stores a web browser application that includes instructions for processing force down events and a web page that includes instructions for processing force down events;
while displaying, using the web browser application, a user interface that corresponds to at least a portion of the web page on the display, detecting a touch input on the touch-sensitive surface at a first location that corresponds to the displayed portion of the web page on the display; and
,while detecting the touch input on the touch-sensitive surface;
detecting an intensity of the touch input on the touch-sensitive surface;
in response to determining that force-event-will-begin criteria are satisfied;
generating a will begin event that is distinct from a mouse down event; and
disabling the instructions, in the web browser application, for processing force down events; and
,after generating the will begin event;
determining whether the intensity of the touch input on the touch-sensitive surface has changed from below a force-down intensity threshold to above the force-down intensity threshold; and
,in response to determining that the intensity of the touch input on the touch-sensitive surface has changed from below the force-down intensity threshold to above the force-down intensity threshold;
generating a force down event that is distinct from the mouse down event and the will begin event;
forgoing execution of the instructions, in the web browser application, for processing force down events, and thereby forgoing processing of the force down event by said instructions in the web browser application; and
updating the user interface by executing the instructions, in the web page, for processing force down events so as to process the force down event.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device, while displaying a user interface that corresponds to at least a portion of a web page on a display, detects a touch input on a touch-sensitive surface at a first location that corresponds to the displayed portion of the web page on the display. While detecting the touch input on the touch-sensitive surface, the electronic device detects an intensity of the touch input on the touch-sensitive surface, determines whether the intensity of the touch input on the touch-sensitive surface has changed from below a first intensity threshold to above the first intensity threshold, and in response to determining that the intensity of the touch input on the touch-sensitive surface has changed from below the first intensity threshold to above the first intensity threshold, generates a force down event that is distinct from a mouse down event.
640 Citations
45 Claims
-
1. A method, comprising:
at an electronic device with a touch-sensitive surface and a display, wherein the touch-sensitive surface includes one or more sensors to detect intensity of contacts with the touch-sensitive surface; and
the electronic device stores a web browser application that includes instructions for processing force down events and a web page that includes instructions for processing force down events;while displaying, using the web browser application, a user interface that corresponds to at least a portion of the web page on the display, detecting a touch input on the touch-sensitive surface at a first location that corresponds to the displayed portion of the web page on the display; and
,while detecting the touch input on the touch-sensitive surface; detecting an intensity of the touch input on the touch-sensitive surface; in response to determining that force-event-will-begin criteria are satisfied; generating a will begin event that is distinct from a mouse down event; and disabling the instructions, in the web browser application, for processing force down events; and
,after generating the will begin event; determining whether the intensity of the touch input on the touch-sensitive surface has changed from below a force-down intensity threshold to above the force-down intensity threshold; and
,in response to determining that the intensity of the touch input on the touch-sensitive surface has changed from below the force-down intensity threshold to above the force-down intensity threshold;
generating a force down event that is distinct from the mouse down event and the will begin event;
forgoing execution of the instructions, in the web browser application, for processing force down events, and thereby forgoing processing of the force down event by said instructions in the web browser application; and
updating the user interface by executing the instructions, in the web page, for processing force down events so as to process the force down event.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
16. An electronic device, comprising:
-
a display; a touch-sensitive surface; one or more sensors to detect intensity of contacts with the touch-sensitive surface; one or more processors; memory storing a web browser application that includes instructions for processing force down events and a web page that includes instructions for processing force down events; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for; while displaying, using the web browser application, a user interface that corresponds to at least a portion of the web page on the display, detecting a touch input on the touch-sensitive surface at a first location that corresponds to the displayed portion of the web page on the display; and
,while detecting the touch input on the touch-sensitive surface; detecting an intensity of the touch input on the touch-sensitive surface; in response to determining that force-event-will-begin criteria are satisfied; generating a will begin event that is distinct from a mouse down event; and disabling the instructions, in the web browser application, for processing force down events; and
,after generating the will begin event; determining whether the intensity of the touch input on the touch-sensitive surface has changed from below a force-down intensity threshold to above the force-down intensity threshold; and
,in response to determining that the intensity of the touch input on the touch-sensitive surface has changed from below the force-down intensity threshold to above the force-down intensity threshold;
generating a force down event that is distinct from the mouse down event and the will begin event;
forgoing execution of the instructions, in the web browser application, for processing force down events, and thereby forgoing processing of the force down event by said instructions in the web browser application; and
updating the user interface by executing the instructions, in the web page, for processing force down events so as to process the force down event. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which, when executed by an electronic device that stores a web browser application that includes instructions for processing force down events and a web page that includes instructions for processing force down events and includes a display, a touch-sensitive surface, and one or more sensors to detect intensity of contacts with the touch-sensitive surface, cause the device to:
-
while displaying, using the web browser application, a user interface that corresponds to at least a portion of the web page on the display, detect a touch input on the touch-sensitive surface at a first location that corresponds to the displayed portion of the web page on the display; and
,while detecting the touch input on the touch-sensitive surface; detect an intensity of the touch input on the touch-sensitive surface; in response to determining that force-event-will-begin criteria are satisfied; generate a will begin event that is distinct from a mouse down event; and disable the instructions, in the web browser application, for processing force down events; and
,after generating the will begin event; determine whether the intensity of the touch input on the touch-sensitive surface has changed from below a force-down intensity threshold to above the force-down intensity threshold; and
,in response to determining that the intensity of the touch input on the touch-sensitive surface has changed from below the force-down intensity threshold to above the force-down intensity threshold; generate a force down event that is distinct from the mouse down event and the will begin event; forgo execution of the instructions, in the web browser application, for processing force down events, and thereby forgoing processing of the force down event by said instructions in the web browser application; and update the user interface by executing the instructions, in the web page, for processing force down events so as to process the force down event. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45)
-
Specification