Home
last modified time | relevance | path

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

/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DVersionedGestureDetector.java128 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local
129 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
130 mLastTouchX = ev.getX(newPointerIndex); in onTouchEvent()
131 mLastTouchY = ev.getY(newPointerIndex); in onTouchEvent()