Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java154 private final PointF mDownPos = new PointF(); field in SwipeDetector
198 if (Math.max(mDir.getActiveTouchSlop(ev, pointerIndex, mDownPos), mTouchSlop) in shouldScrollStart()
215 mDownPos.set(ev.getX(), ev.getY()); in onTouchEvent()
216 mLastPos.set(mDownPos); in onTouchEvent()
231 mDownPos.set( in onTouchEvent()
232 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onTouchEvent()
233 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent()
243 mDisplacement = mDir.getDisplacement(ev, pointerIndex, mDownPos); in onTouchEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsViewTouchHandler.java61 private Point mDownPos = new Point(); field in RecentsViewTouchHandler
133 float x = mDownPos.x - mTaskViewOffset.x; in onBusEvent()
134 float y = mDownPos.y - mTaskViewOffset.y; in onBusEvent()
210 mDownPos.set((int) evX, (int) evY); in handleTouchEvent()
228 mIsDragging = Math.hypot(evX - mDownPos.x, evY - mDownPos.y) > mDragSlop; in handleTouchEvent()