Searched refs:newPointerIndex (Results 1 – 13 of 13) sorted by relevance
116 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local117 x = ev.getX(newPointerIndex); in onTouchEvent()118 y = ev.getY(newPointerIndex); in onTouchEvent()120 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
122 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local123 x = ev.getX(newPointerIndex); in onTouchEvent()124 y = ev.getY(newPointerIndex); in onTouchEvent()126 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
131 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local132 x = ev.getX(newPointerIndex); in onTouchEvent()133 y = ev.getY(newPointerIndex); in onTouchEvent()135 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
149 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onTouchEvent() local150 x = ev.getX(newPointerIndex); in onTouchEvent()151 y = ev.getY(newPointerIndex); in onTouchEvent()153 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
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()
171 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onInterceptTouchEvent() local172 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex); in onInterceptTouchEvent()173 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex); in onInterceptTouchEvent()
167 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;168 mLastTouchX = MotionEventCompat.getX(ev, newPointerIndex); 169 mLastTouchY = MotionEventCompat.getY(ev, newPointerIndex); 170 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex);
682 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local683 mLastMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()684 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
713 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local714 mLastMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()715 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
3844 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local3845 mMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()3846 mMotionY = (int) ev.getY(newPointerIndex); in onSecondaryPointerUp()3848 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
1662 final int newPointerIndex = pointerIndex == 0 ? 1 : 0; in onSecondaryPointerUp() local1663 mLastMotionX = mDownMotionX = ev.getX(newPointerIndex); in onSecondaryPointerUp()1664 mLastMotionY = ev.getY(newPointerIndex); in onSecondaryPointerUp()1666 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
2310 final int newPointerIndex = pointerIndex == 0 ? 1 : 0;2311 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex);2312 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex);