Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
109 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
134 if (fromState == ALL_APPS && !isDragTowardPositive) { in getTargetState()
139 return isDragTowardPositive ? ALL_APPS : NORMAL; in getTargetState()
145 ? OVERVIEW : ALL_APPS; in getTargetState()
187 } else if (fromState == OVERVIEW && toState == ALL_APPS) { in getAnimatorSetBuilderForStates()
189 } else if (fromState == ALL_APPS && toState == OVERVIEW) { in getAnimatorSetBuilderForStates()
265 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()
DNavBarToHomeTouchController.java20 import static com.android.launcher3.LauncherState.ALL_APPS;
98 if (mStartState == OVERVIEW || mStartState == ALL_APPS) { in canInterceptTouch()
133 } else if (mStartState == ALL_APPS) { in initCurrentAnimation()
DFlingAndHoldTouchController.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
121 if (fromState == NORMAL && toState == ALL_APPS) { in getAnimatorSetBuilderForStates()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplTestsLauncher3.java124 test.isInState(LauncherState.ALL_APPS)); in runAllAppsTest()
133 test.isInState(LauncherState.ALL_APPS)); in runAllAppsTest()
143 test.isInState(LauncherState.ALL_APPS)); in runAllAppsTest()
160 test.isInState(LauncherState.ALL_APPS)); in runAllAppsTest()
171 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
231 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()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java86 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
154 isInState(LauncherState.ALL_APPS)); in testOverview()
165 isInState(LauncherState.ALL_APPS)); in testOverview()
194 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromOverview()
236 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/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java23 import static com.android.launcher3.LauncherState.ALL_APPS;
118 && finalState == ALL_APPS && prevState == NORMAL) || BOUNCE_MAX_COUNT <= in onCreate()
137 if ((finalState == ALL_APPS && prevState == OVERVIEW) || BOUNCE_MAX_COUNT <= in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java19 import static com.android.launcher3.LauncherState.ALL_APPS;
247 if (mStartState == ALL_APPS) { in onDragStart()
398 float successProgress = mToState == ALL_APPS in onDragEnd()
448 if (fling && targetState == LauncherState.ALL_APPS && !QUICKSTEP_SPRINGS.get()) { in onDragEnd()
DItemLongClickListener.java20 import static com.android.launcher3.LauncherState.ALL_APPS;
80 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java61 - LauncherState.ALL_APPS.getVerticalProgress(mLauncher); in call()
71 - LauncherState.ALL_APPS.getVerticalProgress(mLauncher); in call()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java21 import static com.android.launcher3.LauncherState.ALL_APPS;
378 setImportantForAccessibility(finalState == ALL_APPS in handleStateChangedComplete()
435 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;
86 if (state == OVERVIEW || state == ALL_APPS) { in setTranslationY()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java23 import static com.android.launcher3.LauncherState.ALL_APPS;
348 if (mLauncher.isInState(ALL_APPS)) { in getLauncherContentAnimator()
698 if (mLauncher.isInState(LauncherState.ALL_APPS)) {
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java25 import static com.android.launcher3.LauncherState.ALL_APPS;
1784 if(mStateManager.getState() == LauncherState.ALL_APPS) { in getCurrentState()
1802 if (state == LauncherState.ALL_APPS) { in modifyUserEvent()
2264 if (!isInState(ALL_APPS)) { in executeOnNextDraw()
2522 getStateManager().goToState(ALL_APPS); in onKeyShortcut()
DLauncherState.java107 public static final LauncherState ALL_APPS = new AllAppsState(ALL_APPS_STATE_ORDINAL); field in LauncherState
DWorkspace.java23 import static com.android.launcher3.LauncherState.ALL_APPS;
1206 if (!mLauncher.isInState(ALL_APPS)) { in announceForAccessibility()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java53 return LauncherInstrumentation.ContainerType.ALL_APPS; in getContainerType()
DLauncherInstrumentation.java89 WORKSPACE, ALL_APPS, OVERVIEW, WIDGETS, BACKGROUND, BASE_OVERVIEW enumConstant
359 case ALL_APPS: { in verifyContainerType()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java202 if (!mLauncher.isInState(LauncherState.ALL_APPS)) return false; in onInterceptTouchEvent()