| CPC G06F 3/0416 (2013.01) [G06F 3/017 (2013.01); G06F 3/041 (2013.01); G06F 3/04186 (2019.05); G06F 3/0481 (2013.01); G06F 3/0488 (2013.01); G06F 3/04883 (2013.01); G06F 3/04886 (2013.01); G06F 3/0482 (2013.01); G06F 2203/04104 (2013.01); G06F 2203/04803 (2013.01); G06F 2203/04808 (2013.01)] | 18 Claims |

|
7. An electronic device, comprising:
memory storing one or more applications; and
a processor for executing the one or more applications stored in the memory, the one or more applications including instructions for:
consequential to detecting an input that is directed, when the input starts, to a location within a view in a user interface:
sending to a software element associated with the view a plurality of input events, wherein each input event comprises a data structure including a phase field that describes a state of the input at a respective time, and the phase field of one of the plurality of input events is set to an input phase began value indicating that the input is new;
determining whether or not the input should be ignored; and
in accordance with a determination that the input should be ignored by the electronic device, including in the plurality of input events, an input event whose phase field is set to an input phase cancel value indicating that the input has been cancelled.
|