Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java110 isInState(() -> LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
120 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
130 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
138 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
157 isInState(() -> LauncherState.OVERVIEW)); in testOverview()
169 isInState(() -> LauncherState.NORMAL)); in testOverview()
195 isInState(() -> LauncherState.OVERVIEW)); in testDismissOverviewWithEscKey()
199 isInState(() -> LauncherState.NORMAL)); in testDismissOverviewWithEscKey()
216 isInState(() -> LauncherState.OVERVIEW_MODAL_TASK)); in testDismissModalTaskAndOverviewWithEscKey()
221 isInState(() -> LauncherState.OVERVIEW)); in testDismissModalTaskAndOverviewWithEscKey()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DTaplOpenCloseAllAppsTest.java73 isInState(() -> LauncherState.ALL_APPS)); in testWorkspaceSwitchToAllApps()
86 isInState(() -> LauncherState.NORMAL)); in testAllAppsSwitchToWorkspace()
100 isInState(() -> LauncherState.NORMAL)); in testAllAppsSwipeUpToWorkspace()
132 isInState(() -> LauncherState.ALL_APPS)); in testAllAppsFromHome()
135 isInState(() -> LauncherState.NORMAL)); 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/util/
DKeyboardShortcutsDelegate.java58 if (mLauncher.isInState(NORMAL)) { in onProvideKeyboardShortcuts()
85 if (mLauncher.isInState(NORMAL)) { in onKeyShortcut()
91 if (mLauncher.isInState(NORMAL)) { in onKeyShortcut()
125 } else if (mLauncher.isInState(LauncherState.OVERVIEW) in onKeyDown()
126 || mLauncher.isInState(LauncherState.OVERVIEW_SPLIT_SELECT)) { in onKeyDown()
130 } else if (mLauncher.isInState(LauncherState.OVERVIEW_MODAL_TASK)) { in onKeyDown()
150 && mLauncher.isInState(NORMAL)) { in onKeyUp()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java71 if (!launcher.isInState(NORMAL) in onWorkspaceItemLongClick()
72 && !launcher.isInState(OVERVIEW) in onWorkspaceItemLongClick()
73 && !launcher.isInState(EDIT_MODE)) { in onWorkspaceItemLongClick()
150 if (!launcher.isInState(ALL_APPS) && !launcher.isInState(OVERVIEW)) return false; in onAllAppsItemLongClick()
DAllAppsSwipeController.java157 if (!mLauncher.isInState(NORMAL) && !mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
161 if (mLauncher.isInState(ALL_APPS) && !mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch()
DWorkspaceTouchListener.java132 boolean isInAllAppsBottomSheet = mLauncher.isInState(ALL_APPS) in onTouch()
187 && mLauncher.isInState(NORMAL); in canHandleLongPress()
/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/touchcontrollers/
DPortraitStatesTouchController.java60 boolean interceptAnywhere = mLauncher.isInState(NORMAL); in canInterceptTouch()
72 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch()
77 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
DTwoButtonNavbarTouchController.java84 if (!mIsTransposed && mLauncher.isInState(OVERVIEW)) { in canInterceptTouchInternal()
87 return mLauncher.isInState(NORMAL); in canInterceptTouchInternal()
DNoButtonNavbarToOverviewTouchController.java117 return super.canInterceptTouch(ev) && !mLauncher.isInState(HINT_STATE); in canInterceptTouch()
140 if (mLauncher.isInState(ALL_APPS)) { in onDragStart()
195 if (mLauncher.isInState(OVERVIEW)) { in onDragEnd()
DStatusBarTouchController.java164 if (!mLauncher.isInState(LauncherState.NORMAL) || in canInterceptTouch()
DQuickSwitchTouchController.java76 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/
DTaplWorkspaceTest.java103 assertTrue("Launcher internal state is not Home", isInState(() -> LauncherState.NORMAL)); in testWorkspace()
112 assertTrue("Launcher internal state is not Home", isInState(() -> LauncherState.NORMAL)); in testWorkspace()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DLauncherRecentsView.java223 } else if (mContainer.isInState(LauncherState.OVERVIEW_MODAL_TASK)) { in setModalStateEnabled()
231 if (mContainer.isInState(OVERVIEW_SPLIT_SELECT)) { in onDismissAnimationEnds()
258 return !mContainer.isInState(OVERVIEW_SPLIT_SELECT); in canLaunchFullscreenTask()
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DStatefulContainer.java76 default boolean isInState(STATE_TYPE state) { in isInState() method
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java282 if (!mLauncher.isInState(ALL_APPS) || !NORMAL.equals(toState)) { in onBackProgressed()
352 if (mLauncher.isInState(ALL_APPS) && !ALL_APPS.equals(toState)) {
394 if (ALL_APPS.equals(toState) && mLauncher.isInState(NORMAL) &&
DDiscoveryBounce.java126 if (!launcher.isInState(NORMAL) in showForHomeIfNeeded()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsView.java225 if (mContainer.isInState(RecentsState.MODAL_TASK)) { in setModalStateEnabled()
313 return !mContainer.isInState(OVERVIEW_SPLIT_SELECT); in canLaunchFullscreenTask()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java506 if (!mLauncher.isInState(EDIT_MODE)) { in onDragStart()
1395 if (!mLauncher.isInState(ALL_APPS)) { in announceForAccessibility()
1468 return !mLauncher.isInState(NORMAL); in workspaceInModalState()
1472 return mLauncher.isInState(SPRING_LOADED) || mLauncher.isInState(EDIT_MODE) in workspaceInScrollableState()
2041 if (!mLauncher.isInState(EDIT_MODE)) { in onDrop()
2176 if (!mLauncher.isInState(EDIT_MODE)) { in onDrop()
2208 if (!mLauncher.isInState(EDIT_MODE)) { in onDrop()
2791 && !mLauncher.isInState(SPRING_LOADED)
2792 && !mLauncher.isInState(EDIT_MODE)) {
DModelCallbacks.kt100 if (!launcher.isInState(LauncherState.ALL_APPS)) { in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java1007 if (mPendingActivityRequestCode != -1 && isInState(NORMAL) in handlePendingActivityRequest()
1294 if (isInState(OVERVIEW_SPLIT_SELECT)) { in onSaveInstanceState()
1433 return mContainer.isInState(OVERVIEW) || mContainer.isInState(OVERVIEW_MODAL_TASK); in isRecentsInteractive()
1438 return mContainer.isInState(OVERVIEW_MODAL_TASK); in isRecentsModal()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DLauncherDragController.java191 if (!mActivity.isInState(EDIT_MODE)) { in exitDrag()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarLauncherStateController.java297 !mLauncher.isInState(LauncherState.OVERVIEW), false /*canceled*/); in createAnimToLauncher()
780 boolean isInOverview = mLauncher.isInState(LauncherState.OVERVIEW); in onRecentsAnimationCanceled()

12