Home
last modified time | relevance | path

Searched refs:mGestureState (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DAbsSwipeUpHandler.java366 endRunningWindowAnim(mGestureState.getEndTarget() == HOME /* cancel */); in AbsSwipeUpHandler()
368 }, new InputProxyHandlerFactory(mContainerInterface, mGestureState)); in AbsSwipeUpHandler()
391 boolean swipeWillNotShowTaskbar = mTaskbarAlreadyOpen || mGestureState.isTrackpadGesture(); in AbsSwipeUpHandler()
463 mGestureState.runOnceAtState(STATE_END_TARGET_ANIMATION_FINISHED, in initStateCallbacks()
465 mGestureState.runOnceAtState(STATE_END_TARGET_ANIMATION_FINISHED in initStateCallbacks()
496 mGestureState.setState(STATE_RECENTS_SCROLLING_FINISHED); in onActivityInit()
528 mGestureState.runOnceAtState(STATE_RECENTS_ANIMATION_CANCELED, () -> { in onActivityInit()
532 mGestureState.consumeRecentsAnimationCanceledSnapshot(); in onActivityInit()
557 return mGestureState.getEndTarget() != HOME; in moveWindowWithRecentsScroll()
576 if (mGestureState.getEndTarget() != HOME) { in onLauncherStart()
[all …]
DTouchInteractionService.java563 private GestureState mGestureState = DEFAULT_STATE; field in TouchInteractionService
843 GestureState prevGestureState = new GestureState(mGestureState);
844 GestureState newGestureState = createGestureState(mGestureState,
847 mGestureState = newGestureState;
848 mConsumer = newConsumer(prevGestureState, mGestureState, event);
857 mGestureState = createGestureState(mGestureState,
862 mUncheckedConsumer = tryCreateAssistantInputConsumer(mGestureState, event);
922 boolean cancelGesture = mGestureState.getContainerInterface() != null
923 && mGestureState.getContainerInterface().shouldCancelCurrentGesture();
931 if (mGestureState.isTrackpadGesture() && (action == ACTION_POINTER_DOWN
[all …]
DFallbackSwipeHandler.java109 mRunningOverHome = mGestureState.getRunningTask() != null in FallbackSwipeHandler()
110 && mGestureState.getRunningTask().isHomeTask(); in FallbackSwipeHandler()
165 Intent intent = new Intent(mGestureState.getHomeIntent()); in startHomeIntent()
217 mGestureState.getRunningTask().getPlaceholderTasks(), in notifyGestureAnimationStartToRecents()
DSwipeUpAnimationLogic.java69 protected final GestureState mGestureState; field in SwipeUpAnimationLogic
91 mGestureState = gestureState; in SwipeUpAnimationLogic()
95 mTargetGluer = new RemoteTargetGluer(mContext, mGestureState.getContainerInterface()); in SwipeUpAnimationLogic()
106 mTransitionDragLength = mGestureState.getContainerInterface() in initTransitionEndpoints()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOtherActivityInputConsumer.java82 private final GestureState mGestureState; field in OtherActivityInputConsumer
133 mGestureState = gestureState; in OtherActivityInputConsumer()
194 if (mGestureState.isTrackpadGesture()) { in onMotionEvent()
204 if (mGestureState.isFourFingerTrackpadGesture()) { in onMotionEvent()
277 if (mGestureState.isTrackpadGesture() || Math.abs(displacement) in onMotionEvent()
287 boolean passedSlop = mGestureState.isTrackpadGesture() in onMotionEvent()
289 && !mGestureState.isInExtendedSlopRegion()); in onMotionEvent()
305 && (!mGestureState.isTrackpadGesture() || degrees >= -OVERVIEW_MIN_DEGREES); in onMotionEvent()
319 && mGestureState.isThreeFingerTrackpadGesture(); in onMotionEvent()
321 && mGestureState.isFourFingerTrackpadGesture(); in onMotionEvent()
[all …]
DOverviewWithoutFocusInputConsumer.java45 private final GestureState mGestureState; field in OverviewWithoutFocusInputConsumer
51 mGestureState = gestureState; in OverviewWithoutFocusInputConsumer()
82 startHomeIntentSafely(mContext, mGestureState.getHomeIntent(), null, TAG); in onSwipeUp()
84 int state = (mGestureState != null && mGestureState.getEndTarget() != null) in onSwipeUp()
85 ? mGestureState.getEndTarget().containerType in onSwipeUp()
DNavHandleLongPressInputConsumer.java65 private final GestureState mGestureState; field in NavHandleLongPressInputConsumer
87 mGestureState = gestureState; in NavHandleLongPressInputConsumer()
88 mGestureState.setIsInExtendedSlopRegion(false); in NavHandleLongPressInputConsumer()
133 mGestureState.setIsInExtendedSlopRegion(false); in handleMotionEvent()
162 mGestureState.setIsInExtendedSlopRegion(true); in handleMotionEvent()
228 mGestureState.setIsInExtendedSlopRegion(false); in cancelLongPress()
DProgressDelegateInputConsumer.java77 private final GestureState mGestureState; field in ProgressDelegateInputConsumer
96 mGestureState = gestureState; in ProgressDelegateInputConsumer()
131 Intent intent = mGestureState.getHomeIntent() in onDragStart()
132 .putExtra(INTENT_EXTRA_LOG_TRACE_ID, mGestureState.getGestureId()); in onDragStart()
133 mTaskAnimationManager.startRecentsAnimation(mGestureState, intent, this); in onDragStart()
DDeviceLockedInputConsumer.java89 private final GestureState mGestureState; field in DeviceLockedInputConsumer
117 mGestureState = gestureState; in DeviceLockedInputConsumer()
214 startHomeIntentSafely(mContext, mGestureState.getHomeIntent(), null, TAG); in finishTouchTracking()
248 Intent intent = mGestureState.getHomeIntent() in startRecentsTransition()
249 .putExtra(INTENT_EXTRA_LOG_TRACE_ID, mGestureState.getGestureId()); in startRecentsTransition()
250 mTaskAnimationManager.startRecentsAnimation(mGestureState, intent, this); in startRecentsTransition()
DOverviewInputConsumer.java51 private final GestureState mGestureState; field in OverviewInputConsumer
66 mGestureState = gestureState; in OverviewInputConsumer()
90 if (mGestureState == null || !mGestureState.isInExtendedSlopRegion()) { in onMotionEvent()
DAccessibilityInputConsumer.java50 private final GestureState mGestureState; field in AccessibilityInputConsumer
68 mGestureState = gestureState; in AccessibilityInputConsumer()
DTaskbarUnstashInputConsumer.java90 private final GestureState mGestureState; field in TaskbarUnstashInputConsumer
125 mGestureState = gestureState; in TaskbarUnstashInputConsumer()
205 && !mGestureState.isInExtendedSlopRegion()) { in onMotionEvent()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DInputProxyHandlerFactory.java35 private final GestureState mGestureState; field in InputProxyHandlerFactory
41 mGestureState = gestureState; in InputProxyHandlerFactory()
51 : new OverviewInputConsumer(mGestureState, container, null, true); in get()