/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 23 import static com.android.launcher3.LauncherState.OVERVIEW; 116 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch() 147 } else if (fromState == OVERVIEW) { in getTargetState() 155 positiveDragTarget = OVERVIEW; in getTargetState() 166 ? OVERVIEW : ALL_APPS; in getTargetState() 220 if (fromState == NORMAL && toState == OVERVIEW) { in getConfigForStates() 222 } else if (fromState == OVERVIEW && toState == ALL_APPS) { in getConfigForStates() 224 } else if (fromState == ALL_APPS && toState == OVERVIEW) { in getConfigForStates() 253 if (mFromState == OVERVIEW && mToState == NORMAL in initCurrentAnimation() 256 mLauncher.getStateManager().goToState(OVERVIEW, false /* animate */); in initCurrentAnimation() [all …]
|
D | LandscapeEdgeSwipeController.java | 4 import static com.android.launcher3.LauncherState.OVERVIEW; 45 return draggingFromNav ? OVERVIEW : NORMAL; in getTargetState() 75 if (mStartState == NORMAL && targetState == OVERVIEW) { in onSwipeInteractionCompleted()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | LauncherActivityInterface.java | 19 import static com.android.launcher3.LauncherState.OVERVIEW; 71 super(true, OVERVIEW, BACKGROUND_APP); in LauncherActivityInterface() 143 OVERVIEW.getVerticalProgress(activity))); in prepareRecentsUI() 148 float toDepthRatio = OVERVIEW.getDepth(activity); in prepareRecentsUI() 224 launcher.getStateManager().goToState(OVERVIEW, in switchToRecentsIfVisible() 271 PredictionUiStateManager.Client.OVERVIEW); in updateOverviewPredictionState() 284 return launcher != null && launcher.getStateManager().getState() == OVERVIEW && in isInLiveTileMode() 294 launcher.getStateManager().goToState(OVERVIEW); in onLaunchTaskFailed()
|
D | AppToOverviewAnimationProvider.java | 19 import static com.android.launcher3.LauncherState.OVERVIEW; 118 OVERVIEW.getDepth(mActivity), TOUCH_RESPONSE_INTERPOLATOR); in createWindowAnimation()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 112 isInState(() -> LauncherState.OVERVIEW)); in testOverview() 122 isInState(() -> LauncherState.OVERVIEW)); in testOverview() 130 isInState(() -> LauncherState.OVERVIEW)); in testOverview() 149 isInState(() -> LauncherState.OVERVIEW)); in testOverview() 169 isInState(() -> LauncherState.OVERVIEW)); in testOverview() 221 isInState(() -> LauncherState.OVERVIEW)); in testSwitchToOverview() 233 isInState(() -> LauncherState.OVERVIEW)); in testBackground()
|
D | DigitalWellBeingToastTest.java | 5 import static com.android.launcher3.LauncherState.OVERVIEW; 74 executeOnLauncher(launcher -> launcher.getStateManager().goToState(OVERVIEW)); in getToast() 75 waitForState("Launcher internal state didn't switch to Overview", () -> OVERVIEW); in getToast()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/ |
D | QuickstepAtomicAnimationFactory.java | 25 import static com.android.launcher3.LauncherState.OVERVIEW; 111 if ((OVERVIEW.getVisibleElements(mActivity) & HOTSEAT_ICONS) != 0) { in createStateElementAnimation() 113 float overviewProgress = OVERVIEW.getVerticalProgress(mActivity); in createStateElementAnimation() 114 ScaleAndTranslation sat = OVERVIEW.getHotseatScaleAndTranslation(mActivity); in createStateElementAnimation() 144 if ((OVERVIEW.getVisibleElements(mActivity) & HOTSEAT_ICONS) != 0) { in createStateElementAnimation() 151 stateManager.getCurrentStableState(), OVERVIEW, config); in createStateElementAnimation() 161 if (toState == NORMAL && fromState == OVERVIEW) { in prepareForAtomicAnimation() 204 } else if ((fromState == NORMAL || fromState == HINT_STATE) && toState == OVERVIEW) { in prepareForAtomicAnimation()
|
D | OverviewModalTaskState.java | 37 super(id, ContainerType.OVERVIEW, STATE_FLAGS); in OverviewModalTaskState() 62 launcher.getStateManager().goToState(LauncherState.OVERVIEW); in onBackPressed()
|
D | OverviewState.java | 111 if (this == OVERVIEW && ENABLE_OVERVIEW_ACTIONS.get() in getQsbScaleAndTranslation() 183 newContainerTarget(ContainerType.OVERVIEW));
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NoButtonNavbarToOverviewTouchController.java | 21 import static com.android.launcher3.LauncherState.OVERVIEW; 98 } else if (fromState == OVERVIEW && isDragTowardPositive) { in getTargetState() 100 return OVERVIEW; in getTargetState() 162 mLauncher.getStateManager().goToState(OVERVIEW, true, () -> { in onMotionPauseChanged() 172 onSwipeInteractionCompleted(OVERVIEW, Touch.SWIPE); in maybeSwipeInteractionToOverviewComplete() 234 config.duration = OVERVIEW.getTransitionDuration(mLauncher); in goToOverviewOnDragEnd()
|
D | FlingAndHoldTouchController.java | 21 import static com.android.launcher3.LauncherState.OVERVIEW; 149 - OVERVIEW.getVerticalProgress(mLauncher); in getConfigForStates() 167 float progressToReachOverview = OVERVIEW.getVerticalProgress(mLauncher); in getConfigForStates() 220 onSwipeInteractionCompleted(OVERVIEW, Touch.SWIPE); in goToOverviewOnDragEnd()
|
D | OverviewToAllAppsTouchController.java | 20 import static com.android.launcher3.LauncherState.OVERVIEW; 57 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
|
D | NoButtonQuickSwitchTouchController.java | 21 import static com.android.launcher3.LauncherState.OVERVIEW; 202 if ((OVERVIEW.getVisibleElements(mLauncher) & HOTSEAT_ICONS) != 0) { in onMotionPauseChanged() 244 final LauncherState toState = OVERVIEW; in setupOverviewAnimators() 328 onAnimationToStateCompleted(OVERVIEW, logAction); in onDragEnd()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | AllAppsState.java | 66 ScaleAndTranslation scaleAndTranslation = LauncherState.OVERVIEW in getWorkspaceScaleAndTranslation() 100 return previousState == OVERVIEW ? OVERVIEW : NORMAL; in getHistoryForState()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | ShelfPeekAnim.java | 19 import static com.android.launcher3.LauncherState.OVERVIEW; 62 float shelfOverviewProgress = OVERVIEW.getVerticalProgress(mLauncher); in setShelfState() 97 HIDE(true), PEEK(true), OVERVIEW(false), CANCEL(false); enumConstant
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemLongClickListener.java | 23 import static com.android.launcher3.LauncherState.OVERVIEW; 54 if (!launcher.isInState(NORMAL) && !launcher.isInState(OVERVIEW)) return false; in onWorkspaceItemLongClick() 86 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
|
D | AbstractStateChangeTouchController.java | 21 import static com.android.launcher3.LauncherState.OVERVIEW; 240 return (fromState == NORMAL || fromState == OVERVIEW) in goingBetweenNormalAndOverview() 241 && (toState == NORMAL || toState == OVERVIEW) in goingBetweenNormalAndOverview() 308 } else if (mStartState == OVERVIEW) { in onDrag() 338 float threshold = toState == OVERVIEW ? ATOMIC_OVERVIEW_ANIM_THRESHOLD in maybeUpdateAtomicAnim()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ShelfScrimView.java | 20 import static com.android.launcher3.LauncherState.OVERVIEW; 110 mMaxScrimAlpha = Math.round(OVERVIEW.getOverviewScrimAlpha(mLauncher) * 255); in ShelfScrimView() 166 if ((OVERVIEW.getVisibleElements(mLauncher) & ALL_APPS_HEADER_EXTRA) == 0) { in reInitUi() 179 mMidProgress = OVERVIEW.getVerticalProgress(mLauncher); in reInitUi()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | QuickstepOnboardingPrefs.java | 23 import static com.android.launcher3.LauncherState.OVERVIEW; 58 if (((swipeUpEnabled && finalState == OVERVIEW) || (!swipeUpEnabled in QuickstepOnboardingPrefs() 81 if ((finalState == ALL_APPS && prevState == OVERVIEW) || in QuickstepOnboardingPrefs()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | DiscoveryBounce.java | 20 import static com.android.launcher3.LauncherState.OVERVIEW; 165 if (!launcher.isInState(OVERVIEW) in showForOverviewIfNeeded() 186 new DiscoveryBounce(launcher, (1 - OVERVIEW.getVerticalProgress(launcher))) in showForOverviewIfNeeded()
|
D | AllAppsTransitionController.java | 6 import static com.android.launcher3.LauncherState.OVERVIEW; 175 Interpolator interpolator = config.userControlled ? LINEAR : toState == OVERVIEW in setStateWithAnimation()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 21 import static com.android.launcher3.LauncherState.OVERVIEW; 122 if (state == OVERVIEW || state == ALL_APPS) { in setTranslationY() 257 setOverlayEnabled(finalState == OVERVIEW || finalState == OVERVIEW_MODAL_TASK); in onStateTransitionComplete() 363 mActivity.getStateManager().goToState(LauncherState.OVERVIEW); in setModalStateEnabled()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/ |
D | QuickstepLauncher.java | 21 import static com.android.launcher3.LauncherState.OVERVIEW; 187 boolean visible = (state == NORMAL || state == OVERVIEW) in onStateOrResumeChanging() 245 getStateManager().goToState(OVERVIEW); in onStateSetEnd() 321 return mActivity.isInState(OVERVIEW) || mActivity.isInState(OVERVIEW_MODAL_TASK); in isRecentsInteractive()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | OverviewScrim.java | 22 import static com.android.launcher3.LauncherState.OVERVIEW; 48 mStableScrimmedView = (OVERVIEW.getVisibleElements(mLauncher) & HOTSEAT_ICONS) != 0 in onInsetsChanged()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionUiStateManager.java | 23 import static com.android.launcher3.LauncherState.OVERVIEW; 79 OVERVIEW("overview"); enumConstant 294 if (!launcher.isInState(OVERVIEW) && !launcher.isInState(BACKGROUND_APP)) { in canApplyPredictions()
|