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 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.