Searched refs:newPointerIndex (Results 1 – 11 of 11) sorted by relevance
172 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onInterceptTouchEvent() local173 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex); in onInterceptTouchEvent()174 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex); in onInterceptTouchEvent()
159 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in onTouchEvent() local160 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()165 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
226 final int newPointerIndex = index == 0 ? 1 : 0; in onTouchEvent() local227 mLastTouchY = event.getY(newPointerIndex); in onTouchEvent()228 mActivePointerId = event.getPointerId(newPointerIndex); in onTouchEvent()
465 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;466 mInitialTouchX = ev.getX(newPointerIndex);467 mInitialTouchY = mLastTouchY = ev.getY(newPointerIndex);468 mActivePointerId = ev.getPointerId(newPointerIndex);
2352 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;2353 mLastMotionX = ev.getX(newPointerIndex);2354 mActivePointerId = ev.getPointerId(newPointerIndex);
322 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in handleTouchEvent() local323 mActivePointerId = ev.getPointerId(newPointerIndex); in handleTouchEvent()
885 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local886 mLastMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()887 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
817 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local818 mLastMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()819 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
4589 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local4590 mMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()4591 mMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()4593 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
392 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;393 mActivePointerId = event.getPointerId(newPointerIndex);
3901 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;3902 mLastMotionY = (int) ev.getY(newPointerIndex);3903 mActivePointerId = ev.getPointerId(newPointerIndex);