Home | History | Annotate | Download | only in launcher2

Lines Matching defs:WORKSPACE

193     private enum State { NONE, WORKSPACE, APPS_CUSTOMIZE, APPS_CUSTOMIZE_SPRING_LOADED };
194 private State mState = State.WORKSPACE;
207 // How long to wait before the new-shortcut animation automatically pans the workspace
216 private Workspace mWorkspace;
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
702 animationType = Workspace.COMPLETE_TWO_STAGE_WIDGET_DROP_ANIMATION;
717 animationType = Workspace.CANCEL_TWO_STAGE_WIDGET_DROP_ANIMATION;
757 if (mOnResumeState == State.WORKSPACE) {
765 setWorkspaceBackground(mState == State.WORKSPACE);
805 // Resets the previous workspace icon press state
918 State state = State.WORKSPACE;
939 State state = intToState(savedState.getInt(RUNTIME_STATE, State.WORKSPACE.ordinal()));
997 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace);
1013 // Setup the workspace
1067 * Add an application shortcut to the workspace.
1099 * Add a shortcut to the workspace.
1184 * Add a widget to the workspace.
1325 // you're in All Apps and click home to go to the workspace. onWindowVisibilityChanged
1332 // layers on all the workspace pages, so that transitioning to Launcher from other
1481 if (alreadyOnHome && mState == State.WORKSPACE && !mWorkspace.isTouchActive() &&
1489 // If we are already on home, then just animate back to the workspace,
1490 // otherwise, just wait until onResume to set the state back to Workspace
1494 mOnResumeState = State.WORKSPACE;
1597 // Disconnect any of the callbacks and drawables associated with ItemInfos on the workspace
2050 workspace causes the customization drawer to slide down
2353 // the workspace items
2382 // longer occludeds the workspace items
2389 if (mState != State.WORKSPACE) return false;
2402 // The hotseat touch handling does not go through Workspace, and we always allow long press
2448 Workspace getWorkspace() {
2483 private void setWorkspaceBackground(boolean workspace) {
2484 mLauncherView.setBackground(workspace ?
2509 // Update the workspace transition step as well
2524 // Update the workspace transition step as well
2530 * - Home from workspace
2539 * - Launch app from workspace and quit
2549 * - On workspace, long press power and go back
2555 * - On workspace, power off
2559 * - Go back with back key TODO: make this not go to workspace
2561 * - From workspace
2564 * - From the center workspace
2565 * - From another workspace
2569 * Zoom the camera out from the workspace to reveal 'toView'.
2591 // Shrink workspaces away if going to AppsCustomize from workspace
2593 mWorkspace.getChangeStateAnimation(Workspace.State.SMALL, animated);
2602 setInterpolator(new Workspace.ZoomOutInterpolator());
2622 // toView should appear right at the end of the workspace shrink
2646 // Hide the workspace scrollbar
2716 // Hide the workspace scrollbar
2736 * Zoom the camera back into the workspace, hiding 'fromView'.
2759 if (toState == State.WORKSPACE) {
2762 Workspace.State.NORMAL, animated, stagger);
2765 Workspace.State.SPRING_LOADED, animated);
2777 setInterpolator(new Workspace.ZoomInInterpolator());
2865 if (mState != State.WORKSPACE) {
2868 hideAppsCustomizeHelper(State.WORKSPACE, animated, false, onCompleteRunnable);
2888 mState = State.WORKSPACE;
2900 if (mState != State.WORKSPACE) return;
2934 // Before we show workspace, hide all apps again because
3036 * Add an item from all apps or customize onto the given workspace screen.
3393 * Refreshes the shortcuts shown on the workspace.
3403 final Workspace workspace = mWorkspace;
3407 int count = workspace.getChildCount();
3410 final CellLayout layoutParent = (CellLayout) workspace.getChildAt(i);
3437 Workspace workspace = mWorkspace;
3453 workspace.addInScreen(shortcut, item.container, item.screen, item.cellX,
3474 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()),
3476 workspace.addInScreen(newFolder, item.container, item.screen, item.cellX,
3482 workspace.requestLayout();
3501 * Add the views for a widget to the workspace.
3518 final Workspace workspace = mWorkspace;
3531 workspace.addInScreen(item.hostView, item.container, item.screen, item.cellX,
3535 workspace.requestLayout();
3767 * we only remove specific components from the workspace, where as
3983 // If we're not using the default workspace layout, replace workspace cling
3984 // with a custom workspace cling (usually specified in an overlay)