/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 221 @Thunk Workspace mWorkspace; field in Launcher 364 mWorkspace.setCurrentPage(currentScreen); in onCreate() 453 int currentPage = mWorkspace.getNextPage(); in rebindModel() 455 mWorkspace.setCurrentPage(currentPage); in rebindModel() 570 mWorkspace.setLauncherOverlay(overlay); in setLauncherOverlay() 689 mWorkspace.removeExtraEmptyScreenDelayed(true, exitSpringLoaded, in handleActivityResult() 727 mWorkspace.removeExtraEmptyScreenDelayed(true, onComplete, in handleActivityResult() 737 mWorkspace.getScreenWithId(requestArgs.screenId); in handleActivityResult() 747 mWorkspace.removeExtraEmptyScreenDelayed(true, onComplete, in handleActivityResult() 767 mWorkspace.removeExtraEmptyScreenDelayed(true, exitSpringLoaded, in handleActivityResult() [all …]
|
D | WorkspaceStateTransitionAnimation.java | 50 private final Workspace mWorkspace; field in WorkspaceStateTransitionAnimation 56 mWorkspace = workspace; in WorkspaceStateTransitionAnimation() 83 final int childCount = mWorkspace.getChildCount(); in setWorkspaceProperty() 85 applyChildState(state, (CellLayout) mWorkspace.getChildAt(i), i, pageAlphaProvider, in setWorkspaceProperty() 93 Hotseat hotseat = mWorkspace.getHotseat(); in setWorkspaceProperty() 96 propertySetter.setFloat(mWorkspace, SCALE_PROPERTY, mNewScale, scaleInterpolator); in setWorkspaceProperty() 102 new float[]{ mWorkspace.getPivotX(), mWorkspace.getPivotY() }; in setWorkspaceProperty() 103 dragLayer.getDescendantCoordRelativeToSelf(mWorkspace, workspacePivot); in setWorkspaceProperty() 128 propertySetter.setFloat(mWorkspace, View.TRANSLATION_X, in setWorkspaceProperty() 130 propertySetter.setFloat(mWorkspace, View.TRANSLATION_Y, in setWorkspaceProperty() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | WorkspaceTouchListener.java | 64 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/ |
D | WallpaperOffsetInterpolator.java | 31 private final Workspace mWorkspace; field in WallpaperOffsetInterpolator 43 mWorkspace = workspace; in WallpaperOffsetInterpolator() 91 int leftPageScrollX = mWorkspace.getScrollForPage(leftPageIndex); in wallpaperOffsetForScroll() 92 int rightPageScrollX = mWorkspace.getScrollForPage(rightPageIndex); in wallpaperOffsetForScroll() 102 mWorkspace.getLayoutTransitionOffsetForPage(0); in wallpaperOffsetForScroll() 122 int numScrollingPages = mWorkspace.getChildCount(); in getNumScreensExcludingEmpty() 123 if (numScrollingPages >= MIN_PARALLAX_PAGE_SPAN && mWorkspace.hasExtraEmptyScreen()) { in getNumScreensExcludingEmpty() 132 wallpaperOffsetForScroll(mWorkspace.getScrollX(), numScreens, sTempInt); in syncWithScroll() 164 mWorkspace.getContext().unregisterReceiver(this); in setWindowToken() 167 mWorkspace.getContext() in setWindowToken() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 143 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);
|
D | WorkspaceAndHotseatScrim.java | 124 private Workspace mWorkspace; field in WorkspaceAndHotseatScrim 162 mWorkspace = workspace; in setWorkspace() 169 mWorkspace.computeScrollWithoutInvalidation(); in draw() 170 CellLayout currCellLayout = mWorkspace.getCurrentDragOverlappingLayout(); in draw()
|