Home | History | Annotate | Download | only in launcher2

Lines Matching refs:WORKSPACE

186     private enum State { NONE, WORKSPACE, APPS_CUSTOMIZE, APPS_CUSTOMIZE_SPRING_LOADED };
187 private State mState = State.WORKSPACE;
200 // How long to wait before the new-shortcut animation automatically pans the workspace
209 private Workspace mWorkspace;
235 // scroll issues (because the workspace may not have been measured yet) and extra work.
568 // We prevent dragging when we are loading the workspace as it is possible to pick up a view
569 // that is subsequently removed from the workspace in startBinding().
613 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen,
615 // return to the workspace. Clearing mAddInfo.container here fixes this issue
685 animationType = Workspace.COMPLETE_TWO_STAGE_WIDGET_DROP_ANIMATION;
699 animationType = Workspace.CANCEL_TWO_STAGE_WIDGET_DROP_ANIMATION;
723 if (mOnResumeState == State.WORKSPACE) {
745 // Resets the previous workspace icon press state
855 State state = State.WORKSPACE;
876 State state = intToState(savedState.getInt(RUNTIME_STATE, State.WORKSPACE.ordinal()));
932 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace);
945 // Setup the workspace
1000 * Add an application shortcut to the workspace.
1032 * Add a shortcut to the workspace.
1117 * Add a widget to the workspace.
1258 // you're in All Apps and click home to go to the workspace. onWindowVisibilityChanged
1265 // layers on all the workspace pages, so that transitioning to Launcher from other
1396 if (alreadyOnHome && mState == State.WORKSPACE && !mWorkspace.isTouchActive() &&
1404 // If we are already on home, then just animate back to the workspace,
1405 // otherwise, just wait until onResume to set the state back to Workspace
1409 mOnResumeState = State.WORKSPACE;
1508 // Disconnect any of the callbacks and drawables associated with ItemInfos on the workspace
1960 // clicking anywhere on the workspace causes the customization drawer to slide down
2290 if (mState != State.WORKSPACE) return false;
2303 // The hotseat touch handling does not go through Workspace, and we always allow long press
2349 Workspace getWorkspace() {
2403 // Update the workspace transition step as well
2418 // Update the workspace transition step as well
2424 * - Home from workspace
2433 * - Launch app from workspace and quit
2443 * - On workspace, long press power and go back
2449 * - On workspace, power off
2453 * - Go back with back key TODO: make this not go to workspace
2455 * - From workspace
2458 workspace
2459 * - From another workspace
2463 * Zoom the camera out from the workspace to reveal 'toView'.
2484 // Shrink workspaces away if going to AppsCustomize from workspace
2486 mWorkspace.getChangeStateAnimation(Workspace.State.SMALL, animated);
2495 setInterpolator(new Workspace.ZoomOutInterpolator());
2515 // toView should appear right at the end of the workspace shrink
2539 // Hide the workspace scrollbar
2621 // Hide the workspace scrollbar
2641 * Zoom the camera back into the workspace, hiding 'fromView'.
2663 if (toState == State.WORKSPACE) {
2666 Workspace.State.NORMAL, animated, stagger);
2669 Workspace.State.SPRING_LOADED, animated);
2681 setInterpolator(new Workspace.ZoomInInterpolator());
2776 if (mState != State.WORKSPACE) {
2779 hideAppsCustomizeHelper(State.WORKSPACE, animated, false, onCompleteRunnable);
2799 mState = State.WORKSPACE;
2811 if (mState != State.WORKSPACE) return;
2845 // Before we show workspace, hide all apps again because
2947 * Add an item from all apps or customize onto the given workspace screen.
3272 * Refreshes the shortcuts shown on the workspace.
3277 final Workspace workspace = mWorkspace;
3282 int count = workspace.getChildCount();
3285 final CellLayout layoutParent = (CellLayout) workspace.getChildAt(i);
3306 Workspace workspace = mWorkspace;
3322 workspace.addInScreen(shortcut, item.container, item.screen, item.cellX,
3343 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()),
3345 workspace.addInScreen(newFolder, item.container, item.screen, item.cellX,
3351 workspace.requestLayout();
3364 * Add the views for a widget to the workspace.
3375 final Workspace workspace = mWorkspace;
3388 workspace.addInScreen(item.hostView, item.container, item.screen, item.cellX,
3392 workspace.requestLayout();
3778 // If we're not using the default workspace layout, replace workspace cling
3779 // with a custom workspace cling (usually specified in an overlay)