Searched refs:mWorkspace (Results 1 - 11 of 11) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DOverviewScreenAccessibilityDelegate.java40 private final Workspace mWorkspace; field in class:OverviewScreenAccessibilityDelegate
43 mWorkspace = workspace;
45 Context context = mWorkspace.getContext();
59 int index = mWorkspace.indexOfChild(host);
60 mWorkspace.setCurrentPage(index);
62 movePage(mWorkspace.indexOfChild(host) + 1, host);
65 movePage(mWorkspace.indexOfChild(host) - 1, host);
74 mWorkspace.onStartReordering();
75 mWorkspace.removeView(view);
76 mWorkspace
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPinchToOverviewListener.java47 private Workspace mWorkspace = null; field in class:PinchToOverviewListener
95 if (mWorkspace == null) {
96 mWorkspace = mLauncher.getWorkspace();
97 mThresholdManager = new PinchThresholdManager(mWorkspace);
100 if (mWorkspace.isSwitchingState() || mWorkspace.mScrollInteractionBegan) {
110 mPreviousProgress = mWorkspace.isInOverviewMode() ? OVERVIEW_PROGRESS : WORKSPACE_PROGRESS;
112 mInterpolator = mWorkspace.isInOverviewMode() ? new LogDecelerateInterpolator(100, 0)
115 mWorkspace.onLauncherTransitionPrepare(mLauncher, false, true);
125 boolean isFling = mWorkspace
[all...]
H A DPinchThresholdManager.java32 private Workspace mWorkspace; field in class:PinchThresholdManager
37 mWorkspace = workspace;
53 if (!mWorkspace.isInOverviewMode()) {
71 Workspace.State fromState = mWorkspace.isInOverviewMode() ? Workspace.State.OVERVIEW
73 Workspace.State toState = mWorkspace.isInOverviewMode() ? Workspace.State.NORMAL
H A DPinchAnimationManager.java63 private Workspace mWorkspace; field in class:PinchAnimationManager
72 mWorkspace = launcher.mWorkspace;
74 mOverviewScale = mWorkspace.getOverviewModeShrinkFactor();
75 mOverviewTranslationY = mWorkspace.getOverviewModeTranslationY();
76 mNormalOverviewTransitionDuration = mWorkspace.getStateTransitionAnimation()
110 mWorkspace.onLauncherTransitionEnd(mLauncher, false, true);
129 mWorkspace.setScaleX(interpolatedScale);
130 mWorkspace.setScaleY(interpolatedScale);
131 mWorkspace
[all...]
H A DWorkspaceStateTransitionAnimation.java189 final @Thunk Workspace mWorkspace; field in class:WorkspaceStateTransitionAnimation
209 mWorkspace = workspace;
225 mWorkspace.snapToPage(whichPage, mOverviewTransitionTime, mZoomInInterpolator);
284 finalWorkspaceTranslationY = mWorkspace.getOverviewModeTranslationY();
286 finalWorkspaceTranslationY = mWorkspace.getSpringLoadedTranslationY();
289 final int childCount = mWorkspace.getChildCount();
290 final int customPageCount = mWorkspace.numCustomPages();
295 mWorkspace.disableFreeScroll();
297 mWorkspace.enableFreeScroll();
308 int toPage = mWorkspace
[all...]
H A DLauncher.java226 @Thunk Workspace mWorkspace; field in class:Launcher
339 if (mWorkspace != null) {
340 mWorkspace.buildPageHardwareLayers();
444 if (!mModel.startLoader(mWorkspace.getRestorePage())) {
487 mWorkspace.getPageIndicator().updateColor(mExtractedColors);
535 mWorkspace.setLauncherOverlay(overlay);
554 if (mWorkspace != null) {
556 mWorkspace.getImportantForAccessibility();
557 mWorkspace.setImportantForAccessibility(
571 if (mWorkspaceImportanceStored && mWorkspace !
[all...]
H A DCellLayout.java354 if (mLauncher.mWorkspace.isInOverviewMode()
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DWallpaperOffsetInterpolator.java26 private final Workspace mWorkspace; field in class:WallpaperOffsetInterpolator
48 mWorkspace = workspace;
128 rightPageIndex = mWorkspace.numCustomPages();
131 leftPageIndex = mWorkspace.numCustomPages();
136 int leftPageScrollX = mWorkspace.getScrollForPage(leftPageIndex);
137 int rightPageScrollX = mWorkspace.getScrollForPage(rightPageIndex);
146 mWorkspace.getLayoutTransitionOffsetForPage(0);
162 return wallpaperOffsetForScroll(mWorkspace.getScrollX());
166 int numScrollingPages = mWorkspace.getChildCount() - mWorkspace
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncher.java218 private Workspace mWorkspace; field in class:Launcher
325 if (mWorkspace != null) {
326 mWorkspace.buildPageHardwareLayers();
419 mModel.startLoader(true, mWorkspace.getCurrentPage());
722 (CellLayout) mWorkspace.getChildAt(mPendingAddInfo.screen);
753 mWorkspace.animateWidgetDrop(mPendingAddInfo, cellLayout,
908 boolean gotKey = TextKeyListener.getInstance().onKeyDown(mWorkspace, mDefaultKeySsb,
972 mWorkspace.setCurrentPage(currentScreen);
1023 mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace);
1040 mWorkspace
[all...]
H A DAppWidgetResizeFrame.java22 private Workspace mWorkspace; field in class:AppWidgetResizeFrame
85 mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace);
403 + mDragLayer.getPaddingLeft() - mWorkspace.getScrollX();
405 + mDragLayer.getPaddingTop() - mWorkspace.getScrollY();
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsTransitionController.java58 private Workspace mWorkspace; field in class:AllAppsTransitionController
310 mWorkspace.setHotseatTranslationAndAlpha(Workspace.Direction.Y, -mShiftRange + shiftCurrent,
313 mWorkspace.setHotseatTranslationAndAlpha(Workspace.Direction.Y,
321 mWorkspace.setWorkspaceYTranslationAndAlpha(
516 mWorkspace = workspace;
520 mWorkspace.getPageIndicator().getCaretDrawable(), mLauncher);

Completed in 269 milliseconds