/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
H A D | TaplTestsLauncher3.java | 68 test.mLauncher.getWorkspace(); in initialize() 84 return launcher.getWorkspace().getPageCount() > launcher.getWorkspace().getPanelCount(); in isWorkspaceScrollable() 88 return launcher.getWorkspace().getCurrentPage(); in getCurrentWorkspacePage() 171 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps() 178 final Workspace workspace = mLauncher.getWorkspace(); in testWorkspace() 284 getWorkspace(). in testLaunchMenuItem() 310 final AllApps allApps = mLauncher.getWorkspace(). in testDragAppIcon() 332 .getWorkspace() in testDragShortcut() 408 mLauncher.getWorkspace().switchToAllApps(); in testPressBack() 410 mLauncher.getWorkspace(); in testPressBack() [all …]
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
H A D | AddWidgetTest.java | 58 getWorkspace(). in testDragIcon() 71 final Widget widget = mLauncher.getWorkspace().tryGetWidget(widgetInfo.label, in testDragIcon() 88 mLauncher.getWorkspace().openAllWidgets() in testDragCustomShortcut() 91 mLauncher.getWorkspace().getWorkspaceAppIcon("Shortcut") in testDragCustomShortcut()
|
H A D | AddConfigWidgetTest.java | 87 final Widgets widgets = mLauncher.getWorkspace().openAllWidgets(); in runTest() 105 mLauncher.getWorkspace().tryGetWidget(mWidgetInfo.label, DEFAULT_UI_TIMEOUT); in runTest() 109 mLauncher.getWorkspace().tryGetWidget(mWidgetInfo.label, DEFAULT_UI_TIMEOUT); in runTest()
|
H A D | BindWidgetTest.java | 130 final Workspace workspace = mLauncher.getWorkspace(); in testUnboundWidget_removed() 195 assertNull(mLauncher.getWorkspace().tryGetPendingWidget(100)); in testPendingWidget_withConfigScreen() 207 mLauncher.getWorkspace().tryGetPendingWidget(0) == null); in testPendingWidget_notRestored_removed() 267 final Widget widget = mLauncher.getWorkspace().tryGetWidget(info.label, DEFAULT_UI_TIMEOUT); in verifyWidgetPresent() 273 final Widget widget = mLauncher.getWorkspace().tryGetPendingWidget(DEFAULT_UI_TIMEOUT); in verifyPendingWidgetPresent()
|
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
H A D | TaplTestsQuickstep.java | 95 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps() 235 mLauncher.getWorkspace().switchToAllApps()); in testAllAppsFromHome() 245 assertNotNull("getHome returned null", mLauncher.getWorkspace()); in testAllAppsFromHome() 304 mLauncher.getWorkspace().switchToAllApps(); in testPressBack() 306 mLauncher.getWorkspace(); in testPressBack() 309 AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testPressBack() 316 mLauncher.getWorkspace().getWorkspaceAppIcon(APP_NAME).launch(getAppPackageName()); in testPressBack() 318 mLauncher.getWorkspace(); in testPressBack()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
H A D | UnfoldMoveFromCenterWorkspaceAnimator.java | 40 Workspace workspace = mLauncher.getWorkspace(); in onPrepareViewsForAnimation() 61 restoreClipping(mLauncher.getWorkspace()); in onTransitionFinished() 62 mLauncher.getWorkspace().forEachVisiblePage(page -> restoreClipping((CellLayout) page)); in onTransitionFinished()
|
H A D | WorkspaceRevealAnim.java | 62 Workspace workspace = launcher.getWorkspace(); in WorkspaceRevealAnim() 72 launcher.getWorkspace().getStateTransitionAnimation() in WorkspaceRevealAnim() 126 launcher.getWorkspace().getStateTransitionAnimation() in prepareToAnimate()
|
H A D | StaggeredWorkspaceAnim.java | 95 Workspace workspace = launcher.getWorkspace(); in StaggeredWorkspaceAnim() 153 launcher.getWorkspace().getStateTransitionAnimation() in StaggeredWorkspaceAnim() 203 launcher.getWorkspace().getStateTransitionAnimation() in prepareToAnimate()
|
H A D | LauncherUnfoldAnimationController.java | 82 OneShotPreDrawListener.add(mLauncher.getWorkspace(), in onResume()
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/ |
H A D | TwoPanelWorkspaceTest.java | 56 mWorkspace = mLauncher.getWorkspace(); in setUp() 253 CellLayout page = launcher.getWorkspace().getScreenWithId(pageId); in assertPageEmpty() 260 int pageCount = launcher.getWorkspace().getPageCount(); in assertPagesExist() 263 CellLayout page = (CellLayout) launcher.getWorkspace().getPageAt(i); in assertPagesExist() 264 int pageId = launcher.getWorkspace().getIdForScreen(page); in assertPagesExist() 272 CellLayout page = launcher.getWorkspace().getScreenWithId(pageId); in assertItemsOnPage()
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/compat/ |
H A D | PromiseIconUiTest.java | 86 launcher.getWorkspace().getFirstMatch(findPromiseApp) != null); in testPromiseIcon_addedFromEligibleSession() 94 launcher.getWorkspace().getFirstMatch(findPromiseApp) == null); in testPromiseIcon_addedFromEligibleSession() 111 launcher.getWorkspace().getFirstMatch(findPromiseApp) == null); in testPromiseIcon_notAddedFromIneligibleSession()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
H A D | StatsLogCompatManager.java | 472 return info.getContainerInfo().getFolder().getWorkspace().getGridX(); in getGridX() 477 return info.getContainerInfo().getWorkspace().getGridX(); in getGridX() 484 return info.getContainerInfo().getFolder().getWorkspace().getGridY(); in getGridY() 489 return info.getContainerInfo().getWorkspace().getGridY(); in getGridY() 507 return info.getContainerInfo().getWorkspace().getPageIndex(); in getPageId() 518 return info.getContainerInfo().getFolder().getWorkspace().getPageIndex(); in getParentPageId() 520 return info.getContainerInfo().getSearchResultContainer().getWorkspace() in getParentPageId() 523 return info.getContainerInfo().getWorkspace().getPageIndex(); in getParentPageId()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
H A D | ItemLongClickListener.java | 79 launcher.getWorkspace().startDrag(longClickCellInfo, dragOptions); in beginDrag() 89 if (launcher.getWorkspace().isSwitchingState()) return false; in onAllAppsItemLongClick() 115 launcher.getWorkspace().beginDragShared(v, launcher.getAppsView(), options); in onAllAppsItemLongClick()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DeleteDropTarget.java | 134 View v = mLauncher.getWorkspace().getHomescreenIconByItemId(item.container); in completeDrop() 141 : mLauncher.getWorkspace().getCurrentPageScreenIds(); in completeDrop() 164 mLauncher.getWorkspace().stripEmptyScreens(); in onAccessibilityDrop()
|
H A D | LauncherState.java | 274 return launcher.getWorkspace().getCurrentPageDescription(); in getDescription() 282 final int centerPage = launcher.getWorkspace().getNextPage(); in getWorkspacePageAlphaProvider()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | LauncherDelegate.java | 64 mLauncher.getWorkspace().beginDragShared(child, source, options); in beginDragShared() 72 mLauncher.getWorkspace().forEachVisiblePage(callback); in forEachVisibleWorkspacePage() 112 mLauncher.getWorkspace().addInScreenFromBind(newIcon, info); in replaceFolderWithFinalItem()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | LauncherDragController.java | 186 mActivity.getDragLayer().mapCoordInSelfToDescendant(mActivity.getWorkspace(), in getDefaultDropTarget() 188 return mActivity.getWorkspace(); in getDefaultDropTarget()
|
H A D | SpringLoadedDragController.java | 58 Workspace w = mLauncher.getWorkspace(); in onAlarm()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
H A D | HotseatEduController.java | 134 Workspace workspace = mLauncher.getWorkspace(); in placeFoldersInWorkspace() 179 Workspace workspace = mLauncher.getWorkspace(); in migrateHotseatWhole() 252 CellLayout cellLayout = mLauncher.getWorkspace().getScreenWithId(Workspace.FIRST_SCREEN_ID); in showEdu()
|
H A D | HotseatPredictionController.java | 95 if (mLauncher.getWorkspace().isSwitchingState()) return false; 110 mLauncher.getWorkspace().beginDragShared( 234 mLauncher.getWorkspace().addInScreenFromBind(icon, item); in bindItems()
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
H A D | LauncherActivityRule.java | 56 return launcher.getWorkspace().getFirstMatch(op) != null;
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | ViewOnDrawExecutor.java | 50 mAttachedView = launcher.getWorkspace(); in attachTo()
|
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
H A D | Folder.java | 73 return mLauncher.getWorkspace(); in close()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
H A D | QuickstepAtomicAnimationFactory.java | 121 Workspace workspace = mActivity.getWorkspace(); in prepareForAtomicAnimation() 175 ValueAnimator va = getSpringScaleAnimator(mActivity, mActivity.getWorkspace(), in prepareForAtomicAnimation()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/states/ |
H A D | SpringLoadedState.java | 50 Workspace ws = launcher.getWorkspace(); in getWorkspaceScaleAndTranslation()
|