Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DAssistantTouchConsumer.java140 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
142 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()
DFallbackNoButtonInputConsumer.java173 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
175 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()
DOtherActivityInputConsumer.java236 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
238 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()
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()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSwipeDetector.java313 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onTouchEvent() local
315 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()