Searched refs:mDownPos (Results 1 – 2 of 2) sorted by relevance
154 private final PointF mDownPos = new PointF(); field in SwipeDetector198 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()
61 private Point mDownPos = new Point(); field in RecentsViewTouchHandler133 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()