Searched refs:newPointerIndex (Results 1 – 12 of 12) 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()
187 final int newPointerIndex = (pointerIndex == 0) ? 1 : 0; in onTouchEvent() local188 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()194 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
240 int newPointerIndex = 0; in cancelMotion() local251 coords[newPointerIndex] = c; in cancelMotion()255 properties[newPointerIndex] = p; in cancelMotion()256 newPointerIndex++; in cancelMotion()
535 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;536 mInitialTouchX = ev.getX(newPointerIndex);537 mInitialTouchY = mLastTouchY = ev.getY(newPointerIndex);538 mActivePointerId = ev.getPointerId(newPointerIndex);
2396 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;2397 mLastMotionX = ev.getX(newPointerIndex);2398 mActivePointerId = ev.getPointerId(newPointerIndex);
853 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local854 mLastMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()855 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
960 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local961 mLastMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()962 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
4857 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local4858 mMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()4859 mMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()4861 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
540 final int newPointerIndex = index == 0 ? 1 : 0; in onTouchEvent() local541 mLastTouchY = event.getY(newPointerIndex); in onTouchEvent()542 mActivePointerId = event.getPointerId(newPointerIndex); in onTouchEvent()
392 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;393 mActivePointerId = event.getPointerId(newPointerIndex);
3760 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local3761 mLastMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()3762 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()