Searched refs:workspace (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DHandleView.java57 final Workspace workspace = mLauncher.getWorkspace();
58 workspace.dispatchUnhandledMove(null, direction);
60 this : workspace;
H A DFocusHelper.java34 * A keyboard listener we set on all the workspace icons.
43 * A keyboard listener we set on all the workspace icons.
491 * Handles key events in the workspace hotseat (bottom of the screen).
496 final Workspace workspace = (Workspace) launcher.findViewById(R.id.workspace);
499 final int pageIndex = workspace.getCurrentPage();
515 workspace.snapToPage(pageIndex - 1);
526 workspace.snapToPage(pageIndex + 1);
533 // Select the first bubble text view in the current page of the workspace
534 final CellLayout layout = (CellLayout) workspace
[all...]
H A DFolderIcon.java49 * An icon that can appear on in the workspace representing an {@link UserFolder}.
119 final Workspace workspace = (Workspace) cellLayout.getParent();
120 return !workspace.isSmall();
374 Workspace workspace = mLauncher.getWorkspace();
376 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent());
385 workspace.resetTransitionTransform((CellLayout) getParent().getParent());
H A DDragLayer.java87 // Disable multitouch across the workspace/all apps/customize tray
563 * only used for the X dimension for the case of the workspace.
745 // This ensures that the workspace is drawn above the hotseat and qsb,
746 // except when the workspace is drawing a background gradient, in which
747 // case we want the workspace to stay behind these elements.
783 Workspace workspace = mLauncher.getWorkspace();
784 int width = workspace.getWidth();
786 getDescendantRectRelativeToSelf(workspace.getChildAt(0), childRect);
788 int page = workspace.getNextPage();
790 CellLayout leftPage = (CellLayout) workspace
[all...]
H A DLauncher.java207 // How long to wait before the new-shortcut animation automatically pans the workspace
244 // scroll issues (because the workspace may not have been measured yet) and extra work.
574 // We prevent dragging when we are loading the workspace as it is possible to pick up a view
575 // that is subsequently removed from the workspace in startBinding().
619 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen,
621 // return to the workspace. Clearing mAddInfo.container here fixes this issue
805 // Resets the previous workspace icon press state
997 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace);
1013 // Setup the workspace
1067 * Add an application shortcut to the workspace
2483 setWorkspaceBackground(boolean workspace) argument
[all...]
H A DAppWidgetResizeFrame.java85 mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace);
H A DAppsCustomizePagedView.java454 // Ensure that all widgets we show can be added on a workspace of this size
884 Workspace workspace = (Workspace) target;
885 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFocusHelper.java33 * A keyboard listener we set on all the workspace icons.
42 * A keyboard listener we set on all the workspace icons.
490 * Handles key events in the workspace hotseat (bottom of the screen).
495 final Workspace workspace = (Workspace) launcher.findViewById(R.id.workspace);
498 final int pageIndex = workspace.getCurrentPage();
514 workspace.snapToPage(pageIndex - 1);
525 workspace.snapToPage(pageIndex + 1);
532 // Select the first bubble text view in the current page of the workspace
533 final CellLayout layout = (CellLayout) workspace
[all...]
H A DHotseat.java181 // We don't want any clicks to go through to the hotseat unless the workspace is in
191 Launcher launcher, Workspace workspace) {
207 workspace.addInScreen(folder, fi.container, fi.screenId, fi.cellX, fi.cellY,
189 addAllAppsFolder(IconCache iconCache, ArrayList<AppInfo> allApps, ArrayList<ComponentName> onWorkspace, Launcher launcher, Workspace workspace) argument
H A DDynamicGrid.java305 // Pad the left and right of the workspace with search/hotseat bar sizes
310 // Pad the left and right of the workspace to ensure consistent spacing
324 // Pad the top and bottom of the workspace with search/hotseat bar sizes
334 // The rect returned will be extended to below the system ui that covers the workspace
415 // Layout the workspace
416 View workspace = launcher.findViewById(R.id.workspace);
417 lp = (FrameLayout.LayoutParams) workspace.getLayoutParams();
422 workspace.setPadding(padding.left, padding.top,
424 workspace
[all...]
H A DFolderIcon.java50 * An icon that can appear on in the workspace representing an {@link UserFolder}.
124 final Workspace workspace = (Workspace) cellLayout.getParent();
125 return !workspace.isSmall();
390 Workspace workspace = mLauncher.getWorkspace();
392 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent());
401 workspace.resetTransitionTransform((CellLayout) getParent().getParent());
H A DDragLayer.java85 // Disable multitouch across the workspace/all apps/customize tray
592 * only used for the X dimension for the case of the workspace.
774 // This ensures that the workspace is drawn above the hotseat and qsb,
775 // except when the workspace is drawing a background gradient, in which
776 // case we want the workspace to stay behind these elements.
812 Workspace workspace = mLauncher.getWorkspace();
815 getDescendantRectRelativeToSelf(workspace.getChildAt(0), childRect);
817 int page = workspace.getNextPage();
819 CellLayout leftPage = (CellLayout) workspace.getChildAt(isRtl ? page + 1 : page - 1);
820 CellLayout rightPage = (CellLayout) workspace
[all...]
H A DLauncher.java208 // How long to wait before the new-shortcut animation automatically pans the workspace
248 // scroll issues (because the workspace may not have been measured yet) and extra work.
657 // We prevent dragging when we are loading the workspace as it is possible to pick up a view
658 // that is subsequently removed from the workspace in startBinding().
699 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen,
701 // return to the workspace. Clearing mAddInfo.container here fixes this issue
888 // Resets the previous workspace icon press state
1140 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace);
1185 // Setup the workspace
1254 * Add an application shortcut to the workspace
2683 setWorkspaceBackground(boolean workspace) argument
[all...]
H A DAppsCustomizePagedView.java446 // Ensure that all widgets we show can be added on a workspace of this size
868 Workspace workspace = (Workspace) target;
869 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen);
H A DCellLayout.java618 // per workspace screen
692 Workspace workspace = (Workspace) getParent();
693 mCellInfo.screenId = workspace.getIdForScreen(this);

Completed in 325 milliseconds