Home
last modified time | relevance | path

Searched refs:mDp (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java202 private final DeviceProfile mDp; field in LauncherPreviewRenderer
219 mDp = idp.getDeviceProfile(context).copy(context); in LauncherPreviewRenderer()
231 mInsets.left = mInsets.right = (mDp.widthPx - mDp.availableWidthPx) / 2; in LauncherPreviewRenderer()
232 mInsets.top = mInsets.bottom = (mDp.heightPx - mDp.availableHeightPx) / 2; in LauncherPreviewRenderer()
234 mDp.updateInsets(mInsets); in LauncherPreviewRenderer()
256 measureView(mRootView, mDp.widthPx, mDp.heightPx); in LauncherPreviewRenderer()
262 mWorkspace.setPadding(mDp.workspacePadding.left + mDp.cellLayoutPaddingLeftRightPx, in LauncherPreviewRenderer()
263 mDp.workspacePadding.top, in LauncherPreviewRenderer()
264 mDp.workspacePadding.right + mDp.cellLayoutPaddingLeftRightPx, in LauncherPreviewRenderer()
265 mDp.workspacePadding.bottom); in LauncherPreviewRenderer()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskViewSimulator.java68 private DeviceProfile mDp; field in TaskViewSimulator
120 mDp = dp; in setDp()
137 if (mDp == null) { in getFullScreenScale()
140 mSizeStrategy.calculateTaskSize(mContext, mDp, mTaskRect, in getFullScreenScale()
142 return mOrientationState.getFullScreenScaleAndPivot(mTaskRect, mDp, mPivot); in getFullScreenScale()
211 preDisplayRotation(mOrientationState.getDisplayRotation(), mDp.widthPx, mDp.heightPx, in getCurrentRect()
233 mMatrix.postTranslate(mDp.windowX, mDp.windowY); in applyWindowToHomeRotation()
237 mDp.widthPx, mDp.heightPx, matrix); in applyWindowToHomeRotation()
245 if (mDp == null || mThumbnailPosition.isEmpty()) { in apply()
260 mDp, mOrientationState.getRecentsActivityRotation(), isRtlEnabled); in apply()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DOverviewActionsView.java96 protected DeviceProfile mDp; field in OverviewActionsView
210 if (mDp == null) { in updateVerticalMargin()
216 actionParams.leftMargin, getOverviewActionsTopMarginPx(mode, mDp), in updateVerticalMargin()
217 actionParams.rightMargin, getOverviewActionsBottomMarginPx(mode, mDp)); in updateVerticalMargin()
224 mDp = dp; in setDp()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java53 protected DeviceProfile mDp; field in SwipeUpAnimationLogic
89 mDp = dp; in initTransitionEndpoints()
102 mDp, mTaskViewSimulator.recentsViewScale, AnimatedFloat.VALUE, in initTransitionEndpoints()
136 DeviceProfile dp = mDp; in getWindowTargetRect()
DLauncherSwipeHandlerV2.java411 long accuracy = 2 * Math.max(mDp.widthPx, mDp.heightPx);
DAbsSwipeUpHandler.java1007 if (state.displayOverviewTasksAsGrid(mDp)) {
1083 DeviceProfile dp = mDp;
1258 mDp.hotseatBarSizePx);
DFallbackSwipeHandler.java277 .setMinimumVisibleChange(1f / mDp.heightPx) in playAtomicAnimation()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java303 int fakeHomeIconTop = mDp.heightPx - Utilities.dpToPx(216); in handleSwipeUpToHome()
317 mFakeIconView, mDp, in handleSwipeUpToHome()