Searched refs:mDisplacement (Results 1 – 1 of 1) sorted by relevance
61 private PointF mDisplacement = new PointF(); field in BaseSwipeDetector142 mDisplacement.set(0, 0); in onTouchEvent()166 mDisplacement.set(ev.getX(pointerIndex) - mDownPos.x, in onTouchEvent()169 mDisplacement.x = -mDisplacement.x; in onTouchEvent()173 if (mState != ScrollState.DRAGGING && shouldScrollStart(mDisplacement)) { in onTouchEvent()237 mSubtractDisplacement.x = mDisplacement.x > 0 ? mTouchSlop : -mTouchSlop; in initializeDragging()238 mSubtractDisplacement.y = mDisplacement.y > 0 ? mTouchSlop : -mTouchSlop; in initializeDragging()254 if (mDisplacement != mLastDisplacement) { in reportDragging()256 Log.d(TAG, String.format("onDrag disp=%s", mDisplacement)); in reportDragging()259 mLastDisplacement.set(mDisplacement); in reportDragging()[all …]