Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java21 import static com.android.launcher3.LauncherState.OVERVIEW;
113 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
137 } else if (fromState == OVERVIEW) { in getTargetState()
144 ? OVERVIEW : ALL_APPS; in getTargetState()
198 if (fromState == NORMAL && toState == OVERVIEW) { in getAnimatorSetBuilderForStates()
200 } else if (fromState == OVERVIEW && toState == ALL_APPS) { in getAnimatorSetBuilderForStates()
202 } else if (fromState == ALL_APPS && toState == OVERVIEW) { in getAnimatorSetBuilderForStates()
228 if (mFromState == OVERVIEW && mToState == NORMAL in initCurrentAnimation()
231 mLauncher.getStateManager().goToState(OVERVIEW, false /* animate */); in initCurrentAnimation()
282 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.java76 waitForState("Launcher internal state didn't switch to Overview", LauncherState.OVERVIEW); in testPressRecentAppsLauncherAndGetOverview()
105 isInState(LauncherState.OVERVIEW)); in testOverview()
114 assertTrue("Launcher internal state is not Overview", isInState(LauncherState.OVERVIEW)); in testOverview()
121 assertTrue("Launcher internal state is not Overview", isInState(LauncherState.OVERVIEW)); in testOverview()
140 isInState(LauncherState.OVERVIEW)); in testOverview()
160 isInState(LauncherState.OVERVIEW)); in testOverview()
207 isInState(LauncherState.OVERVIEW)); in testSwitchToOverview()
219 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/launcher3/
DLauncherAppTransitionManagerImpl.java23 import static com.android.launcher3.LauncherState.OVERVIEW;
168 if ((OVERVIEW.getVisibleElements(mLauncher) & HOTSEAT_ICONS) != 0) { in createStateElementAnimation()
170 float overviewProgress = OVERVIEW.getVerticalProgress(mLauncher); in createStateElementAnimation()
171 ScaleAndTranslation sat = OVERVIEW.getHotseatScaleAndTranslation(mLauncher); in createStateElementAnimation()
208 if ((OVERVIEW.getVisibleElements(mLauncher) & HOTSEAT_ICONS) != 0) { in createStateElementAnimation()
214 stateManager.getCurrentStableState(), OVERVIEW, builder, in createStateElementAnimation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java26 import static com.android.launcher3.LauncherState.OVERVIEW;
186 final LauncherState fromState = animateActivity ? BACKGROUND_APP : OVERVIEW;
276 LauncherState endState = OVERVIEW;
400 launcher.getStateManager().goToState(OVERVIEW,
430 return launcher != null && launcher.getStateManager().getState() == OVERVIEW &&
436 launcher.getStateManager().goToState(OVERVIEW);
/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/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DShelfPeekAnim.java20 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/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DFlingAndHoldTouchController.java22 import static com.android.launcher3.LauncherState.OVERVIEW;
130 - OVERVIEW.getVerticalProgress(mLauncher); in getAnimatorSetBuilderForStates()
148 float progressToReachOverview = OVERVIEW.getVerticalProgress(mLauncher); in getAnimatorSetBuilderForStates()
183 onSwipeInteractionCompleted(OVERVIEW, Touch.SWIPE); in onDragEnd()
DNavBarToHomeTouchController.java22 import static com.android.launcher3.LauncherState.OVERVIEW;
105 if (mStartState == OVERVIEW || mStartState == ALL_APPS) { in canInterceptTouch()
135 if (mStartState == OVERVIEW) { in initCurrentAnimation()
DOverviewToAllAppsTouchController.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
57 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
DNoButtonQuickSwitchTouchController.java22 import static com.android.launcher3.LauncherState.OVERVIEW;
194 if ((OVERVIEW.getVisibleElements(mLauncher) & HOTSEAT_ICONS) != 0) { in onMotionPauseChanged()
228 final LauncherState toState = OVERVIEW; in setupOverviewAnimators()
336 onAnimationToStateCompleted(OVERVIEW, logAction); in onDragEnd()
/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/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
105 mMaxScrimAlpha = Math.round(OVERVIEW.getOverviewScrimAlpha(mLauncher) * 255); in ShelfScrimView()
158 if ((OVERVIEW.getVisibleElements(mLauncher) & ALL_APPS_HEADER_EXTRA) == 0) { in reInitUi()
165 mMidProgress = OVERVIEW.getVerticalProgress(mLauncher); in reInitUi()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java25 import static android.stats.launcher.nano.Launcher.OVERVIEW;
79 int srcState = OVERVIEW; in logTaskLaunch()
89 int srcState = OVERVIEW; in logTaskDismiss()
239 StatsLogUtils.LAUNCHER_STATE_OVERVIEW == OVERVIEW && in verify()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java23 import static com.android.launcher3.LauncherState.OVERVIEW;
55 if (!launcher.isInState(NORMAL) && !launcher.isInState(OVERVIEW)) return false; in onWorkspaceItemLongClick()
91 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
DAbstractStateChangeTouchController.java21 import static com.android.launcher3.LauncherState.OVERVIEW;
227 return (fromState == NORMAL || fromState == OVERVIEW) in goingBetweenNormalAndOverview()
228 && (toState == NORMAL || toState == OVERVIEW) in goingBetweenNormalAndOverview()
290 } else if (mStartState == OVERVIEW) { in onDrag()
317 float threshold = toState == OVERVIEW ? ATOMIC_OVERVIEW_ANIM_THRESHOLD in maybeUpdateAtomicAnim()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
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()
DAllAppsTransitionController.java5 import static com.android.launcher3.LauncherState.OVERVIEW;
172 Interpolator interpolator = config.userControlled ? LINEAR : toState == OVERVIEW in setStateWithAnimation()
/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/uioverrides/
DRecentsUiFactory.java20 import static com.android.launcher3.LauncherState.OVERVIEW;
201 boolean visible = (state == NORMAL || state == OVERVIEW) && launcher.isUserActive() in onLauncherStateOrResumeChanged()
220 return mActivity.isInState(OVERVIEW); in isRecentsInteractive()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java21 import static com.android.launcher3.LauncherState.OVERVIEW;
111 if (state == OVERVIEW || state == ALL_APPS) { in setTranslationY()
285 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;
76 OVERVIEW("overview"); enumConstant
316 if (!launcher.isInState(OVERVIEW) && !launcher.isInState(BACKGROUND_APP)) { in canApplyPredictions()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java25 import static com.android.launcher3.LauncherState.OVERVIEW;
121 if (((swipeUpEnabled && finalState == OVERVIEW) || (!swipeUpEnabled in onCreate()
141 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.java183 newContainerTarget(ContainerType.OVERVIEW));
193 if (fromState == NORMAL && this == OVERVIEW) {

12