Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplTestsLauncher3.java69 test.mLauncher.getWorkspace(); in initialize()
84 return launcher.getWorkspace().getPageCount() > 1; in isWorkspaceScrollable()
88 return launcher.getWorkspace().getCurrentPage(); in getCurrentWorkspacePage()
109 final AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testPressHomeOnAllAppsContextMenu()
172 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps()
178 final Workspace workspace = mLauncher.getWorkspace(); in testWorkspace()
233 final AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testAppIconLaunchFromAllAppsFromHome()
245 Widgets widgets = mLauncher.getWorkspace().openAllWidgets(); in testWidgets()
282 getWorkspace(). in testLaunchMenuItem()
306 final AllApps allApps = mLauncher.getWorkspace(). in testDragAppIcon()
[all …]
DDefaultLayoutProviderTest.java77 mLauncher.getWorkspace().getHotseatAppIcon(getSettingsApp().getLabel().toString()); in testCustomProfileLoaded_with_icon_on_hotseat()
94 mLauncher.getWorkspace().tryGetWidget(info.label, DEFAULT_UI_TIMEOUT) != null); in testCustomProfileLoaded_with_widget()
108 mLauncher.getWorkspace().getHotseatFolder("Folder: Copy"); in testCustomProfileLoaded_with_folder()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java86 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps()
94 mLauncher.getWorkspace().switchToOverview().switchToAllApps()); in testAllAppsFromOverview()
176 mLauncher.getWorkspace().switchToOverview().dismissAllTasks(); in testOverview()
194 mLauncher.getWorkspace().switchToOverview().switchToAllApps(); in testAppIconLaunchFromAllAppsFromOverview()
237 mLauncher.getWorkspace().switchToAllApps()); in testAllAppsFromHome()
245 assertNotNull("getHome returned null", mLauncher.getWorkspace()); in testAllAppsFromHome()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DAddWidgetTest.java57 getWorkspace(). in testDragIcon()
67 final Widget widget = mLauncher.getWorkspace().tryGetWidget(widgetInfo.label, in testDragIcon()
84 mLauncher.getWorkspace().openAllWidgets() in testDragCustomShortcut()
87 mLauncher.getWorkspace().getWorkspaceAppIcon("Shortcut") in testDragCustomShortcut()
DBindWidgetTest.java132 final Workspace workspace = mLauncher.getWorkspace(); in testUnboundWidget_removed()
189 mLauncher.getWorkspace().tryGetPendingWidget(0) == null); in testPendingWidget_notRestored_removed()
278 mLauncher.getWorkspace().tryGetWidget(info.label, DEFAULT_UI_TIMEOUT) != null); in verifyWidgetPresent()
283 mLauncher.getWorkspace().tryGetPendingWidget(DEFAULT_UI_TIMEOUT) != null); in verifyPendingWidgetPresent()
DAddConfigWidgetTest.java91 final Widgets widgets = mLauncher.getWorkspace().openAllWidgets(); in runTest()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DSpringLoadedState.java46 Workspace ws = launcher.getWorkspace(); in getWorkspaceScaleAndTranslation()
82 Workspace ws = launcher.getWorkspace(); in onStateEnabled()
99 launcher.getWorkspace().getPageIndicator().setShouldAutoHide(true); in onStateDisabled()
/packages/apps/Launcher3/tests/src/com/android/launcher3/compat/
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()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java78 launcher.getWorkspace().startDrag(longClickCellInfo, dragOptions); in beginDrag()
95 if (launcher.getWorkspace().isSwitchingState()) return false; in onAllAppsItemLongClick()
115 launcher.getWorkspace().beginDragShared(v, launcher.getAppsView(), options); in onAllAppsItemLongClick()
DItemClickHandler.java85 if (!launcher.getWorkspace().isFinishedSwitchingState()) return; in onClick()
166 (d, i) -> launcher.getWorkspace() in onClickPendingAppItem()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherState.java251 return launcher.getWorkspace().getCurrentPageDescription(); in getDescription()
258 final int centerPage = launcher.getWorkspace().getNextPage(); in getWorkspacePageAlphaProvider()
304 Workspace workspace = launcher.getWorkspace();
DDeleteDropTarget.java124 int itemPage = mLauncher.getWorkspace().getCurrentPage(); in completeDrop()
145 mLauncher.getWorkspace().stripEmptyScreens(); in onAccessibilityDrop()
DSecondaryDropTarget.java193 mLauncher.getWorkspace().getDragInfo() != null) { in getViewUnderDrag()
194 return mLauncher.getWorkspace().getDragInfo().cell; in getViewUnderDrag()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java80 mEstimatedCellSize = launcher.getWorkspace().estimateItemSize(mAddInfo); in startDrag()
143 launcher.getWorkspace().prepareDragWithProvider(this); in startDrag()
DWidgetHostViewLoader.java132 int[] unScaledSize = mLauncher.getWorkspace().estimateItemSize(mInfo); in preloadWidget()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java81 Workspace workspace = launcher.getWorkspace(); in StaggeredWorkspaceAnim()
217 launcher.getWorkspace().getStateTransitionAnimation().setScrim(scrimPropertySetter, state); in addScrimAnimationForState()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java263 mLauncher.getWorkspace().beginDragShared(v, this, options); in startDrag()
448 final Workspace workspace = mLauncher.getWorkspace(); in startAnimation()
960 mLauncher.getWorkspace().getPageAreaRelativeToDragLayer(sTempRect); in centerAboutIcon()
967 int distFromEdgeOfScreen = mLauncher.getWorkspace().getPaddingLeft() + getPaddingLeft(); in centerAboutIcon()
1093 mLauncher.getWorkspace().addInScreenFromBind(newIcon, mInfo); in replaceFolderWithFinalItem()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DSpringLoadedDragController.java58 Workspace w = mLauncher.getWorkspace(); in onAlarm()
DDragController.java665 mLauncher.getDragLayer().mapCoordInSelfToDescendant(mLauncher.getWorkspace(), in findDropTarget()
667 return mLauncher.getWorkspace(); in findDropTarget()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java408 mLauncher.getWorkspace().getPageIndicator().pauseAnimations(); in getLauncherContentAnimator()
737 mLauncher.getWorkspace().getPageIndicator().pauseAnimations();
751 mLauncher.getWorkspace().getPageIndicator().skipAnimationsToEnd();
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DLauncherActivityRule.java56 return launcher.getWorkspace().getFirstMatch(op) != null; in itemExists()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewOnDrawExecutor.java47 attachTo(launcher, launcher.getWorkspace(), true /* waitForLoadAnimation */); in attachTo()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DUiFactory.java51 launcher.getAllAppsController(), launcher.getWorkspace() }; in getStateHandler()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java196 Workspace workspace = mLauncher.getWorkspace(); in performAction()
414 Workspace workspace = mLauncher.getWorkspace(); in findSpaceOnWorkspace()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DStatusBarTouchController.java143 mLauncher.getWorkspace().getCurrentPage()); in onControllerTouchEvent()

12