Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java47 private final PointF mDownPos = new PointF(); field in BaseSwipeDetector
87 return (int) mDownPos.x; in getDownX()
91 return (int) mDownPos.y; in getDownY()
133 mDownPos.set(ev.getX(), ev.getY()); in onTouchEvent()
134 mLastPos.set(mDownPos); in onTouchEvent()
148 mDownPos.set( in onTouchEvent()
149 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onTouchEvent()
150 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent()
160 mDisplacement.set(ev.getX(pointerIndex) - mDownPos.x, in onTouchEvent()
161 ev.getY(pointerIndex) - mDownPos.y); in onTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DAssistantTouchConsumer.java72 private final PointF mDownPos = new PointF(); field in AssistantTouchConsumer
128 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent()
129 mLastPos.set(mDownPos); in onMotionEvent()
144 mDownPos.set( in onMotionEvent()
145 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()
146 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()
168 if (squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y) in onMotionEvent()
176 mDownPos.x - mLastPos.x, mDownPos.y - mLastPos.y)) { in onMotionEvent()
DOtherActivityInputConsumer.java98 private final PointF mDownPos = new PointF(); field in OtherActivityInputConsumer
200 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent()
201 mLastPos.set(mDownPos); in onMotionEvent()
227 mDownPos.set( in onMotionEvent()
228 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent()
229 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()
242 float displacementX = mLastPos.x - mDownPos.x; in onMotionEvent()
260 float displacementY = mLastPos.y - mDownPos.y; in onMotionEvent()
373 mDownPos);
423 return ev.getX() - mDownPos.x;
[all …]
DOverviewWithoutFocusInputConsumer.java46 private final PointF mDownPos = new PointF(); field in OverviewWithoutFocusInputConsumer
92 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent()
97 float displacementX = ev.getX() - mDownPos.x; in onMotionEvent()
98 float displacementY = ev.getY() - mDownPos.y; in onMotionEvent()
141 float displacementX = mDisableHorizontalSwipe ? 0 : (ev.getX() - mDownPos.x); in finishTouchTracking()
142 float displacementY = ev.getY() - mDownPos.y; in finishTouchTracking()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java226 private PointF mDownPos; field in WindowTransformSwipeHandler
668 mDownPos = downPos; in onGestureEnded()
842 if (dp == null || mDownPos == null) { in doLogGesture()
852 (int) mDownPos.x, (int) mDownPos.y, in doLogGesture()