Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java620 MotionEvent mLastDown; field in MagnificationGestureHandler.DetectingState
707 && distance(mLastDown, /* move */ event) > mSwipeMinDistance) { in onMotionEvent()
739 && ((timeBetween(mLastDown, mLastUp) >= mLongTapMinDelay) in onMotionEvent()
740 || (distance(mLastDown, mLastUp) >= mSwipeMinDistance))) { in onMotionEvent()
757 && isMultiTap(mPreLastDown, mLastDown) in isMultiTapTriggered()
766 return mLastDown != null; in isFingerDown()
820 mPreLastDown = mLastDown; in cacheDelayedMotionEvent()
821 mLastDown = MotionEvent.obtain(event); in cacheDelayedMotionEvent()
859 mLastDown = null; in clearDelayedMotionEvents()
929 if (mPreLastDown == null || mLastDown == null) { in isTapOutOfDistanceSlop()
[all …]
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
DDemoModeController.java42 private final PointF mLastDown = new PointF(); field in DemoModeController
102 mLastDown.x = event.getX(); in onTouch()
103 mLastDown.y = event.getY(); in onTouch()
115 if (Math.abs(mLastDown.x - x) > mTouchSlop || Math.abs(mLastDown.y - y) > mTouchSlop) { in onTouch()