Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/window/
DWindowOnBackInvokedDispatcher.java72 public final BackTouchTracker mTouchTracker = new BackTouchTracker(); field in WindowOnBackInvokedDispatcher
119 mTouchTracker.update(ev.getX(), ev.getY(), Float.NaN, Float.NaN); in onMotionEvent()
120 if (mTouchTracker.shouldUpdateStartLocation()) { in onMotionEvent()
123 mTouchTracker.updateStartLocation(); in onMotionEvent()
128 final BackMotionEvent backEvent = mTouchTracker.createProgressEvent(); in onMotionEvent()
253 return mTouchTracker.isActive(); in isBackGestureInProgress()
312 callback, mTouchTracker, mProgressAnimator, mHandler); in setTopOnBackInvokedCallback()
360 mTouchTracker.setProgressThresholds( in onConfigurationChanged()
399 private final BackTouchTracker mTouchTracker; field in WindowOnBackInvokedDispatcher.OnBackInvokedCallbackWrapper
409 mTouchTracker = touchTracker; in OnBackInvokedCallbackWrapper()
[all …]
/frameworks/base/core/tests/coretests/src/android/window/
DWindowOnBackInvokedDispatcherTest.java443 assertFalse(mDispatcher.mTouchTracker.isActive()); in handlesMotionEvent()
448 assertTrue(mDispatcher.mTouchTracker.isActive()); in handlesMotionEvent()