Home
last modified time | relevance | path

Searched refs:OVERVIEW (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java23 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 …]
DLandscapeEdgeSwipeController.java4 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/
DLauncherActivityInterface.java19 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()
DAppToOverviewAnimationProvider.java19 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/
DTaplTestsQuickstep.java112 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()
DDigitalWellBeingToastTest.java5 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/
DQuickstepAtomicAnimationFactory.java25 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()
DOverviewModalTaskState.java37 super(id, ContainerType.OVERVIEW, STATE_FLAGS); in OverviewModalTaskState()
62 launcher.getStateManager().goToState(LauncherState.OVERVIEW); in onBackPressed()
DOverviewState.java111 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/
DNoButtonNavbarToOverviewTouchController.java21 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()
DFlingAndHoldTouchController.java21 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()
DOverviewToAllAppsTouchController.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
57 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
DNoButtonQuickSwitchTouchController.java21 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/
DAllAppsState.java66 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/
DShelfPeekAnim.java19 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/
DItemLongClickListener.java23 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()
DAbstractStateChangeTouchController.java21 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/
DShelfScrimView.java20 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/
DQuickstepOnboardingPrefs.java23 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/
DDiscoveryBounce.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
165 if (!launcher.isInState(OVERVIEW) in showForOverviewIfNeeded()
186 new DiscoveryBounce(launcher, (1 - OVERVIEW.getVerticalProgress(launcher))) in showForOverviewIfNeeded()
DAllAppsTransitionController.java6 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/
DLauncherRecentsView.java21 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/
DQuickstepLauncher.java21 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/
DOverviewScrim.java22 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/
DPredictionUiStateManager.java23 import static com.android.launcher3.LauncherState.OVERVIEW;
79 OVERVIEW("overview"); enumConstant
294 if (!launcher.isInState(OVERVIEW) && !launcher.isInState(BACKGROUND_APP)) { in canApplyPredictions()

12