Home
last modified time | relevance | path

Searched refs:mWorkspace (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java225 Workspace mWorkspace; field in Launcher
373 mWorkspace.setCurrentPage(currentScreen); in onCreate()
463 int currentPage = mWorkspace.getNextPage(); in rebindModel()
465 mWorkspace.setCurrentPage(currentPage); in rebindModel()
586 mWorkspace.setLauncherOverlay(overlay); in setLauncherOverlay()
705 mWorkspace.removeExtraEmptyScreenDelayed(true, exitSpringLoaded, in handleActivityResult()
743 mWorkspace.removeExtraEmptyScreenDelayed(true, onComplete, in handleActivityResult()
753 mWorkspace.getScreenWithId(requestArgs.screenId); in handleActivityResult()
763 mWorkspace.removeExtraEmptyScreenDelayed(true, onComplete, in handleActivityResult()
783 mWorkspace.removeExtraEmptyScreenDelayed(true, exitSpringLoaded, in handleActivityResult()
[all …]
DWorkspaceStateTransitionAnimation.java49 private final Workspace mWorkspace; field in WorkspaceStateTransitionAnimation
55 mWorkspace = workspace; in WorkspaceStateTransitionAnimation()
82 final int childCount = mWorkspace.getChildCount(); in setWorkspaceProperty()
84 applyChildState(state, (CellLayout) mWorkspace.getChildAt(i), i, pageAlphaProvider, in setWorkspaceProperty()
92 Hotseat hotseat = mWorkspace.getHotseat(); in setWorkspaceProperty()
95 propertySetter.setFloat(mWorkspace, SCALE_PROPERTY, mNewScale, scaleInterpolator); in setWorkspaceProperty()
102 hotseat.setPivotY(mWorkspace.getPivotY() + mWorkspace.getTop() - hotseat.getTop()); in setWorkspaceProperty()
103 hotseat.setPivotX(mWorkspace.getPivotX() in setWorkspaceProperty()
104 + mWorkspace.getLeft() - hotseat.getLeft()); in setWorkspaceProperty()
126 propertySetter.setFloat(mWorkspace, View.TRANSLATION_X, in setWorkspaceProperty()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java64 private final Workspace mWorkspace; field in WorkspaceTouchListener
74 mWorkspace = workspace; in WorkspaceTouchListener()
107 mWorkspace.onTouchEvent(ev); in onTouch()
115 mWorkspace.onTouchEvent(ev); in onTouch()
126 mWorkspace.onTouchEvent(ev); in onTouch()
127 if (mWorkspace.isHandlingTouch()) { in onTouch()
141 if (!mWorkspace.isHandlingTouch()) { in onTouch()
143 (CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage()); in onTouch()
145 mWorkspace.onWallpaperTap(ev); in onTouch()
171 mWorkspace.getParent().requestDisallowInterceptTouchEvent(true); in onLongPress()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java33 private final Workspace mWorkspace; field in WallpaperOffsetInterpolator
45 mWorkspace = workspace; in WallpaperOffsetInterpolator()
93 int leftPageScrollX = mWorkspace.getScrollForPage(leftPageIndex); in wallpaperOffsetForScroll()
94 int rightPageScrollX = mWorkspace.getScrollForPage(rightPageIndex); in wallpaperOffsetForScroll()
104 mWorkspace.getLayoutTransitionOffsetForPage(0); in wallpaperOffsetForScroll()
124 int numScrollingPages = mWorkspace.getChildCount(); in getNumScreensExcludingEmpty()
125 if (numScrollingPages >= MIN_PARALLAX_PAGE_SPAN && mWorkspace.hasExtraEmptyScreen()) { in getNumScreensExcludingEmpty()
134 wallpaperOffsetForScroll(mWorkspace.getScrollX(), numScreens, sTempInt); in syncWithScroll()
166 mWorkspace.getContext().unregisterReceiver(this); in setWindowToken()
169 mWorkspace.getContext() in setWindowToken()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java143 private final CellLayout mWorkspace;
160 mWorkspace = mRootView.findViewById(R.id.workspace);
161 mWorkspace.setPadding(mDp.workspacePadding.left + mDp.cellLayoutPaddingLeftRightPx,
215 return mWorkspace;
220 R.layout.app_icon, mWorkspace, false);
265 R.layout.search_container_workspace, mWorkspace, false);
267 new CellLayout.LayoutParams(0, 0, mWorkspace.getCountX(), 1);
269 mWorkspace.addViewToCellLayout(qsb, 0, R.id.search_container_workspace, lp, true);
DWorkspaceAndHotseatScrim.java106 private Workspace mWorkspace; field in WorkspaceAndHotseatScrim
136 mWorkspace = workspace; in setWorkspace()
143 mWorkspace.computeScrollWithoutInvalidation(); in draw()
144 CellLayout currCellLayout = mWorkspace.getCurrentDragOverlappingLayout(); in draw()