/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 110 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/ |
D | TaplOpenCloseAllAppsTest.java | 73 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()
|
D | TaplKeyboardFocusTest.java | 47 isInState(() -> LauncherState.ALL_APPS)); in testAllAppsFocusApp() 62 isInState(() -> LauncherState.ALL_APPS)); in testAllAppsExitSearchAndFocusApp() 81 isInState(() -> LauncherState.ALL_APPS)); in testAllAppsExitSearchAndFocusSearchResults()
|
D | TaplAllAppsIconsWorkingTest.java | 44 isInState(() -> LauncherState.ALL_APPS)); in testAppIconLaunchFromAllAppsFromHome()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | KeyboardShortcutsDelegate.java | 58 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/ |
D | ItemLongClickListener.java | 71 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()
|
D | AllAppsSwipeController.java | 157 if (!mLauncher.isInState(NORMAL) && !mLauncher.isInState(ALL_APPS)) { in canInterceptTouch() 161 if (mLauncher.isInState(ALL_APPS) && !mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch()
|
D | WorkspaceTouchListener.java | 132 boolean isInAllAppsBottomSheet = mLauncher.isInState(ALL_APPS) in onTouch() 187 && mLauncher.isInState(NORMAL); in canHandleLongPress()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ |
D | LauncherIntentTest.java | 61 isInState(() -> LauncherState.ALL_APPS)); in moveToSearchView() 78 isInState(() -> LauncherState.ALL_APPS)); in assertOnMainAdapterAToZView()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 60 boolean interceptAnywhere = mLauncher.isInState(NORMAL); in canInterceptTouch() 72 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch() 77 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch()
|
D | TwoButtonNavbarTouchController.java | 84 if (!mIsTransposed && mLauncher.isInState(OVERVIEW)) { in canInterceptTouchInternal() 87 return mLauncher.isInState(NORMAL); in canInterceptTouchInternal()
|
D | NoButtonNavbarToOverviewTouchController.java | 117 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()
|
D | StatusBarTouchController.java | 164 if (!mLauncher.isInState(LauncherState.NORMAL) || in canInterceptTouch()
|
D | QuickSwitchTouchController.java | 76 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/ |
D | TaplWorkspaceTest.java | 103 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/ |
D | LauncherRecentsView.java | 223 } 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/ |
D | StatefulContainer.java | 76 default boolean isInState(STATE_TYPE state) { in isInState() method
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 282 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) &&
|
D | DiscoveryBounce.java | 126 if (!launcher.isInState(NORMAL) in showForHomeIfNeeded()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
D | FallbackRecentsView.java | 225 if (mContainer.isInState(RecentsState.MODAL_TASK)) { in setModalStateEnabled() 313 return !mContainer.isInState(OVERVIEW_SPLIT_SELECT); in canLaunchFullscreenTask()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 506 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)) {
|
D | ModelCallbacks.kt | 100 if (!launcher.isInState(LauncherState.ALL_APPS)) { in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | QuickstepLauncher.java | 1007 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/ |
D | LauncherDragController.java | 191 if (!mActivity.isInState(EDIT_MODE)) { in exitDrag()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarLauncherStateController.java | 297 !mLauncher.isInState(LauncherState.OVERVIEW), false /*canceled*/); in createAnimToLauncher() 780 boolean isInOverview = mLauncher.isInState(LauncherState.OVERVIEW); in onRecentsAnimationCanceled()
|