Abstract:
A device implementing drag and drop for touchscreen devices may include a processor configured to detect a drag gesture selecting an item in a first application. The processor may be further configured to detect a touch release at an end of the drag gesture for dropping the item in a second application, and send, in response to the detected touch release, a message to the second application, the message including information for a plurality of representations of the item. The processor may be further configured to receive, from the second application, a request for a representation of the item from among the plurality of representations. The processor may be further configured to send, to the first application, the request for the representation of the item. The processor may be further configured to initiate a data transfer of the representation of the item from the first application to the second application.
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 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 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, 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.