Home
last modified time | relevance | path

Searched refs:isInState (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java89 isInState(() -> LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
112 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
122 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
130 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
149 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
164 isInState(() -> LauncherState.ALL_APPS)); in testOverview()
169 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
175 isInState(() -> LauncherState.ALL_APPS)); in testOverview()
209 isInState(() -> LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromOverview()
221 isInState(() -> LauncherState.OVERVIEW)); in testSwitchToOverview()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplTestsLauncher3.java131 test.isInState(() -> LauncherState.ALL_APPS)); in runAllAppsTest()
140 test.isInState(() -> LauncherState.ALL_APPS)); in runAllAppsTest()
150 test.isInState(() -> LauncherState.ALL_APPS)); in runAllAppsTest()
167 test.isInState(() -> LauncherState.ALL_APPS)); in runAllAppsTest()
179 isInState(() -> LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
205 assertTrue("Launcher internal state is not Home", isInState(() -> LauncherState.NORMAL)); in testWorkspace()
214 assertTrue("Launcher internal state is not Home", isInState(() -> LauncherState.NORMAL)); in testWorkspace()
241 isInState(() -> LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromHome()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java54 if (!launcher.isInState(NORMAL) && !launcher.isInState(OVERVIEW)) return false; in onWorkspaceItemLongClick()
86 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
DAllAppsSwipeController.java52 if (!mLauncher.isInState(NORMAL) && !mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
56 if (mLauncher.isInState(ALL_APPS) && !mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch()
DWorkspaceTouchListener.java160 && mLauncher.isInState(NORMAL); in canHandleLongPress()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DOverviewToAllAppsTouchController.java52 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
55 } else if (mLauncher.isInState(NORMAL)) { in canInterceptTouch()
57 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
DQuickSwitchTouchController.java74 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DLauncherAllAppsContainerView.java54 if (!mLauncher.isInState(LauncherState.ALL_APPS)) { in onInterceptTouchEvent()
64 if (!mLauncher.isInState(LauncherState.ALL_APPS)) { in onTouchEvent()
DDiscoveryBounce.java140 if (!launcher.isInState(NORMAL) in showForHomeIfNeeded()
165 if (!launcher.isInState(OVERVIEW) in showForOverviewIfNeeded()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java111 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
116 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
122 boolean interceptAnywhere = mLauncher.isInState(NORMAL) && !mAllowDragToOverview; in canInterceptTouch()
DLandscapeEdgeSwipeController.java39 return mLauncher.isInState(NORMAL) && (ev.getEdgeFlags() & EDGE_NAV_BAR) != 0; in canInterceptTouch()
DStatusBarTouchController.java157 if (!mLauncher.isInState(LauncherState.NORMAL) || in canInterceptTouch()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java321 return mActivity.isInState(OVERVIEW) || mActivity.isInState(OVERVIEW_MODAL_TASK); in isRecentsInteractive()
326 return mActivity.isInState(OVERVIEW_MODAL_TASK); in isRecentsModal()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java294 if (!launcher.isInState(OVERVIEW) && !launcher.isInState(BACKGROUND_APP)) { in canApplyPredictions()
DAllAppsTipView.java49 || !launcher.isInState(ALL_APPS) in showAllAppsTipIfNecessary()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1315 if (!isInState(NORMAL)) {
1413 boolean shouldMoveToDefaultScreen = alreadyOnHome && isInState(NORMAL) in onNewIntent()
1423 if (!isInState(NORMAL)) { in onNewIntent()
2357 if (!isInState(ALL_APPS)) { in executeOnNextDraw()
2587 if (isInState(NORMAL)) { in onProvideKeyboardShortcuts()
2618 if (isInState(NORMAL)) { in onKeyShortcut()
2641 if (isInState(NORMAL)) { in onKeyShortcut()
2657 isInState(NORMAL)) { in onKeyUp()
DWorkspace.java1185 if (!mLauncher.isInState(ALL_APPS)) { in announceForAccessibility()
1247 return !mLauncher.isInState(NORMAL); in workspaceInModalState()
1251 return mLauncher.isInState(SPRING_LOADED) || !workspaceInModalState(); in workspaceInScrollableState()
2409 && !mLauncher.isInState(SPRING_LOADED)) {
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DStatefulActivity.java54 public boolean isInState(STATE_TYPE state) { in isInState() method in StatefulActivity
DStateManager.java183 if (mActivity.isInState(state)) { in goToState()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java356 if (mLauncher.isInState(ALL_APPS)) { in getLauncherContentAnimator()
386 } else if (mLauncher.isInState(OVERVIEW)) { in getLauncherContentAnimator()
869 if (mLauncher.isInState(LauncherState.ALL_APPS)) {
DBaseQuickstepLauncher.java160 if (mPendingActivityRequestCode != -1 && isInState(NORMAL)) { in onDeferredResumed()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DFallbackRecentsView.java159 if (mActivity.isInState(RecentsState.MODAL_TASK)) { in setModalStateEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/
DDepthController.java230 if (mLauncher.isInState(LauncherState.ALL_APPS) && mDepth == 1) { in setDepth()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java362 if (mActivity.isInState(LauncherState.OVERVIEW_MODAL_TASK)) { in setModalStateEnabled()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DQuickstepAtomicAnimationFactory.java122 if (progress >= overviewProgress || mActivity.isInState(BACKGROUND_APP)) { in createStateElementAnimation()

12