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.java21 import static com.android.launcher3.LauncherState.OVERVIEW;
114 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
138 } else if (fromState == OVERVIEW) { in getTargetState()
145 ? OVERVIEW : ALL_APPS; in getTargetState()
185 if (fromState == NORMAL && toState == OVERVIEW) { in getAnimatorSetBuilderForStates()
187 } else if (fromState == OVERVIEW && toState == ALL_APPS) { in getAnimatorSetBuilderForStates()
189 } else if (fromState == ALL_APPS && toState == OVERVIEW) { in getAnimatorSetBuilderForStates()
211 if (mFromState == OVERVIEW && mToState == NORMAL in initCurrentAnimation()
214 mLauncher.getStateManager().goToState(OVERVIEW, false /* animate */); in initCurrentAnimation()
265 if (QUICKSTEP_SPRINGS.get() && mFromState == OVERVIEW && mToState == ALL_APPS in handleFirstSwipeToOverview()
[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/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java75 waitForState("Launcher internal state didn't switch to Overview", LauncherState.OVERVIEW); in testPressRecentAppsLauncherAndGetOverview()
104 isInState(LauncherState.OVERVIEW)); in testOverview()
113 assertTrue("Launcher internal state is not Overview", isInState(LauncherState.OVERVIEW)); in testOverview()
120 assertTrue("Launcher internal state is not Overview", isInState(LauncherState.OVERVIEW)); in testOverview()
139 isInState(LauncherState.OVERVIEW)); in testOverview()
159 isInState(LauncherState.OVERVIEW)); in testOverview()
206 isInState(LauncherState.OVERVIEW)); in testSwitchToOverview()
223 isInState(LauncherState.OVERVIEW)); in testBackground()
DDigitalWellBeingToastTest.java5 import static com.android.launcher3.LauncherState.OVERVIEW;
70 executeOnLauncher(launcher -> launcher.getStateManager().goToState(OVERVIEW)); in getToast()
71 waitForState("Launcher internal state didn't switch to Overview", OVERVIEW); in getToast()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java26 import static com.android.launcher3.LauncherState.OVERVIEW;
208 final LauncherState fromState = animateActivity ? BACKGROUND_APP : OVERVIEW;
256 float shelfOverviewProgress = OVERVIEW.getVerticalProgress(activity);
332 LauncherState endState = OVERVIEW;
453 launcher.getStateManager().goToState(OVERVIEW,
483 return launcher != null && launcher.getStateManager().getState() == OVERVIEW &&
489 launcher.getStateManager().goToState(OVERVIEW);
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DFlingAndHoldTouchController.java22 import static com.android.launcher3.LauncherState.OVERVIEW;
151 if ((OVERVIEW.getVisibleElements(mLauncher) & HOTSEAT_ICONS) != 0) { in onDragEnd()
156 NORMAL, OVERVIEW, builder, ANIM_ALL, ATOMIC_DURATION); in onDragEnd()
160 onSwipeInteractionCompleted(OVERVIEW, Touch.SWIPE); in onDragEnd()
DNavBarToHomeTouchController.java22 import static com.android.launcher3.LauncherState.OVERVIEW;
98 if (mStartState == OVERVIEW || mStartState == ALL_APPS) { in canInterceptTouch()
124 if (mStartState == OVERVIEW) { in initCurrentAnimation()
DOverviewToAllAppsTouchController.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
57 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DAllAppsState.java65 ScaleAndTranslation scaleAndTranslation = LauncherState.OVERVIEW in getWorkspaceScaleAndTranslation()
95 return previousState == OVERVIEW ? OVERVIEW : NORMAL; in getHistoryForState()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DLauncherActivityControllerHelper.java19 import static com.android.launcher3.LauncherState.OVERVIEW;
49 fromState, OVERVIEW, transitionLength)); in prepareRecentsUI()
96 launcher.getStateManager().goToState(OVERVIEW,
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java7 import static com.android.launcher3.LauncherState.OVERVIEW;
139 if ((OVERVIEW.getVisibleElements(mLauncher) & HOTSEAT_ICONS) != 0) { in setProgress()
141 float overviewProgress = OVERVIEW.getVerticalProgress(mLauncher); in setProgress()
188 Interpolator interpolator = config.userControlled ? LINEAR : toState == OVERVIEW in setStateWithAnimation()
DDiscoveryBounce.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
170 if (!launcher.isInState(OVERVIEW) in showForOverviewIfNeeded()
191 new DiscoveryBounce(launcher, (1 - OVERVIEW.getVerticalProgress(launcher))) in showForOverviewIfNeeded()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java29 import static android.stats.launcher.nano.Launcher.OVERVIEW;
71 int srcState = OVERVIEW; in logTaskLaunch()
99 StatsLogUtils.LAUNCHER_STATE_OVERVIEW == OVERVIEW && in verify()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java22 import static com.android.launcher3.LauncherState.OVERVIEW;
50 if (!launcher.isInState(NORMAL) && !launcher.isInState(OVERVIEW)) return false; in onWorkspaceItemLongClick()
80 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
DAbstractStateChangeTouchController.java21 import static com.android.launcher3.LauncherState.OVERVIEW;
236 return (fromState == NORMAL || fromState == OVERVIEW) in goingBetweenNormalAndOverview()
237 && (toState == NORMAL || toState == OVERVIEW) in goingBetweenNormalAndOverview()
251 } else if (mStartState == OVERVIEW){ in onDragStart()
323 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;
98 mMaxScrimAlpha = Math.round(OVERVIEW.getWorkspaceScrimAlpha(mLauncher) * 255); in ShelfScrimView()
151 if ((OVERVIEW.getVisibleElements(mLauncher) & ALL_APPS_HEADER_EXTRA) == 0) { in reInitUi()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java21 import static com.android.launcher3.LauncherState.OVERVIEW;
86 if (state == OVERVIEW || state == ALL_APPS) { in setTranslationY()
241 setOverlayEnabled(finalState == OVERVIEW); in onStateTransitionComplete()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
69 OVERVIEW("overview"); enumConstant
306 if (!launcher.isInState(OVERVIEW) && !launcher.isInState(BACKGROUND_APP)) { in canApplyPredictions()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
196 boolean visible = (state == NORMAL || state == OVERVIEW) && launcher.isUserActive() in onLauncherStateOrResumeChanged()
215 return mActivity.isInState(OVERVIEW); in isRecentsInteractive()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java25 import static com.android.launcher3.LauncherState.OVERVIEW;
117 if (((swipeUpEnabled && finalState == OVERVIEW) || (!swipeUpEnabled in onCreate()
137 if ((finalState == ALL_APPS && prevState == OVERVIEW) || BOUNCE_MAX_COUNT <= in onCreate()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java174 newContainerTarget(ContainerType.OVERVIEW));
184 if (fromState == NORMAL && this == OVERVIEW) {
DQuickSwitchState.java58 launcher.getStateManager().goToState(OVERVIEW); in onStateTransitionEnd()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherState.java109 public static final LauncherState OVERVIEW = new OverviewState(OVERVIEW_STATE_ORDINAL); field in LauncherState
294 if (this == NORMAL && fromState == OVERVIEW) {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/
DLauncherInitListenerEx.java31 PredictionUiStateManager.INSTANCE.get(launcher).switchClient(Client.OVERVIEW); in init()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DOverview.java38 return LauncherInstrumentation.ContainerType.OVERVIEW; in getContainerType()

12