Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java83 private final DeviceProfile mDp; field in LauncherPreviewRenderer
92 mDp = idp.portraitProfile.copy(context); in LauncherPreviewRenderer()
96 mInsets.left = mInsets.right = (mDp.widthPx - mDp.availableWidthPx) / 2; in LauncherPreviewRenderer()
97 mInsets.top = mInsets.bottom = (mDp.heightPx - mDp.availableHeightPx) / 2; in LauncherPreviewRenderer()
98 mDp.updateInsets(mInsets); in LauncherPreviewRenderer()
116 return BitmapRenderer.createHardwareBitmap(mDp.widthPx, mDp.heightPx, c -> { in call()
155 measureView(mRootView, mDp.widthPx, mDp.heightPx);
161 mWorkspace.setPadding(mDp.workspacePadding.left + mDp.cellLayoutPaddingLeftRightPx,
162 mDp.workspacePadding.top,
163 mDp.workspacePadding.right + mDp.cellLayoutPaddingLeftRightPx,
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java242 private DeviceProfile mDp; field in WindowTransformSwipeHandler
385 mDp = dp; in initTransitionEndpoints()
574 float distanceToReachEdge = mDp.widthPx / 2 + taskWidth / 2 + in getTaskCurveScaleForOffsetX()
1036 DeviceProfile dp = mDp; in doLogGesture()