Home
last modified time | relevance | path

Searched refs:newPointerIdx (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java147 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onTouchEvent() local
149 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onTouchEvent()
150 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent()
151 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent()
152 mActivePointerId = ev.getPointerId(newPointerIdx); in onTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DAssistantTouchConsumer.java143 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
145 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()
146 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()
147 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()
148 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
DOtherActivityInputConsumer.java226 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
228 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()
229 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()
230 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()
231 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
DAccessibilityInputConsumer.java94 final int newPointerIdx = pointerIndex == 0 ? 1 : 0; in onMotionEvent() local
97 mDownY = ev.getY(newPointerIdx); in onMotionEvent()
98 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()