Searched refs:mWorkspace (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | WallpaperOffsetInterpolator.java | 36 private final Workspace<?> mWorkspace; field in WallpaperOffsetInterpolator 48 mWorkspace = workspace; in WallpaperOffsetInterpolator() 102 int leftPageScrollX = mWorkspace.getScrollForPage(leftPageIndex); in wallpaperOffsetForScroll() 103 int rightPageScrollX = mWorkspace.getScrollForPage(rightPageIndex); in wallpaperOffsetForScroll() 113 mWorkspace.getLayoutTransitionOffsetForPage(0); in wallpaperOffsetForScroll() 144 return (int) Math.ceil(numOfPages / mWorkspace.getPanelCount()); in getNumScrollableScreensExcludingEmpty() 155 int numOfPages = mWorkspace.getChildCount(); in getNumPagesExcludingEmpty() 156 if (numOfPages >= MIN_PARALLAX_PAGE_SPAN && mWorkspace.hasExtraEmptyScreens()) { in getNumPagesExcludingEmpty() 157 return numOfPages - mWorkspace.getPanelCount(); in getNumPagesExcludingEmpty() 165 wallpaperOffsetForScroll(mWorkspace.getScrollX(), numScreens, sTempInt); in syncWithScroll() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | WorkspaceTouchListener.java | 70 private final Workspace<?> mWorkspace; field in WorkspaceTouchListener 80 mWorkspace = workspace; in WorkspaceTouchListener() 118 mWorkspace.onTouchEvent(ev); in onTouch() 126 mWorkspace.onTouchEvent(ev); in onTouch() 140 mWorkspace.onTouchEvent(ev); in onTouch() 141 if (mWorkspace.isHandlingTouch()) { in onTouch() 156 if (!mWorkspace.isHandlingTouch()) { in onTouch() 158 (CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage()); in onTouch() 160 mWorkspace.onWallpaperTap(ev); in onTouch() 204 mWorkspace.getParent().requestDisallowInterceptTouchEvent(true); in maybeShowMenu() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 335 Workspace<?> mWorkspace; field in Launcher 531 mFocusHandler, new CellLayout(mWorkspace.getContext(), mWorkspace)); in onCreate() 926 mWorkspace.removeExtraEmptyScreenDelayed( 957 mWorkspace.removeExtraEmptyScreenDelayed( 971 mWorkspace.getScreenWithId(presenterPos.screenId); 981 mWorkspace.removeExtraEmptyScreenDelayed( 1001 mWorkspace.removeExtraEmptyScreenDelayed( 1005 mWorkspace.removeExtraEmptyScreenDelayed( 1027 CellLayout dropLayout = mWorkspace.getScreenWithId(screenId); 1031 mWorkspace.addExtraEmptyScreens(); [all …]
|
D | WorkspaceStateTransitionAnimation.java | 84 private final Workspace<?> mWorkspace; field in WorkspaceStateTransitionAnimation 90 mWorkspace = workspace; in WorkspaceStateTransitionAnimation() 119 final int childCount = mWorkspace.getChildCount(); in setWorkspaceProperty() 121 applyChildState(state, (CellLayout) mWorkspace.getChildAt(i), i, pageAlphaProvider, in setWorkspaceProperty() 126 Hotseat hotseat = mWorkspace.getHotseat(); in setWorkspaceProperty() 134 mWorkspace, mNewScale, WORKSPACE_SCALE_PROPERTY)); in setWorkspaceProperty() 136 propertySetter.setFloat(mWorkspace, WORKSPACE_SCALE_PROPERTY, mNewScale, in setWorkspaceProperty() 140 mWorkspace.setPivotToScaleWithSelf(hotseat); in setWorkspaceProperty() 173 propertySetter.setFloat(mWorkspace, VIEW_TRANSLATE_X, in setWorkspaceProperty() 175 propertySetter.setFloat(mWorkspace, VIEW_TRANSLATE_Y, in setWorkspaceProperty() [all …]
|
D | Hotseat.java | 51 private Workspace<?> mWorkspace; field in Hotseat 213 mWorkspace = w; in setWorkspace() 223 if (mWorkspace != null && ev.getY() <= yThreshold) { in onInterceptTouchEvent() 224 mSendTouchToWorkspace = mWorkspace.onInterceptTouchEvent(ev); in onInterceptTouchEvent() 240 return mWorkspace.onTouchEvent(event); in onTouchEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDragLayer.java | 57 private GridView mWorkspace; field in SecondaryDragLayer 81 mWorkspace = findViewById(R.id.workspace_grid); in onFinishInflate() 84 mWorkspace.setAdapter(mPinnedAppsAdapter); in onFinishInflate() 85 mWorkspace.setNumColumns(mActivity.getDeviceProfile().inv.numColumns); in onFinishInflate() 138 } else if (child == mWorkspace) { in onMeasure() 139 measureChildWithMargins(mWorkspace, widthMeasureSpec, 0, heightMeasureSpec, in onMeasure()
|