Searched refs:mDp (Results 1 – 2 of 2) sorted by relevance
83 private final DeviceProfile mDp; field in LauncherPreviewRenderer92 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 …]
242 private DeviceProfile mDp; field in WindowTransformSwipeHandler385 mDp = dp; in initTransitionEndpoints()574 float distanceToReachEdge = mDp.widthPx / 2 + taskWidth / 2 + in getTaskCurveScaleForOffsetX()1036 DeviceProfile dp = mDp; in doLogGesture()