Home
last modified time | relevance | path

Searched refs:mActivePointerId (Results 1 – 2 of 2) sorted by relevance

/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DVersionedGestureDetector.java97 private int mActivePointerId = INVALID_POINTER_ID; field in VersionedGestureDetector.EclairDetector
115 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
119 mActivePointerId = INVALID_POINTER_ID; in onTouchEvent()
125 if (pointerId == mActivePointerId) { in onTouchEvent()
129 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
136 mActivePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java93 private int mActivePointerId = INVALID_POINTER_ID; field in DynamicListView
253 mActivePointerId = event.getPointerId(0); in onTouchEvent()
256 if (mActivePointerId == INVALID_POINTER_ID) { in onTouchEvent()
260 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()
293 if (pointerId == mActivePointerId) { in onTouchEvent()
390 mActivePointerId = INVALID_POINTER_ID; in touchEventsEnded()
448 mActivePointerId = INVALID_POINTER_ID; in touchEventsCancelled()