×

Touch event model

  • US 8,645,827 B2
  • Filed: 03/04/2008
  • Issued: 02/04/2014
  • Est. Priority Date: 03/04/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for handling touch events at a multi-touch device, comprising:

  • displaying a user interface including a plurality of views, each view corresponding to a respective portion of the user interface;

    executing one or more software elements, each software element being associated with a particular view;

    associating a multi-touch flag with a first view of the plurality of views;

    associating an exclusive touch flag with a respective view comprising the first view or a second view, distinct from the first view, of the plurality of views;

    receiving two or more concurrent touches in at least the respective view and another view of the plurality of views;

    sending one or more touch events, each touch event describing a received touch of the two or more concurrent touches, to one or more of the software elements associated with the views at which the two or more concurrent touches were received based on at least one of the values of the multi-touch and exclusive touch flags;

    in accordance with a determination that the multi-touch flag associated with the first view indicates that the first view is a multi-touch view, enabling the first view to receive multiple concurrent touch events within the first view;

    in accordance with a determination that the multi-touch flag associated with the first view indicates that the first view is not a multi-touch view, conditionally allowing the first view to receive only one touch event describing a respective touch, of the two or more concurrent touches, within the first view;

    in accordance with a determination that the exclusive touch flag associated with the respective view indicates that the respective view is an exclusive touch view, preventing any view other than the respective view from receiving touch events while the respective view is receiving a touch event; and

    ,in accordance with a determination that the exclusive touch flag associated with the respective view indicates that the respective view is not an exclusive touch view, conditionally allowing views other than the respective view to receive touch events while the respective view is receiving a touch event.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×