Nova Patents
EP3258366B1

Event recognition

Abstract

This record has no abstract on file.

EP3258366B1, drawing sheet 1
Sheet 1 of 46

Term

5.2 yearsleft in the term

Expires 19 December 2031.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

12 claims: 6 independent, 6 dependent

  1. 1
    A method, comprising:at an electronic device (102) with a device internal state, the electronic device (102) configured to execute software that includes a view hierarchy with a plurality of views: displaying one or more views of the view hierarchy;executing one or more software elements, each software element being associated with a particular view that includes one or more event recognizers, each event recognizer having: one or more event definitions based on one or more sub-events, and an event handler, wherein the event handler: specifies an action for a target, and is configured to send the action to the target in response to the event recognizer detecting an event corresponding to an event definition of the one or more event definitions;while displaying the one or more views of the view hierarchy: detecting a sequence of one or more sub-events, the sub-events corresponding to touch inputs on a touch-sensitive display (156) of the electronic device;identifying one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views;and delivering a respective sub-event to event recognizers for at least some actively involved views within the view hierarchy, wherein the at least one event recognizer for the at least some actively involved views in the view hierarchy has a plurality of event definitions, one of which is selected in accordance with the device internal state, and the at least one event recognizer processes the respective sub-event prior to processing a next sub-event in the sequence of sub events in accordance with the selected event definition, and a first event recognizer, of the at least one event recognizer for the at least some actively involved views in the view hierarchy, includes a first event handler for: sending a first action to a first target, specified for the first event recognizer, in response to the first event recognizer detecting an event corresponding to a first event definition of the plurality of event definitions when the first event definition has been selected in accordance with the device internal state, and sending the first action to the same first target, specified for the first event recognizer, in response to the first event recognizer detecting an event corresponding to a second event definition, distinct from the first event definition, of the plurality of event definitions when the second event definition has been selected in accordance with the device internal state.
  2. 3
    The method of any of claims 1-2, wherein the device internal state includes one or more settings for an accessibility operating mode.
  3. 4
    The method of any of claims 1-3, wherein two or more event recognizers for actively involved views in the view hierarchy each have a respective plurality of event definitions, and a respective event definition of the respective plurality of event definitions is selected for a respective event recognizer of the two or more event recognizers in accordance with the device internal state and a determination that the respective event definition does not correspond to any event definition selected for any event recognizer other than the respective event recognizer.
  4. 5
    The method of any of claims 1-4, including processing the sequence of sub-events with the first event recognizer, said processing including replacing the display of the one or more views of the plurality of views of the view hierarchy with display of one or more views of a first software application distinct from the software that includes the view hierarchy.
  5. 6
    The method of any of claims 1-4 including processing the sequence of sub-events, said processing including displaying one or more views of a first software application distinct from the software that includes the view hierarchy.
  6. 7
    An electronic device (102), comprising:a touch-sensitive display (156);one or more processors (110);and memory (111) storing a device internal state and one or more programs for execution by the one or more processors (110), the one or more programs including software that includes a view hierarchy with a plurality of views, wherein the one or more programs include instructions for: displaying one or more views of the view hierarchy;executing one or more software elements, each software element being associated with a particular view that includes one or more event recognizers, each event recognizer having: one or more event definitions based on one or more sub-events, and an event handler, wherein the event handler: specifies an action for a target, and is configured to send the action to the target in response to the event recognizer detecting an event corresponding to an event definition of the one or more event definitions;while displaying the one or more views of the view hierarchy: detecting a sequence of one or more sub-events, the sub-events corresponding to touch inputs on a touch-sensitive display (156) of the electronic device;identifying one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views;and delivering a respective sub-event to event recognizers for at least some actively involved views within the view hierarchy, wherein the at least one event recognizer for the at least some actively involved views in the view hierarchy has a plurality of event definitions, one of which is selected in accordance with the device internal state, and the at least one event recognizer processes the respective sub-event prior to processing a next sub-event in the sequence of sub events in accordance with the selected event definition, and a first event recognizer, of the at least one event recognizer for the at least some actively involved views in the view hierarchy, includes a first event handler for: sending a first action to a first target, specified for the first event recognizer, in response to the first event recognizer detecting an event corresponding to a first event definition of the plurality of event definitions when the first event definition has been selected in accordance with the device internal state, and sending the first action to the same first target, specified for the first event recognizer, in response to the first event recognizer detecting an event corresponding to a second event definition, distinct from the first event definition, of the plurality of event definitions when the second event definition has been selected in accordance with the device internal state.
  7. 9
    The device (102) of any of claims 7-8, wherein two or more event recognizers for actively involved views in the view hierarchy each have a respective plurality of event definitions, and a respective event definition of the respective plurality of event definitions is selected for a respective event recognizer of the two or more event recognizers in accordance with the device internal state and a determination that the respective event definition does not correspond to any event definition selected for any event recognizer other than the respective event recognizer.
  8. 10
    The device (102) of any of claims 7-9, including processing the sequence of sub-events with the first event recognizer, said processing including replacing the display of the one or more views of the plurality of views of the view hierarchy with display of one or more views of a first software application distinct from the software that includes the view hierarchy.
  9. 11
    The device (102) of any of claims 7-9, including processing the sequence of sub-events, said processing including displaying one or more views of a first software application distinct from the software that includes the view hierarchy.
  10. 12
    A computer readable storage medium comprising instructions which, when executed by a computer, cause the computer to carry out the steps of any of method claims 1-6.