Abstract:
An electronic device, while displaying a user interface for a first application, receives at the first application information that describes a first touch detected at a location on the touch-sensitive surface that corresponds to a respective user interface object. In accordance with a determination that the first touch meets predefined criteria associated with initiating a respective type of interface operation, the device initiates a user interface operation of the respective type involving the respective user interface object. The first application receives instructions to ignore the first touch with respect to user interface operations other than the respective type of interface operation, and ignores the first touch with respect to user interface operations other than the respective type of interface operation. In some embodiments, the respective type of interface operation is a drag operation, for dragging an object in or from a view of the first application.
Abstract:
In an embodiment, a device may include an attention detection service. The attention detection service may monitor various peripheral devices in the device for indications that a user is paying attention to the device. Various clients may register for notification of attention detection and attention lost (attention no longer detected) events, or may poll the service for the events. If a user is not paying attention to the device, it may be possible to take various actions to permit reduced energy consumption.
Abstract:
At an electronic device, a user input is detected that corresponds to a respective user interface element in a portion of a user interface that is associated with a first standard gesture recognizer and a first supplemental gesture recognizer. The user input is processed in accordance with the first standard gesture recognizer and the first supplemental gesture recognizer. In accordance with a determination that content associated with the respective user interface element cannot be added to a drag operation, the device fails to recognize the user input using the first supplemental gesture recognizer, and processes the user input using the first standard gesture recognizer. On the other hand, in accordance with a determination that the content associated with the respective user interface element can be added to the drag operation, a gesture is recognized using the first supplemental gesture recognizer and the content is added to the drag operation.
Abstract:
An electronic device, while displaying a user interface of an application, detects a user input on a portion of the user interface associated with a plurality of gesture recognizers. A first set of standard gesture recognizers are associated with the portion of the user interface by the application; a second set of supplemental gesture recognizers are associated with the portion of the user interface by a system process; and a first failure requirement determines which gesture recognizers must fail before other gesture recognizers can recognize a user input. In one example, the first failure requirement is that a particular standard gesture recognizer (e.g., an intensity-based gesture recognizer) must fail before a particular supplemental gesture recognizer (e.g., a drag start gesture recognizer) can recognize a user input.
Abstract:
In an embodiment, a device may include an attention detection service. The attention detection service may monitor various peripheral devices in the device for indications that a user is paying attention to the device. Various clients may register for notification of attention detection and attention lost (attention no longer detected) events, or may poll the service for the events. If a user is not paying attention to the device, it may be possible to take various actions to permit reduced energy consumption.
Abstract:
The subject technology provides for detecting a drag gesture selecting an item in a first application. The subject technology detects a touch release at an end of the drag gesture for dropping the item in a second application. The subject technology sends 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 subject technology receives, from the second application, a request for a representation of the item from among the plurality of representations. The subject technology sends, to the first application, the request for the representation of the item. Further, the subject technology initiates a data transfer of the representation of the item from the first application to the second application.
Abstract:
An electronic device, while displaying a user interface for a first application, receives at the first application information that describes a first touch detected at a location on the touch-sensitive surface that corresponds to a respective user interface object. In accordance with a determination that the first touch meets predefined criteria associated with initiating a respective type of interface operation, the device initiates a user interface operation of the respective type involving the respective user interface object. The first application receives instructions to ignore the first touch with respect to user interface operations other than the respective type of interface operation, and ignores the first touch with respect to user interface operations other than the respective type of interface operation. In some embodiments, the respective type of interface operation is a drag operation, for dragging an object in or from a view of the first application.
Abstract:
Methods, devices, and system for providing anonymous guest players for multiplayer applications are described. In one embodiment, a computer-implemented method includes initiating a game service for playing a multiplayer gaming application on a system, providing with a multiplayer API functionality for defining and adding an anonymous guest player to the system, generating data including a gaming invite that provides an ability to invite one or more friends that are registered with the game service and one or more anonymous guest players that are not registered with the game service. The method further includes receiving an input that identifies or selects an anonymous guest player to invite to play the multi-player gaming application on the system. The computer-implemented method further includes receiving data intended for the anonymous guest player from a different system of the multiplayer gaming application for peer to peer gaming applications.