Home | History | Annotate | Download | only in launcher2

Lines Matching refs: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.
1101 * Add a shortcut to the workspace.
1187 * Add a widget to the workspace.
1334 // you're in All Apps and click home to go to the workspace. onWindowVisibilityChanged
1341 // layers on all the workspace pages, so that transitioning to Launcher from other
1490 if (alreadyOnHome && mState == State.WORKSPACE && !mWorkspace.isTouchActive() &&
1498 // If we are already on home, then just animate back to the workspace,
1499 // otherwise, just wait until onResume to set the state back to Workspace
1503 mOnResumeState = State.WORKSPACE;
1606 // Disconnect any of the callbacks and drawables associated with ItemInfos on the workspace
2051 // clicking anywhere on the workspace causes the customization drawer to slide down
2385 // the workspace items
2414 // longer occludeds the workspace items
2421 if (mState != State.WORKSPACE) return false;
2434 // The hotseat touch handling does not go through Workspace, and we always allow long press
2480 Workspace getWorkspace() {
2515 private void setWorkspaceBackground(boolean workspace) {
2516 mLauncherView.setBackground(workspace ?
2541 // Update the workspace transition step as well
2556 // Update the workspace transition step as well
2562 * - Home from workspace
2571 * - Launch app from workspace and quit
2581 * - On workspace, long press power and go back
2587 * - On workspace, power off
2591 * - Go back with back key TODO: make this not go to workspace
2593 * - From workspace
2596 * - From the center workspace
2597 * - From another workspace
2601 * Zoom the camera out from the workspace to reveal 'toView'.
2623 // Shrink workspaces away if going to AppsCustomize from workspace
2625 mWorkspace.getChangeStateAnimation(Workspace.State.SMALL, animated);
2634 setInterpolator(new Workspace.ZoomOutInterpolator());
2654 // toView should appear right at the end of the workspace shrink
2678 // Hide the workspace scrollbar
2748 // Hide the workspace scrollbar
2768 * Zoom the camera back into the workspace, hiding 'fromView'.
2791 if (toState == State.WORKSPACE) {
2794 Workspace.State.NORMAL, animated, stagger);
2797 Workspace.State.SPRING_LOADED, animated);
2809 setInterpolator(new Workspace.ZoomInInterpolator());
2897 if (mState != State.WORKSPACE) {
2900 hideAppsCustomizeHelper(State.WORKSPACE, animated, false, onCompleteRunnable);
2920 mState = State.WORKSPACE;
2932 if (mState != State.WORKSPACE) return;
2966 // Before we show workspace, hide all apps again because
3068 * Add an item from all apps or customize onto the given workspace screen.
3425 * Refreshes the shortcuts shown on the workspace.
3435 final Workspace workspace = mWorkspace;
3439 int count = workspace.getChildCount();
3442 final CellLayout layoutParent = (CellLayout) workspace.getChildAt(i);
3469 Workspace workspace = mWorkspace;
3485 workspace.addInScreen(shortcut, item.container, item.screen, item.cellX,
3506 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()),
3508 workspace.addInScreen(newFolder, item.container, item.screen, item.cellX,
3514 workspace.requestLayout();
3533 * Add the views for a widget to the workspace.
3550 final Workspace workspace = mWorkspace;
3563 workspace.addInScreen(item.hostView, item.container, item.screen, item.cellX,
3567 workspace.requestLayout();
3799 * we only remove specific components from the workspace, where as
4020 // If we're not using the default workspace layout, replace workspace cling
4021 // with a custom workspace cling (usually specified in an overlay)