Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java20 import static com.android.launcher3.LauncherState.ALL_APPS;
72 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
95 if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
100 return ALL_APPS; in getTargetState()
110 if (fromState == NORMAL && toState == ALL_APPS) { in getConfigForStates()
112 } else if (fromState == ALL_APPS && toState == NORMAL) { in getConfigForStates()
207 if (newToState != ALL_APPS) { in onReinitToState()
218 if (toState == ALL_APPS) { in onReachedFinalState()
DNoButtonNavbarToOverviewTouchController.java22 import static com.android.launcher3.LauncherState.ALL_APPS;
140 if (mLauncher.isInState(ALL_APPS)) { in onDragStart()
218 ((mFromState == NORMAL && mToState == ALL_APPS) in updateSwipeCompleteAnimation()
219 || (mFromState == ALL_APPS && mToState == NORMAL)) && isFling) { in updateSwipeCompleteAnimation()
DNavBarToHomeTouchController.java23 import static com.android.launcher3.LauncherState.ALL_APPS;
121 if (mStartState.isRecentsViewVisible || mStartState == ALL_APPS) { in canInterceptTouch()
156 } else if (mStartState == ALL_APPS) { in initCurrentAnimation()
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DTaplOpenCloseAllAppsTest.java73 isInState(() -> LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
132 isInState(() -> LauncherState.ALL_APPS)); in testAllAppsFromHome()
149 isInState(() -> LauncherState.ALL_APPS)); in runAllAppsTest()
158 isInState(() -> LauncherState.ALL_APPS)); in runAllAppsTest()
168 isInState(() -> LauncherState.ALL_APPS)); in runAllAppsTest()
185 isInState(() -> LauncherState.ALL_APPS)); in runAllAppsTest()
DTaplKeyboardFocusTest.java47 isInState(() -> LauncherState.ALL_APPS)); in testAllAppsFocusApp()
62 isInState(() -> LauncherState.ALL_APPS)); in testAllAppsExitSearchAndFocusApp()
81 isInState(() -> LauncherState.ALL_APPS)); in testAllAppsExitSearchAndFocusSearchResults()
DTaplAllAppsIconsWorkingTest.java44 isInState(() -> LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromHome()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DLauncherAllAppsContainerView.java50 return mActivityContext.getStateManager().isInStableState(LauncherState.ALL_APPS); in isInAllApps()
101 if (stateManager.getCurrentStableState() == LauncherState.ALL_APPS in getFloatingSearchBarRestingMarginStart()
103 return LauncherState.ALL_APPS.getFloatingSearchBarRestingMarginStart(mActivityContext); in getFloatingSearchBarRestingMarginStart()
123 if (stateManager.getCurrentStableState() == LauncherState.ALL_APPS in getFloatingSearchBarRestingMarginEnd()
125 return LauncherState.ALL_APPS.getFloatingSearchBarRestingMarginEnd(mActivityContext); in getFloatingSearchBarRestingMarginEnd()
DAllAppsTransitionController.java23 import static com.android.launcher3.LauncherState.ALL_APPS;
282 if (!mLauncher.isInState(ALL_APPS) || !NORMAL.equals(toState)) { in onBackProgressed()
352 if (mLauncher.isInState(ALL_APPS) && !ALL_APPS.equals(toState)) {
364 if (toState == ALL_APPS) {
394 if (ALL_APPS.equals(toState) && mLauncher.isInState(NORMAL) &&
423 && (ALL_APPS == state || mLauncher.getStateManager().getState() == ALL_APPS); in setAlphas()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java22 import static com.android.launcher3.LauncherState.ALL_APPS;
219 if (mFromState == LauncherState.ALL_APPS) { in onDrag()
230 if (mToState == LauncherState.ALL_APPS) { in onDrag()
247 if (mStartState == ALL_APPS) { in onDrag()
311 && (mToState == ALL_APPS || mFromState == ALL_APPS)) { in onDragEnd()
314 && mToState == ALL_APPS && mFromState == NORMAL) { in onDragEnd()
317 && mToState == NORMAL && mFromState == ALL_APPS) { in onDragEnd()
365 if (targetState == LauncherState.ALL_APPS) { in onDragEnd()
DAllAppsSwipeController.java27 import static com.android.launcher3.LauncherState.ALL_APPS;
157 if (!mLauncher.isInState(NORMAL) && !mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
161 if (mLauncher.isInState(ALL_APPS) && !mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch()
170 return ALL_APPS; in getTargetState()
171 } else if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
196 if (fromState == NORMAL && toState == ALL_APPS) { in getConfigForStates()
198 } else if (fromState == ALL_APPS && toState == NORMAL) { in getConfigForStates()
DWorkspaceTouchListener.java24 import static com.android.launcher3.LauncherState.ALL_APPS;
132 boolean isInAllAppsBottomSheet = mLauncher.isInState(ALL_APPS) in onTouch()
171 .withSrcState(ALL_APPS.statsLogOrdinal) in onTouch()
DItemLongClickListener.java21 import static com.android.launcher3.LauncherState.ALL_APPS;
150 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DQuickstepOnboardingPrefs.java20 import static com.android.launcher3.LauncherState.ALL_APPS;
62 && finalState == ALL_APPS && prevState == NORMAL) || in setup()
78 mFromAllApps = launcher.getStateManager().getCurrentStableState() == ALL_APPS; in setup()
130 if (finalState == ALL_APPS) { in setup()
144 if (finalState == ALL_APPS) { in setup()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/
DTaskbarOverlayController.java24 import static com.android.launcher3.LauncherState.ALL_APPS;
174 return ALL_APPS.getTransitionDuration(mTaskbarContext, true); in getOpenDuration()
179 return ALL_APPS.getTransitionDuration(mTaskbarContext, false); in getCloseDuration()
/packages/apps/Launcher3/tests/src/com/android/launcher3/
DLauncherIntentTest.java61 isInState(() -> LauncherState.ALL_APPS)); in moveToSearchView()
78 isInState(() -> LauncherState.ALL_APPS)); in assertOnMainAdapterAToZView()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DQuickstepAtomicAnimationFactory.java34 import static com.android.launcher3.LauncherState.ALL_APPS;
210 } else if (fromState == ALL_APPS && toState == NORMAL) { in prepareForAtomicAnimation()
212 } else if (fromState == NORMAL && toState == ALL_APPS) { in prepareForAtomicAnimation()
221 } else if ((fromState == NORMAL || fromState == ALL_APPS) in prepareForAtomicAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DAccessibilityActionsView.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
83 l.getStateManager().goToState(ALL_APPS); in performAccessibilityAction()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DKeyboardShortcutsDelegate.java18 import static com.android.launcher3.LauncherState.ALL_APPS;
86 mLauncher.getStateManager().goToState(ALL_APPS); in onKeyShortcut()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherActivityInterface.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
381 case ALL_APPS: in stateFromGestureEndTarget()
382 return ALL_APPS; in stateFromGestureEndTarget()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/customization/
DTaskbarContainer.kt21 ALL_APPS,
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DAllAppsSession.java94 ALL_APPS, enumConstant
147 case ALL_APPS: in getFilter()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplPrivateSpaceTest.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
69 () -> ALL_APPS); in setUp()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplWorkProfileTest.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
100 () -> ALL_APPS); in setUp()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DLauncherRecentsView.java20 import static com.android.launcher3.LauncherState.ALL_APPS;
174 || finalState == ALL_APPS) { in onStateTransitionComplete()
DAllAppsEduView.java21 import static com.android.launcher3.LauncherState.ALL_APPS;
303 mToState = ALL_APPS; in initAllAppsAnimation()

12