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()
160 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in onTouchEvent() local161 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()166 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
231 final int newPointerIndex = index == 0 ? 1 : 0; in onTouchEvent() local232 mLastTouchY = event.getY(newPointerIndex); in onTouchEvent()233 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);
323 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in handleTouchEvent() local324 mActivePointerId = ev.getPointerId(newPointerIndex); in handleTouchEvent()
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()
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()
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);
3945 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;3946 mLastMotionY = (int) ev.getY(newPointerIndex);3947 mActivePointerId = ev.getPointerId(newPointerIndex);