Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DTaskViewSimulator.java76 private DeviceProfile mDp; field in TaskViewSimulator
116 mDp = dp; in setDp()
117 mOrientationState.setMultiWindowMode(mDp.isMultiWindowMode); in setDp()
141 if (mDp == null) { in getFullScreenScale()
144 mSizeStrategy.calculateTaskSize(mContext, mDp, mTaskRect, in getFullScreenScale()
146 return mOrientationState.getFullScreenScaleAndPivot(mTaskRect, mDp, mPivot); in getFullScreenScale()
216 mMatrix.postTranslate(mDp.windowX, mDp.windowY); in applyWindowToHomeRotation()
220 mDp.widthPx, mDp.heightPx, matrix); in applyWindowToHomeRotation()
228 if (mDp == null || mThumbnailPosition.isEmpty()) { in apply()
240 mDp, mOrientationState.getRecentsActivityRotation()); in apply()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java207 private final DeviceProfile mDp; field in LauncherPreviewRenderer
217 mDp = idp.portraitProfile.copy(context); in LauncherPreviewRenderer()
222 mInsets.left = mInsets.right = (mDp.widthPx - mDp.availableWidthPx) / 2; in LauncherPreviewRenderer()
223 mInsets.top = mInsets.bottom = (mDp.heightPx - mDp.availableHeightPx) / 2; in LauncherPreviewRenderer()
224 mDp.updateInsets(mInsets); in LauncherPreviewRenderer()
266 measureView(mRootView, mDp.widthPx, mDp.heightPx); in MainThreadRenderer()
272 mWorkspace.setPadding(mDp.workspacePadding.left + mDp.cellLayoutPaddingLeftRightPx, in MainThreadRenderer()
273 mDp.workspacePadding.top, in MainThreadRenderer()
274 mDp.workspacePadding.right + mDp.cellLayoutPaddingLeftRightPx, in MainThreadRenderer()
275 mDp.workspacePadding.bottom); in MainThreadRenderer()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java214 int fakeHomeIconSizePx = mDp.allAppsIconSizePx; in handleSwipeUpToHome()
215 int fakeHomeIconLeft = (mDp.widthPx - fakeHomeIconSizePx) / 2; in handleSwipeUpToHome()
216 int fakeHomeIconTop = mDp.heightPx - (mDp.allAppsCellHeightPx * 3); in handleSwipeUpToHome()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DSwipeUpAnimationLogic.java53 protected DeviceProfile mDp; field in SwipeUpAnimationLogic
92 mDp = dp; in initTransitionEndpoints()
159 DeviceProfile dp = mDp; in getWindowTargetRect()
DLauncherSwipeHandlerV2.java91 long accuracy = 2 * Math.max(mDp.widthPx, mDp.heightPx); in createHomeAnimationFactory()
DFallbackSwipeHandler.java214 .setMinimumVisibleChange(1f / mDp.heightPx) in playAtomicAnimation()
DBaseSwipeUpHandlerV2.java893 DeviceProfile dp = mDp; in doLogGesture()