Lines Matching refs:mWorkspace
335 Workspace<?> mWorkspace; field in Launcher
531 mFocusHandler, new CellLayout(mWorkspace.getContext(), mWorkspace)); in onCreate()
926 mWorkspace.removeExtraEmptyScreenDelayed(
957 mWorkspace.removeExtraEmptyScreenDelayed(
971 mWorkspace.getScreenWithId(presenterPos.screenId);
981 mWorkspace.removeExtraEmptyScreenDelayed(
1001 mWorkspace.removeExtraEmptyScreenDelayed(
1005 mWorkspace.removeExtraEmptyScreenDelayed(
1027 CellLayout dropLayout = mWorkspace.getScreenWithId(screenId);
1031 mWorkspace.addExtraEmptyScreens();
1032 IntSet emptyPagesAdded = mWorkspace.commitExtraEmptyScreens();
1041 CellLayout cellLayout = mWorkspace.getScreenWithId(
1070 mWorkspace.animateWidgetDrop(requestArgs, cellLayout,
1148 int pageIndex = mWorkspace.isOverlayShown() ? -1 : mWorkspace.getCurrentPage();
1163 if (statsLogOrdinal == LAUNCHER_STATE_HOME && mWorkspace != null) {
1219 mWorkspace.showPageIndicatorAtCurrentScroll();
1220 mWorkspace.setClipChildren(false);
1223 mWorkspace.getPageIndicator().setShouldAutoHide(!state.hasFlag(FLAG_MULTI_PAGE));
1370 mWorkspace = mDragLayer.findViewById(R.id.workspace);
1371 mWorkspace.initParentViews(mDragLayer);
1374 mHotseat.setWorkspace(mWorkspace);
1377 mDragLayer.setup(mDragController, mWorkspace);
1379 mWorkspace.setup(mDragController);
1382 mWorkspace.lockWallpaperToDefaultPage();
1384 mWorkspace.bindAndInitFirstWorkspaceScreen();
1386 mDragController.addDragListener(mWorkspace);
1402 mWorkspace.getPageIndicator().setShouldAutoHide(true);
1403 mWorkspace.getPageIndicator().setPaintColor(Themes.getAttrBoolean(
1450 if (mWorkspace.createUserFolderIfNecessary(view, container, layout, cellXY, 0,
1454 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject,
1463 mWorkspace.onNoCellFound(layout, info, /* logInstanceId= */ null);
1468 mWorkspace.addInScreen(view, info);
1483 return (FolderIcon) mWorkspace.getHomescreenIconByItemId(folderIconId);
1556 mWorkspace.addInScreen(hostView, launcherInfo);
1598 mWorkspace.updateNotificationDots(updatedDots);
1662 if (shouldMoveToDefaultScreen && !mWorkspace.isHandlingTouch()) {
1663 mWorkspace.post(mWorkspace::moveToDefaultScreen);
1698 if (mWorkspace.isOverlayShown()) {
1747 int pageIndex = mWorkspace.getPageIndexForScreenId(screenId);
1749 mWorkspace.restoreInstanceStateForChild(pageIndex);
1758 mWorkspace.getCurrentPageScreenIds().getArray().toArray());
1797 mWorkspace.removeFolderListeners();
1894 mWorkspace.removeExtraEmptyScreenDelayed(delay, false, onComplete);
1985 mWorkspace.addInScreen(newFolder, folderInfo);
1987 CellLayout parent = mWorkspace.getParentCellLayoutForView(newFolder);
2049 View collectionIcon = mWorkspace.getHomescreenIconByItemId(itemInfo.container);
2057 mWorkspace.removeWorkspaceItem(v);
2066 mWorkspace.removeWorkspaceItem(v);
2072 mWorkspace.removeWorkspaceItem(v);
2194 text.add(mWorkspace == null
2230 if (!mWorkspace.containsScreenId(screenId - 1)) {
2274 Workspace<?> workspace = mWorkspace;
2283 CellLayout cl = mWorkspace.getScreenWithId(presenterPos.screenId);
2317 int currentScreenId = mWorkspace.getScreenIdForPageIndex(mWorkspace.getNextPage());
2318 final int newScreenIndex = mWorkspace.getPageIndexForScreenId(newItemsScreenId);
2324 mWorkspace.postDelayed(() -> {
2326 mWorkspace.snapToPage(newScreenIndex);
2327 mWorkspace.postDelayed(startBounceAnimRunnable, NEW_APPS_ANIMATION_DELAY);
2330 mWorkspace.postDelayed(startBounceAnimRunnable, NEW_APPS_ANIMATION_DELAY);
2342 mWorkspace.addInScreen(view, item);
2343 mWorkspace.requestLayout();
2353 LauncherAppWidgetHostView view = mWorkspace.getWidgetForAppWidgetId(appWidgetId);
2480 List<ViewGroup> containers = new ArrayList<>(mWorkspace.getPanelCount() + 1);
2481 containers.add(mWorkspace.getHotseat().getShortcutsAndWidgets());
2482 mWorkspace.forEachVisiblePage(page
2667 for (int i = 0; i < mWorkspace.getPageCount(); i++) {
2670 ViewGroup layout = ((CellLayout) mWorkspace.getPageAt(i)).getShortcutsAndWidgets();
2966 mWorkspace.setLauncherOverlay(overlay);
3033 return mWorkspace;
3083 ? mHotseat : mWorkspace.getScreenWithId(screenId);