Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DNavBarGestureHandler.java90 private NavBarGestureAttemptCallback mGestureCallback; field in NavBarGestureHandler
135 mGestureCallback = callback; in registerNavBarGestureAttemptCallback()
139 mGestureCallback = null; in unregisterNavBarGestureAttemptCallback()
144 if (mGestureCallback == null || mAssistantGestureActive) { in onSwipeUp()
148 mGestureCallback.onNavBarGestureAttempted(wasFling in onSwipeUp()
151 mGestureCallback.onNavBarGestureAttempted(wasFling in onSwipeUp()
159 if (mGestureCallback != null && !mAssistantGestureActive) { in onSwipeUpCancelled()
160 mGestureCallback.onNavBarGestureAttempted(HOME_OR_OVERVIEW_CANCELLED, new PointF()); in onSwipeUpCancelled()
178 if (!mTouchCameFromNavBar && mGestureCallback != null) { in onTouch()
179 mGestureCallback.setNavBarGestureProgress(null); in onTouch()
[all …]
DEdgeBackGestureHandler.java68 private BackGestureAttemptCallback mGestureCallback; field in EdgeBackGestureHandler
74 if (mGestureCallback != null) {
75 mGestureCallback.onBackGestureAttempted(mEdgeBackPanel.getIsLeftPanel()
83 if (mGestureCallback != null) {
84 mGestureCallback.onBackGestureAttempted(mEdgeBackPanel.getIsLeftPanel()
126 mGestureCallback = callback; in registerBackGestureAttemptCallback()
130 mGestureCallback = null; in unregisterBackGestureAttemptCallback()
220 if (dx > dy && dx > mTouchSlop && !mAllowGesture && mGestureCallback != null) { in onMotionEvent()
221 mGestureCallback.onBackGestureAttempted(mDisallowedGestureReason); in onMotionEvent()