Home
last modified time | relevance | path

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

/frameworks/support/compat/src/main/java/androidx/core/view/
DGestureDetectorCompat.java81 MotionEvent mCurrentDownEvent; field in GestureDetectorCompat.GestureDetectorCompatImplBase
115 mListener.onShowPress(mCurrentDownEvent); in handleMessage()
126 mDoubleTapListener.onSingleTapConfirmed(mCurrentDownEvent); in handleMessage()
291 if ((mCurrentDownEvent != null) && (mPreviousUpEvent != null) in onTouchEvent()
293 mCurrentDownEvent, mPreviousUpEvent, ev)) { in onTouchEvent()
297 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent()
308 if (mCurrentDownEvent != null) { in onTouchEvent()
309 mCurrentDownEvent.recycle(); in onTouchEvent()
311 mCurrentDownEvent = MotionEvent.obtain(ev); in onTouchEvent()
320 mHandler.sendEmptyMessageAtTime(LONG_PRESS, mCurrentDownEvent.getDownTime() in onTouchEvent()
[all …]
/frameworks/base/core/java/android/view/
DGestureDetector.java248 private MotionEvent mCurrentDownEvent; field in GestureDetector
289 mListener.onShowPress(mCurrentDownEvent); in handleMessage()
300 mDoubleTapListener.onSingleTapConfirmed(mCurrentDownEvent); in handleMessage()
560 if ((mCurrentDownEvent != null) && (mPreviousUpEvent != null) in onTouchEvent()
562 && isConsideredDoubleTap(mCurrentDownEvent, mPreviousUpEvent, ev)) { in onTouchEvent()
566 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent()
577 if (mCurrentDownEvent != null) { in onTouchEvent()
578 mCurrentDownEvent.recycle(); in onTouchEvent()
580 mCurrentDownEvent = MotionEvent.obtain(ev); in onTouchEvent()
590 mCurrentDownEvent.getDownTime() + LONGPRESS_TIMEOUT); in onTouchEvent()
[all …]