Home
last modified time | relevance | path

Searched refs:getWorkspace (Results 1 – 25 of 50) sorted by relevance

12

/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
H A DTaplTestsLauncher3.java68 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 DAddWidgetTest.java58 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 DAddConfigWidgetTest.java87 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 DBindWidgetTest.java130 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 DTaplTestsQuickstep.java95 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 DUnfoldMoveFromCenterWorkspaceAnimator.java40 Workspace workspace = mLauncher.getWorkspace(); in onPrepareViewsForAnimation()
61 restoreClipping(mLauncher.getWorkspace()); in onTransitionFinished()
62 mLauncher.getWorkspace().forEachVisiblePage(page -> restoreClipping((CellLayout) page)); in onTransitionFinished()
H A DWorkspaceRevealAnim.java62 Workspace workspace = launcher.getWorkspace(); in WorkspaceRevealAnim()
72 launcher.getWorkspace().getStateTransitionAnimation() in WorkspaceRevealAnim()
126 launcher.getWorkspace().getStateTransitionAnimation() in prepareToAnimate()
H A DStaggeredWorkspaceAnim.java95 Workspace workspace = launcher.getWorkspace(); in StaggeredWorkspaceAnim()
153 launcher.getWorkspace().getStateTransitionAnimation() in StaggeredWorkspaceAnim()
203 launcher.getWorkspace().getStateTransitionAnimation() in prepareToAnimate()
H A DLauncherUnfoldAnimationController.java82 OneShotPreDrawListener.add(mLauncher.getWorkspace(), in onResume()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/
H A DTwoPanelWorkspaceTest.java56 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 DPromiseIconUiTest.java86 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 DStatsLogCompatManager.java472 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 DItemLongClickListener.java79 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 DDeleteDropTarget.java134 View v = mLauncher.getWorkspace().getHomescreenIconByItemId(item.container); in completeDrop()
141 : mLauncher.getWorkspace().getCurrentPageScreenIds(); in completeDrop()
164 mLauncher.getWorkspace().stripEmptyScreens(); in onAccessibilityDrop()
H A DLauncherState.java274 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 DLauncherDelegate.java64 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 DLauncherDragController.java186 mActivity.getDragLayer().mapCoordInSelfToDescendant(mActivity.getWorkspace(), in getDefaultDropTarget()
188 return mActivity.getWorkspace(); in getDefaultDropTarget()
H A DSpringLoadedDragController.java58 Workspace w = mLauncher.getWorkspace(); in onAlarm()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
H A DHotseatEduController.java134 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 DHotseatPredictionController.java95 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 DLauncherActivityRule.java56 return launcher.getWorkspace().getFirstMatch(op) != null;
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DViewOnDrawExecutor.java50 mAttachedView = launcher.getWorkspace(); in attachTo()
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
H A DFolder.java73 return mLauncher.getWorkspace(); in close()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
H A DQuickstepAtomicAnimationFactory.java121 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 DSpringLoadedState.java50 Workspace ws = launcher.getWorkspace(); in getWorkspaceScaleAndTranslation()

12