Home
last modified time | relevance | path

Searched refs:ALL_APPS (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
108 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
133 if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
138 return isDragTowardPositive ? ALL_APPS : NORMAL; in getTargetState()
144 ? OVERVIEW : ALL_APPS; in getTargetState()
200 } else if (fromState == OVERVIEW && toState == ALL_APPS) { in getAnimatorSetBuilderForStates()
202 } else if (fromState == ALL_APPS && toState == OVERVIEW) { in getAnimatorSetBuilderForStates()
204 } else if (fromState == NORMAL && toState == ALL_APPS) { in getAnimatorSetBuilderForStates()
206 } else if (fromState == ALL_APPS && toState == NORMAL) { in getAnimatorSetBuilderForStates()
282 if (QUICKSTEP_SPRINGS.get() && mFromState == OVERVIEW && mToState == ALL_APPS in handleFirstSwipeToOverview()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DAllAppsSwipeController.java3 import static com.android.launcher3.LauncherState.ALL_APPS;
39 if (!mLauncher.isInState(NORMAL) && !mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
43 if (mLauncher.isInState(ALL_APPS) && !mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch()
52 return ALL_APPS; in getTargetState()
53 } else if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DLandscapeStatesTouchController.java18 import static com.android.launcher3.LauncherState.ALL_APPS;
46 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
58 if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
61 return ALL_APPS; in getTargetState()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DOverviewToAllAppsTouchController.java18 import static com.android.launcher3.LauncherState.ALL_APPS;
52 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
67 if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
72 return ALL_APPS; in getTargetState()
DFlingAndHoldTouchController.java20 import static com.android.launcher3.LauncherState.ALL_APPS;
126 if (fromState == NORMAL && toState == ALL_APPS) { in getAnimatorSetBuilderForStates()
145 } else if (fromState == ALL_APPS && toState == NORMAL) { in getAnimatorSetBuilderForStates()
DNavBarToHomeTouchController.java20 import static com.android.launcher3.LauncherState.ALL_APPS;
105 if (mStartState == OVERVIEW || mStartState == ALL_APPS) { in canInterceptTouch()
144 } else if (mStartState == ALL_APPS) { in initCurrentAnimation()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplTestsLauncher3.java126 test.isInState(LauncherState.ALL_APPS)); in runAllAppsTest()
135 test.isInState(LauncherState.ALL_APPS)); in runAllAppsTest()
145 test.isInState(LauncherState.ALL_APPS)); in runAllAppsTest()
162 test.isInState(LauncherState.ALL_APPS)); in runAllAppsTest()
173 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
234 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromHome()
DWorkTabTest.java18 import static com.android.launcher3.LauncherState.ALL_APPS;
58 executeOnLauncher(launcher -> launcher.getStateManager().goToState(ALL_APPS)); in workTabExists()
DAbstractLauncherUiTest.java436 case ALL_APPS: { in checkLauncherIntegrity()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java87 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
155 isInState(LauncherState.ALL_APPS)); in testOverview()
166 isInState(LauncherState.ALL_APPS)); in testOverview()
195 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromOverview()
242 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testAllAppsFromHome()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DAllAppsTipView.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
152 || !launcher.isInState(ALL_APPS) in showAllAppsTipIfNecessary()
198 if (finalState == ALL_APPS) { in scheduleShowIfNeeded()
DAppsDividerView.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
257 if (finalState == ALL_APPS) { in onStateTransitionComplete()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
286 if (mStartState == ALL_APPS) { in onDrag()
390 float successProgress = mToState == ALL_APPS in onDragEnd()
437 if (fling && targetState == LauncherState.ALL_APPS && !QUICKSTEP_SPRINGS.get()) { in onDragEnd()
DItemLongClickListener.java21 import static com.android.launcher3.LauncherState.ALL_APPS;
91 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java23 import static com.android.launcher3.LauncherState.ALL_APPS;
122 && finalState == ALL_APPS && prevState == NORMAL) || BOUNCE_MAX_COUNT <= in onCreate()
141 if ((finalState == ALL_APPS && prevState == OVERVIEW) || BOUNCE_MAX_COUNT <= in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java70 - LauncherState.ALL_APPS.getVerticalProgress(mLauncher); in call()
80 - LauncherState.ALL_APPS.getVerticalProgress(mLauncher); in call()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java23 import static com.android.launcher3.LauncherState.ALL_APPS;
381 setImportantForAccessibility(finalState == ALL_APPS in handleStateChangedComplete()
438 mLauncher.getStateManager().goToState(ALL_APPS); in onPerformActionForVirtualView()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java18 import static com.android.launcher3.LauncherState.ALL_APPS;
111 if (state == OVERVIEW || state == ALL_APPS) { in setTranslationY()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java84 ALL_APPS(R.string.app_launcher_title_all_apps, enumConstant
193 return mode != null ? Mode.valueOf(mode) : Mode.ALL_APPS; in parseMode()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java23 import static com.android.launcher3.LauncherState.ALL_APPS;
357 if (mLauncher.isInState(ALL_APPS)) { in getLauncherContentAnimator()
707 if (mLauncher.isInState(LauncherState.ALL_APPS)) {
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java26 import static com.android.launcher3.LauncherState.ALL_APPS;
1815 if (mStateManager.getState() == LauncherState.ALL_APPS) { in getCurrentState()
1833 if (state == LauncherState.ALL_APPS) { in modifyUserEvent()
2300 if (!isInState(ALL_APPS)) { in executeOnNextDraw()
2550 getStateManager().goToState(ALL_APPS); in onKeyShortcut()
DLauncherState.java107 public static final LauncherState ALL_APPS = new AllAppsState(ALL_APPS_STATE_ORDINAL); field in LauncherState
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java58 return LauncherInstrumentation.ContainerType.ALL_APPS; in getContainerType()
DLauncherInstrumentation.java95 WORKSPACE, ALL_APPS, OVERVIEW, WIDGETS, BACKGROUND, FALLBACK_OVERVIEW enumConstant
464 case ALL_APPS: { in verifyVisibleObjects()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java200 if (!mLauncher.isInState(LauncherState.ALL_APPS)) { in onInterceptTouchEvent()

12