Home | History | Annotate | Download | only in launcher3

Lines Matching refs:WORKSPACE

228     private enum State { NONE, WORKSPACE, APPS_CUSTOMIZE, APPS_CUSTOMIZE_SPRING_LOADED };
229 private State mState = State.WORKSPACE;
245 // How long to wait before the new-shortcut animation automatically pans the workspace
257 private Workspace mWorkspace;
288 // scroll issues (because the workspace may not have been measured yet) and extra work.
675 // We prevent dragging when we are loading the workspace as it is possible to pick up a view
676 // that is subsequently removed from the workspace in startBinding().
745 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen,
747 // return to the workspace. Clearing mAddInfo.container here fixes this issue
928 animationType = Workspace.COMPLETE_TWO_STAGE_WIDGET_DROP_ANIMATION;
943 animationType = Workspace.CANCEL_TWO_STAGE_WIDGET_DROP_ANIMATION;
977 if (mOnResumeState == State.WORKSPACE) {
985 setWorkspaceBackground(mState == State.WORKSPACE);
1027 // Resets the previous workspace icon press state
1202 State state = State.WORKSPACE;
1224 State state = intToState(savedState.getInt(RUNTIME_STATE, State.WORKSPACE.ordinal()));
1284 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace);
1345 // Setup the workspace
1427 * Add a shortcut to the workspace.
1512 * Add a widget to the workspace.
1715 // you're in All Apps and click home to go to the workspace. onWindowVisibilityChanged
1722 // layers on all the workspace pages, so that transitioning to Launcher from other
1831 public Workspace getWorkspace() {
1890 if (alreadyOnHome && mState == State.WORKSPACE && !mWorkspace.isTouchActive() &&
1898 // If we are already on home, then just animate back to the workspace,
1899 // otherwise, just wait until onResume to set the state back to Workspace
1903 mOnResumeState = State.WORKSPACE;
2022 // Disconnect any of the callbacks and drawables associated with ItemInfos on the workspace
2439 if (v instanceof Workspace) {
3003 // the workspace items
3029 // longer occludeds the workspace items
3036 if (mState != State.WORKSPACE) return false;
3038 if (v instanceof Workspace) {
3061 // The hotseat touch handling does not go through Workspace, and we always allow long press
3113 private void setWorkspaceBackground(boolean workspace) {
3114 mLauncherView.setBackground(workspace ?
3139 // Update the workspace transition step as well
3154 // Update the workspace transition step as well
3160 * - Home from workspace
3169 * - Launch app from workspace and quit
3179 * - On workspace, long press power and go back
3185 * - On workspace, power off
3189 * - Go back with back key TODO: make this not go to workspace
3191 * - From workspace
3194 * - From the center workspace
3195 * - From another workspace
3199 * Zoom the camera out from the workspace to reveal 'toView'.
3232 Workspace.State workspaceState = contentType == AppsCustomizePagedView.ContentType.Widgets ?
3233 Workspace.State.OVERVIEW_HIDDEN : Workspace.State.NORMAL_HIDDEN;
3440 * Zoom the camera back into the workspace, hiding 'fromView'.
3444 private void hideAppsCustomizeHelper(Workspace.State toState, final boolean animated,
3469 if (toState == Workspace.State.NORMAL) {
3472 } else if (toState == Workspace.State.SPRING_LOADED ||
3473 toState == Workspace.State.OVERVIEW) {
3719 if (mState != State.WORKSPACE || mWorkspace.getState() != Workspace.State.NORMAL) {
3720 boolean wasInSpringLoadedMode = (mState != State.WORKSPACE);
3722 hideAppsCustomizeHelper(Workspace.State.NORMAL, animated, false, onCompleteRunnable);
3737 mState = State.WORKSPACE;
3752 hideAppsCustomizeHelper(Workspace.State.OVERVIEW, animated, false, null);
3753 mState = State.WORKSPACE;
3762 if (mState != State.WORKSPACE) return;
3791 hideAppsCustomizeHelper(Workspace.State.SPRING_LOADED, true, true, null);
3804 // Before we show workspace, hide all apps again because
3854 * Add an item from all apps or customize onto the given workspace screen.
4198 * Refreshes the shortcuts shown on the workspace.
4210 // Clear the workspace because it's going to be rebound
4331 Workspace workspace = mWorkspace;
4356 String desc = "Collision while binding workspace item: " + item
4366 workspace.addInScreenFromBind(shortcut, item.container, item.screenId, item.cellX,
4379 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()),
4381 workspace.addInScreenFromBind(newFolder, item.container, item.screenId, item.cellX,
4417 workspace.requestLayout();
4437 * Add the views for a widget to the workspace.
4455 final Workspace workspace = mWorkspace;
4529 workspace.addInScreen(item.hostView, item.container, item.screenId, item.cellX,
4533 workspace.requestLayout();
4598 // the workspace restore process.
4768 * we only remove specific components from the workspace, where as