Searched refs:newPointerIdx (Results 1 – 5 of 5) sorted by relevance
140 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local142 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()143 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()144 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()145 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
173 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local175 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()176 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()177 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()178 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
236 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local238 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()239 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()240 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()241 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
94 final int newPointerIdx = pointerIndex == 0 ? 1 : 0; in onMotionEvent() local97 mDownY = ev.getY(newPointerIdx); in onMotionEvent()98 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
313 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onTouchEvent() local315 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onTouchEvent()316 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent()317 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent()318 mActivePointerId = ev.getPointerId(newPointerIdx); in onTouchEvent()