Home | History | Annotate | Download | only in launcher2

Lines Matching refs:workspace

195     private enum State { NONE, WORKSPACE, APPS_CUSTOMIZE, APPS_CUSTOMIZE_SPRING_LOADED };
196 private State mState = State.WORKSPACE;
209 // How long to wait before the new-shortcut animation automatically pans the workspace
218 private Workspace mWorkspace;
246 // scroll issues (because the workspace may not have been measured yet) and extra work.
600 // We prevent dragging when we are loading the workspace as it is possible to pick up a view
601 // that is subsequently removed from the workspace in startBinding().
645 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen,
647 // return to the workspace. Clearing mAddInfo.container here fixes this issue
728 animationType = Workspace.COMPLETE_TWO_STAGE_WIDGET_DROP_ANIMATION;
743 animationType = Workspace.CANCEL_TWO_STAGE_WIDGET_DROP_ANIMATION;
783 if (mOnResumeState == State.WORKSPACE) {
791 setWorkspaceBackground(mState == State.WORKSPACE);
831 // Resets the previous workspace icon press state
944 State state = State.WORKSPACE;
965 State state = intToState(savedState.getInt(RUNTIME_STATE, State.WORKSPACE.ordinal()));
1023 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace);
1039 // Setup the workspace
1093 * Add an application shortcut to the workspace.
1127 * Add a shortcut to the workspace.
1213 * Add a widget to the workspace.
1360 // you're in All Apps and click home to go to the workspace. onWindowVisibilityChanged
1367 // layers on all the workspace pages, so that transitioning to Launcher from other
1516 if (alreadyOnHome && mState == State.WORKSPACE && !mWorkspace.isTouchActive() &&
1524 // If we are already on home, then just animate back to the workspace,
1525 // otherwise, just wait until onResume to set the state back to Workspace
1529 mOnResumeState = State.WORKSPACE;
1632 // Disconnect any of the callbacks and drawables associated with ItemInfos on the workspace
2077 // clicking anywhere on the workspace causes the customization drawer to slide down
2411 // the workspace items
2440 // longer occludeds the workspace items
2447 if (mState != State.WORKSPACE) return false;
2460 // The hotseat touch handling does not go through Workspace, and we always allow long press
2506 Workspace getWorkspace() {
2541 private void setWorkspaceBackground(boolean workspace) {
2542 mLauncherView.setBackground(workspace ?
2567 // Update the workspace transition step as well
2582 // Update the workspace transition step as well
2588 * - Home from workspace
2597 * - Launch app from workspace and quit
2607 * - On workspace, long press power and go back
2613 * - On workspace, power off
2617 * - Go back with back key TODO: make this not go to workspace
2619 * - From workspace
2622 * - From the center workspace
2623 * - From another workspace
2627 * Zoom the camera out from the workspace to reveal 'toView'.
2649 // Shrink workspaces away if going to AppsCustomize from workspace
2651 mWorkspace.getChangeStateAnimation(Workspace.State.SMALL, animated);
2660 setInterpolator(new Workspace.ZoomOutInterpolator());
2680 // toView should appear right at the end of the workspace shrink
2704 // Hide the workspace scrollbar
2774 // Hide the workspace scrollbar
2794 * Zoom the camera back into the workspace, hiding 'fromView'.
2817 if (toState == State.WORKSPACE) {
2820 Workspace.State.NORMAL, animated, stagger);
2823 Workspace.State.SPRING_LOADED, animated);
2835 setInterpolator(new Workspace.ZoomInInterpolator());
2923 if (mState != State.WORKSPACE) {
2926 hideAppsCustomizeHelper(State.WORKSPACE, animated, false, onCompleteRunnable);
2946 mState = State.WORKSPACE;
2958 if (mState != State.WORKSPACE) return;
2992 // Before we show workspace, hide all apps again because
3094 * Add an item from all apps or customize onto the given workspace screen.
3451 * Refreshes the shortcuts shown on the workspace.
3461 final Workspace workspace = mWorkspace;
3465 int count = workspace.getChildCount();
3468 final CellLayout layoutParent = (CellLayout) workspace.getChildAt(i);
3495 Workspace workspace = mWorkspace;
3511 workspace.addInScreen(shortcut, item.container, item.screen, item.cellX,
3532 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()),
3534 workspace.addInScreen(newFolder, item.container, item.screen, item.cellX,
3540 workspace.requestLayout();
3559 * Add the views for a widget to the workspace.
3576 final Workspace workspace = mWorkspace;
3589 workspace.addInScreen(item.hostView, item.container, item.screen, item.cellX,
3593 workspace.requestLayout();
3825 * we only remove specific components from the workspace, where as
4053 // If we're not using the default workspace layout, replace workspace cling
4054 // with a custom workspace cling (usually specified in an overlay)