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.java153 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onTouchEvent() local
155 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()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOverscrollInputConsumer.java149 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
151 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()
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()
DOtherActivityInputConsumer.java272 final int newPointerIdx = ptrIdx == 0 ? 1 : 0; in onMotionEvent() local
274 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()
DAccessibilityInputConsumer.java90 final int newPointerIdx = pointerIndex == 0 ? 1 : 0; in onMotionEvent() local
93 mDownY = ev.getY(newPointerIdx); in onMotionEvent()
94 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()