Searched refs:newPointerIdx (Results 1 – 5 of 5) sorted by relevance
153 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onTouchEvent() local155 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onTouchEvent()156 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent()157 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent()158 mActivePointerId = ev.getPointerId(newPointerIdx); in onTouchEvent()
149 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local151 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()152 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()153 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()154 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
144 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local146 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()147 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()148 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()149 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
272 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local274 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()275 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()276 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()277 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
90 final int newPointerIdx = pointerIndex == 0 ? 1 : 0; in onMotionEvent() local93 mDownY = ev.getY(newPointerIdx); in onMotionEvent()94 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()