Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java160 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onTouchEvent() local
162 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onTouchEvent()
163 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent()
164 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent()
165 mActivePointerId = ev.getPointerId(newPointerIdx); in onTouchEvent()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DAssistantInputConsumer.java144 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
146 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()
DTaskbarUnstashInputConsumer.java170 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
172 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()
173 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()
174 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()
175 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
DAccessibilityInputConsumer.java93 final int newPointerIdx = pointerIndex == 0 ? 1 : 0; in onMotionEvent() local
96 mDownY = ev.getY(newPointerIdx); in onMotionEvent()
97 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
DOtherActivityInputConsumer.java254 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
256 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()
257 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()
258 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()
259 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()