Searched refs:mDownPos (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | BaseSwipeDetector.java | 47 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/ |
D | AssistantTouchConsumer.java | 72 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()
|
D | OtherActivityInputConsumer.java | 98 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 …]
|
D | OverviewWithoutFocusInputConsumer.java | 46 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/ |
D | WindowTransformSwipeHandler.java | 226 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()
|