/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | TaplTestsLauncher3.java | 68 test.mLauncher.getWorkspace(); in initialize() 84 return launcher.getWorkspace().getPageCount() > 1; in isWorkspaceScrollable() 88 return launcher.getWorkspace().getCurrentPage(); in getCurrentWorkspacePage() 117 final AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testPressHomeOnAllAppsContextMenu() 180 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps() 187 final Workspace workspace = mLauncher.getWorkspace(); in testWorkspace() 242 final AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testAppIconLaunchFromAllAppsFromHome() 255 Widgets widgets = mLauncher.getWorkspace().openAllWidgets(); in testWidgets() 292 getWorkspace(). in testLaunchMenuItem() 318 final AllApps allApps = mLauncher.getWorkspace(). in testDragAppIcon() [all …]
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/ |
D | LauncherUIScrollTest.java | 87 assertEquals(3, launcher.getWorkspace().getPageCount()); in testWorkspacePagesBound() 88 assertEquals(0, launcher.getWorkspace().getCurrentPage()); in testWorkspacePagesBound() 92 0, launcher.getWorkspace().getNextPage()); in testWorkspacePagesBound() 112 assertEquals("Workspace was scrolled", 0, launcher.getWorkspace().getNextPage()); in testAllAppsScroll() 131 assertEquals("Workspace was scrolled", 0, launcher.getWorkspace().getNextPage()); in testWidgetsListScroll() 146 launcher.getWorkspace().getFirstMatch((i, v) -> v instanceof FolderIcon).performClick(); in testFolderPageScroll() 154 assertEquals("Workspace was scrolled", 0, launcher.getWorkspace().getNextPage()); in testFolderPageScroll()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | AddWidgetTest.java | 57 getWorkspace(). in testDragIcon() 69 final Widget widget = mLauncher.getWorkspace().tryGetWidget(widgetInfo.label, in testDragIcon() 86 mLauncher.getWorkspace().openAllWidgets() in testDragCustomShortcut() 89 mLauncher.getWorkspace().getWorkspaceAppIcon("Shortcut") in testDragCustomShortcut()
|
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()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
D | StatsLogCompatManager.java | 432 return info.getContainerInfo().getFolder().getWorkspace().getGridX(); in getGridX() 437 return info.getContainerInfo().getWorkspace().getGridX(); in getGridX() 444 return info.getContainerInfo().getFolder().getWorkspace().getGridY(); in getGridY() 449 return info.getContainerInfo().getWorkspace().getGridY(); in getGridY() 465 return info.getContainerInfo().getWorkspace().getPageIndex(); in getPageId() 476 return info.getContainerInfo().getFolder().getWorkspace().getPageIndex(); in getParentPageId() 478 return info.getContainerInfo().getSearchResultContainer().getWorkspace() in getParentPageId() 481 return info.getContainerInfo().getWorkspace().getPageIndex(); in getParentPageId()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | LauncherDelegate.java | 71 mLauncher.getWorkspace().beginDragShared(child, source, options); in beginDragShared() 79 mLauncher.getWorkspace().forEachVisiblePage(callback); in forEachVisibleWorkspacePage() 90 mLauncher.getWorkspace().getCurrentPage(), mTempRect, mTempRectF); in addRectForColorExtraction() 128 mLauncher.getWorkspace().addInScreenFromBind(newIcon, info); in replaceFolderWithFinalItem()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/compat/ |
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()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 90 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps() 153 mLauncher.getWorkspace().switchToOverview().dismissAllTasks(); in testOverview() 225 mLauncher.getWorkspace().switchToAllApps()); in testAllAppsFromHome() 235 assertNotNull("getHome returned null", mLauncher.getWorkspace()); in testAllAppsFromHome()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
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()
|
D | ItemClickHandler.java | 85 if (!launcher.getWorkspace().isFinishedSwitchingState()) return; in onClick() 170 (d, i) -> launcher.getWorkspace() in onClickPendingAppItem()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | WorkspaceRevealAnim.java | 62 Workspace workspace = launcher.getWorkspace(); in WorkspaceRevealAnim() 72 launcher.getWorkspace().getStateTransitionAnimation() in WorkspaceRevealAnim() 126 launcher.getWorkspace().getStateTransitionAnimation() in prepareToAnimate()
|
D | StaggeredWorkspaceAnim.java | 95 Workspace workspace = launcher.getWorkspace(); in StaggeredWorkspaceAnim() 153 launcher.getWorkspace().getStateTransitionAnimation() in StaggeredWorkspaceAnim() 203 launcher.getWorkspace().getStateTransitionAnimation() in prepareToAnimate()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatEduController.java | 128 Workspace workspace = mLauncher.getWorkspace(); in placeFoldersInWorkspace() 173 Workspace workspace = mLauncher.getWorkspace(); in migrateHotseatWhole() 243 CellLayout cellLayout = mLauncher.getWorkspace().getScreenWithId(Workspace.FIRST_SCREEN_ID); in showEdu()
|
D | HotseatPredictionController.java | 95 if (mLauncher.getWorkspace().isSwitchingState()) return false; 110 mLauncher.getWorkspace().beginDragShared( 252 mLauncher.getWorkspace().addInScreenFromBind(icon, item); in bindItems()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | AppEventProducer.java | 249 return getWorkspaceContainerString(ci.getWorkspace(), spanX, spanY); in getContainer() 276 return "folder/" + getWorkspaceContainerString(fc.getWorkspace(), 1, 1); in getContainer() 309 return ci.getWorkspace().getPageIndex() == 0; in isTrackedForHotseatPrediction()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeleteDropTarget.java | 130 int itemPage = mLauncher.getWorkspace().getCurrentPage(); in completeDrop() 152 mLauncher.getWorkspace().stripEmptyScreens(); in onAccessibilityDrop()
|
D | LauncherState.java | 273 return launcher.getWorkspace().getCurrentPageDescription(); in getDescription() 281 final int centerPage = launcher.getWorkspace().getNextPage(); in getWorkspacePageAlphaProvider()
|
D | Launcher.java | 629 getWorkspace().runOnOverlayHidden(runnable); in runOnOverlayHidden() 655 View folderIcon = getWorkspace().getHomescreenIconByItemId(info.container); in invalidateParent() 1062 getWorkspace().setClipChildren(!state.hasFlag(FLAG_MULTI_PAGE)); in onStateSetEnd() 1088 .setPageIndex(getWorkspace().getCurrentPage())) in onStateSetEnd() 1454 public Workspace getWorkspace() { in getWorkspace() method in Launcher 1481 appWidgetId -> getWorkspace().removeWidget(appWidgetId)); in createAppWidgetHost() 1846 return getWorkspace().getPageAreaRelativeToDragLayer(); in getFolderBoundingBox() 1854 int distFromEdgeOfScreen = getWorkspace().getPaddingLeft(); in updateOpenFolderPosition() 2843 out.add(getWorkspace()); in collectStateHandlers()
|
D | SecondaryDropTarget.java | 237 mLauncher.getWorkspace().getDragInfo() != null) { in getViewUnderDrag() 238 return mLauncher.getWorkspace().getDragInfo().cell; in getViewUnderDrag()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | LauncherDragController.java | 181 mActivity.getDragLayer().mapCoordInSelfToDescendant(mActivity.getWorkspace(), in getDefaultDropTarget() 183 return mActivity.getWorkspace(); in getDefaultDropTarget()
|
D | SpringLoadedDragController.java | 58 Workspace w = mLauncher.getWorkspace(); in onAlarm()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | QuickstepAtomicAnimationFactory.java | 115 Workspace workspace = mActivity.getWorkspace(); in prepareForAtomicAnimation() 169 ValueAnimator va = getSpringScaleAnimator(mActivity, mActivity.getWorkspace(), in prepareForAtomicAnimation()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 102 mEstimatedCellSize = launcher.getWorkspace().estimateItemSize(mAddInfo); in startDrag() 204 launcher.getWorkspace().prepareDragWithProvider(this); in startDrag()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | LauncherActivityRule.java | 56 return launcher.getWorkspace().getFirstMatch(op) != null;
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | LauncherSwipeHandlerV2.java | 270 return mActivity.getWorkspace().getFirstMatchForAppClose(launchCookieItemId, 335 Workspace workspace = mActivity.getWorkspace();
|