Searched refs:mGestureCallback (Results 1 – 2 of 2) sorted by relevance
58 private NavBarGestureAttemptCallback mGestureCallback; field in NavBarGestureHandler77 mGestureCallback = callback; in registerNavBarGestureAttemptCallback()81 mGestureCallback = null; in unregisterNavBarGestureAttemptCallback()86 if (mGestureCallback == null) { in onSwipeUp()90 mGestureCallback.onNavBarGestureAttempted(wasFling in onSwipeUp()93 mGestureCallback.onNavBarGestureAttempted(wasFling in onSwipeUp()101 if (mGestureCallback != null) { in onSwipeUpCancelled()102 mGestureCallback.onNavBarGestureAttempted(HOME_OR_OVERVIEW_CANCELLED, new PointF()); in onSwipeUpCancelled()115 if (!mTouchCameFromNavBar && mGestureCallback != null) { in onTouch()116 mGestureCallback.setNavBarGestureProgress(null); in onTouch()[all …]
71 private BackGestureAttemptCallback mGestureCallback; field in EdgeBackGestureHandler77 if (mGestureCallback != null) {78 mGestureCallback.onBackGestureAttempted(mEdgeBackPanel.getIsLeftPanel()86 if (mGestureCallback != null) {87 mGestureCallback.onBackGestureAttempted(mEdgeBackPanel.getIsLeftPanel()128 mGestureCallback = callback; in registerBackGestureAttemptCallback()132 mGestureCallback = null; in unregisterBackGestureAttemptCallback()215 mGestureCallback.onBackGestureProgress(ev.getX() - mDownPoint.x, in onMotionEvent()226 if (dx > dy && dx > mTouchSlop && !mAllowGesture && mGestureCallback != null) { in onMotionEvent()227 mGestureCallback.onBackGestureAttempted(mDisallowedGestureReason); in onMotionEvent()