Abstract:
An electronic device comprises a display, one or more input devices, and one or more tactile output generators. In accordance with a determination of tactile output criteria tactile output is generated. Several embodiments are disclosed. In a first embodiment an electronic device displays a user interface for a first software application. The user interface includes multiple elements to which user interaction models from multiple user interaction models provided by an application-independent module have been assigned (including a first element to which a first user interaction model has been assigned). The multiple elements have content provided by an application-specific module for the first software application. The first user interaction model defines how the user interface responds to inputs directed to the first element. The device detects an input directed to the first element; and updates the user interface based on characteristics of the input. If the input meets tactile output criteria specified by the first user interaction model, the device generates a first tactile output corresponding to the input, and if not, the device forgoes generation of the first tactile output.
Abstract:
An electronic device detects an occurrence of a first condition that triggers generation of a first user interface event associated with a tactile output, and displays one or more changes to the user interface. If the first user interface event corresponds to a first user interface event category, the device delays generating the first user interface event for at least a respective amount of time, and then displays the one or more changes to the user interface and generates the tactile output associated with the first user interface event. The display of the one or more changes to the user interface is synchronized with the generation of the tactile output associated with the first user interface event.
Abstract:
An electronic device receives a first request for a first user interface operation that is associated with a first tactile output; and performs the first user interface operation and generates the first tactile output. The device receives a second request for a second user interface operation that is associated with a second tactile output; and conditionally determines a time interval from a point in time corresponding to a most recent prior instance of a first type of change in the respective user interface element for which a tactile output was generated. If the time interval is less than a predefined time period, the device performs the second user interface operation without generating the second tactile output; and, if the time interval is greater than the predefined time period, the device performs the second user interface operation and generates the second tactile output.
Abstract:
An electronic device receives a first request for a first user interface operation that is associated with a first tactile output; and performs the first user interface operation and generates the first tactile output. The device receives a second request for a second user interface operation that is associated with a second tactile output; and conditionally determines a time interval from a point in time corresponding to a most recent prior instance of a first type of change in the respective user interface element for which a tactile output was generated. If the time interval is less than a predefined time period, the device performs the second user interface operation without generating the second tactile output; and, if the time interval is greater than the predefined time period, the device performs the second user interface operation and generates the second tactile output.
Abstract:
An electronic device displays a user interface for a first software application. The user interface includes multiple elements to which user interaction models from multiple user interaction models provided by an application-independent module have been assigned (including a first element to which a first user interaction model has been assigned). The multiple elements have content provided by an application-specific module for the first software application. The first user interaction model defines how the user interface responds to inputs directed to the first element. The device detects an input directed to the first element; and updates the user interface based on characteristics of the input. If the input meets tactile output criteria specified by the first user interaction model, the device generates a first tactile output corresponding to the input, and if not, the device forgoes generation of the first tactile output.
Abstract:
An electronic device receives, at an application-independent module, from an application-specific module that is associated with a first application, information about an input directed to the user interface of the first application. An operation performed in the user interface of the first application in response to detecting the input is associated with a tactile output pattern specified by the application-specific module. The information about the input includes information indicating a magnitude of the operation performed in the user interface in response to detecting the input. The device generates a tactile output that corresponds to the operation performed in the user interface of the first application. The tactile output has the tactile output pattern specified by the application-specific module. The tactile output has an amplitude determined in accordance with the magnitude of the operation performed in the user interface of the first application in response to detecting the input.
Abstract:
An electronic device, while tactile output generators are in a low-power state, receives an indication that a user interaction has started. The device, if the indication meets tactile output generator preparation criteria, sets the tactile output generators to a low-latency state at a first time. Thereafter, the device, if the user interaction has reached a respective portion of the user interaction that is associated with a tactile output before a predefined amount of time since the first time has elapsed and the tactile output generators are still in the low-latency state, generates the tactile output using the tactile output generators with a reduced latency. If a tactile output has not been generated for at least the predefined amount of time since the first time, the device transitions the tactile output generators from the low-latency state to the low-power state.