Lines Matching refs:pointer
62 <li>In a drag (or scroll) operation, the app has to keep track of the original pointer
66 individual pointers, it will regard the second pointer as the default and move
70 original pointer and any follow-on pointers. To do this, it tracks the
77 whenever a secondary pointer goes down or up. </li>
81 extracts this index and ensures that the active pointer ID is not referring to a
82 pointer that is no longer touching the screen. If it is, the app selects a
83 different pointer to be active and saves its current X and Y position. Since
86 calculate the distance to move using data from the correct pointer.</li>
91 position of the active pointer, calculates the distance the pointer traveled, and moves the object …
103 being performed, without including the pointer index bits.</p>
105 <pre>// The ‘active pointer’ is the one currently moving our object.
124 // Save the ID of this pointer (for dragging)
130 // Find the index of the active pointer and fetch its position
169 // This was our active pointer going up. Choose a new
170 // active pointer and adjust accordingly.