Abstract:
An electronic device includes a camera. While in a first media acquisition mode for the camera the device displays a live preview on the display. While displaying the live preview, the device detects activation of a shutter button. In response to detecting activation of the shutter button, the device groups a plurality of images acquired by the camera in temporal proximity to the activation of the shutter button into a sequence of images. The sequence of images includes: a plurality of images acquired by the camera prior to detecting activation of the shutter button; a representative image that represents the first sequence of images and was acquired by the camera after one or more of the other images in the first sequence of images; and a plurality of images acquired by the camera after acquiring the representative image.
Abstract:
An electronic device detects a change in intensity of an input at a location corresponding to a first user interface element associated with a user-interaction behavior model; generates, with an application-independent software module, output associated with the first user interface element determined in accordance with the change in intensity of the input and the user-interaction behavior model, including a first user-interaction component behavior and a second user-interaction component behavior; detects a change in intensity an input at a location corresponding to a second user interface element associated with a subset of the user-interaction component behaviors; obtains, from the application-independent software module, an indication of whether the change in intensity of the input has met conditions associated with the first user-interaction component behavior; and updates, based on the indication, an appearance of the second user interface element based on the first user-interaction component behavior.
Abstract:
An electronic device detects a change in intensity of an input on an input element that includes detecting an increase in intensity followed by a decrease in intensity, and recognizes at least a portion of the change in intensity of the input as a first input event that is associated with a first operation, for example a single click operation. After recognizing the first input event, the device delays performance of the first operation while monitoring subsequent changes in intensity of the input for a second input event, wherein the delay is limited by a default delay time period. If the second event is recognized before default delay time period has elapsed, a second operation is performed and the first operation is not performed. However, if early-confirmation criteria for the first input event are met before the default delay period elapses, the first operation is performed.
Abstract:
An electronic device with a touch-sensitive surface, a display, and one or more sensors to detect intensity of contacts: displays a plurality of user interface objects in a first user interface; detects a contact while a focus selector is at a location of a first user interface object; and, while the focus selector is at the location of the first user interface object: detects an increase in a characteristic intensity of the contact to a first intensity threshold; in response, visually obscures the plurality of user interface objects, other than the first user interface object, while maintaining display of the first user interface object; detects that the characteristic intensity of the contact continues to increase above the first intensity threshold; and, in response, dynamically increases the amount of visual obscuring of the plurality of user interface objects, other than the first user interface object.
Abstract:
A method includes displaying one or more views of a view hierarchy, and executing software elements associated with a particular view. Each particular view includes event recognizers. Each event recognizer has one or more event definitions, and an event handler that specifies an action for a target and is configured to send the action to the target in response to event recognition. The method includes detecting a sequence of sub-events, and identifying one of the views of the view hierarchy as a hit view that establishes which views are actively involved views. The method includes delivering a respective sub-event to event recognizers for each actively involved view. A respective event recognizer has event definitions, and one of the event definitions is selected based on the internal state. The respective event recognizer processes the respective subevent prior to processing a next sub-event in the sequence of sub-events
Abstract:
In accordance with some embodiments, a method is performed at an electronic device with a display, a touch-sensitive surface, and one or more sensors for detecting intensities of contacts on the touch-sensitive surface. The method comprises displaying a user interface that includes an editable content area that has a plurality of characters, and a content deletion control; detecting a deletion input that includes detecting a contact at a location on the touch-sensitive surface that corresponds to the content deletion control on the display; and in response to detecting the deletion input, deleting content in the editable content area based on a duration and a characteristic intensity of the contact. The method includes in accordance with a determination that the contact was maintained for a first time period without the characteristic intensity of the contact increasing above a first intensity threshold, deleting the content in the editable content area by sequentially deleting a plurality of sub-units of the content of a first type of sub-unit of the content at a rate that does not vary based on the characteristic intensity of the contact; in accordance with a determination that the contact was maintained for a second time period that is longer than the first time period without the characteristic intensity of the contact increasing above the first intensity threshold, switching to deleting the content in the editable content area by sequentially deleting a plurality of sub-units of the content of a second type of sub-unit of the content at a rate that does not vary based on the characteristic intensity of the contact, wherein the second type of sub-unit is different from the first type of sub-unit; and in accordance with a determination that the characteristic intensity of the contact increased above the first intensity threshold, deleting the content in the editable content area by sequentially deleting a plurality of sub-units of the content at a rate that varies based on the characteristic intensity of the contact.
Abstract:
An electronic device with a touch-sensitive surface, a display, and one or more sensors to detect intensity of contacts: displays a plurality of user interface objects in a first user interface on the display; detects an input by a contact on the touch-sensitive surface while a focus selector is over a first user interface object, in the plurality of user interface objects, on the display; in accordance with a determination that the input meets selection criteria, displays a second user interface that is distinct from the first user interface in response to detecting the input; in accordance with a determination that a first portion of the input meets preview criteria, displays a preview area overlaid on at least some of the plurality of user interface objects in the first user interface in response to detecting the first portion of the input, wherein the preview area includes a reduced scale representation of the second user interface; in accordance with a determination that a second portion of the input by the contact meets user-interface-replacement criteria, replaces display of the first user interface and the overlaid preview area with display of the second user interface; and, in accordance with a determination that the second portion of the input by the contact meets preview-area-disappearance criteria, ceases to display the preview area and displays the first user interface after the input ends.
Abstract:
A method includes displaying one or more views of a view hierarchy, and executing software elements associated with a particular view. Each particular view includes event recognizers. Each event recognizer has one or more event definitions, and an event handler that specifies an action for a target and is configured to send the action to the target in response to event recognition. The method includes detecting a sequence of sub-events, and identifying one of the views of the view hierarchy as a hit view that establishes which views are actively involved views. The method includes delivering a respective sub-event to event recognizers for each actively involved view. A respective event recognizer has event definitions, and one of the event definitions is selected based on the internal state. The respective event recognizer processes the respective sub-event prior to processing a next sub-event in the sequence of sub-events.
Abstract:
An electronic device with a touch-sensitive surface, a display, and one or more sensors to detect intensity of contacts: displays a plurality of user interface objects in a first user interface; detects a contact while a focus selector is at a location of a first user interface object; and, while the focus selector is at the location of the first user interface object: detects an increase in a characteristic intensity of the contact to a first intensity threshold; in response, visually obscures the plurality of user interface objects, other than the first user interface object, while maintaining display of the first user interface object; detects that the characteristic intensity of the contact continues to increase above the first intensity threshold; and, in response, dynamically increases the amount of visual obscuring of the plurality of user interface objects, other than the first user interface object.