Home
last modified time | relevance | path

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

/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DVersionedGestureDetector.java122 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent() local
124 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
128 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java260 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent() local
262 mLastEventY = (int) event.getY(pointerIndex); in onTouchEvent()
290 pointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onTouchEvent()
292 final int pointerId = event.getPointerId(pointerIndex); in onTouchEvent()