Home
last modified time | relevance | path

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

/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()
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()
155 isInState(LauncherState.ALL_APPS)); in testOverview()
160 isInState(LauncherState.OVERVIEW)); in testOverview()
166 isInState(LauncherState.ALL_APPS)); in testOverview()
195 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromOverview()
207 isInState(LauncherState.OVERVIEW)); in testSwitchToOverview()
[all …]
/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()
199 assertTrue("Launcher internal state is not Home", isInState(LauncherState.NORMAL)); in testWorkspace()
208 assertTrue("Launcher internal state is not Home", isInState(LauncherState.NORMAL)); in testWorkspace()
234 assertTrue("Launcher internal state is not All Apps", isInState(LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromHome()
DAbstractLauncherUiTest.java399 protected boolean isInState(LauncherState state) { in isInState() method in AbstractLauncherUiTest
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java55 if (!launcher.isInState(NORMAL) && !launcher.isInState(OVERVIEW)) return false; in onWorkspaceItemLongClick()
91 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
DWorkspaceTouchListener.java159 && 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.java76 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch()
DNoButtonQuickSwitchTouchController.java151 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DAllAppsSwipeController.java39 if (!mLauncher.isInState(NORMAL) && !mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
43 if (mLauncher.isInState(ALL_APPS) && !mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DLandscapeStatesTouchController.java46 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
49 } else if (mLauncher.isInState(NORMAL)) { in canInterceptTouch()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java108 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
113 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
119 boolean interceptAnywhere = mLauncher.isInState(NORMAL) && !mAllowDragToOverview; in canInterceptTouch()
DLandscapeEdgeSwipeController.java39 return mLauncher.isInState(NORMAL) && (ev.getEdgeFlags() & EDGE_NAV_BAR) != 0; in canInterceptTouch()
DStatusBarTouchController.java162 if (!mLauncher.isInState(LauncherState.NORMAL) || in canInterceptTouch()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DDiscoveryBounce.java147 if (!launcher.isInState(NORMAL) in showForHomeIfNeeded()
170 if (!launcher.isInState(OVERVIEW) in showForOverviewIfNeeded()
DAllAppsContainerView.java200 if (!mLauncher.isInState(LauncherState.ALL_APPS)) { in onInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java937 if (mPendingActivityRequestCode != -1 && isInState(NORMAL)) { in handleDeferredResume()
1063 public boolean isInState(LauncherState state) { in isInState() method in Launcher
1390 boolean shouldMoveToDefaultScreen = alreadyOnHome && isInState(NORMAL) in onNewIntent()
1402 if (!isInState(NORMAL)) { in onNewIntent()
2300 if (!isInState(ALL_APPS)) { in executeOnNextDraw()
2518 if (isInState(NORMAL)) { in onProvideKeyboardShortcuts()
2549 if (isInState(NORMAL)) { in onKeyShortcut()
2572 if (isInState(NORMAL)) { in onKeyShortcut()
2588 isInState(NORMAL)) { in onKeyUp()
DLauncherStateManager.java229 if (mLauncher.isInState(state)) { in goToState()
DWorkspace.java1211 if (!mLauncher.isInState(ALL_APPS)) { in announceForAccessibility()
1275 return !mLauncher.isInState(NORMAL); in workspaceInModalState()
1279 return mLauncher.isInState(SPRING_LOADED) || !workspaceInModalState(); in workspaceInScrollableState()
2466 && !mLauncher.isInState(SPRING_LOADED)) {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java316 if (!launcher.isInState(OVERVIEW) && !launcher.isInState(BACKGROUND_APP)) { in canApplyPredictions()
DAllAppsTipView.java152 || !launcher.isInState(ALL_APPS) in showAllAppsTipIfNecessary()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java357 if (mLauncher.isInState(ALL_APPS)) { in getLauncherContentAnimator()
387 } else if (mLauncher.isInState(OVERVIEW)) { in getLauncherContentAnimator()
707 if (mLauncher.isInState(LauncherState.ALL_APPS)) {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/
DLauncherAppTransitionManagerImpl.java179 if (progress >= overviewProgress || mLauncher.isInState(BACKGROUND_APP)) { in createStateElementAnimation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java220 return mActivity.isInState(OVERVIEW); in isRecentsInteractive()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java420 if (mLauncher.isInState(NORMAL)) { in onPopulateNodeForVirtualView()