Searched refs:mDp (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | TaskViewSimulator.java | 76 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/ |
D | LauncherPreviewRenderer.java | 207 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/ |
D | SwipeUpGestureTutorialController.java | 214 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/ |
D | SwipeUpAnimationLogic.java | 53 protected DeviceProfile mDp; field in SwipeUpAnimationLogic 92 mDp = dp; in initTransitionEndpoints() 159 DeviceProfile dp = mDp; in getWindowTargetRect()
|
D | LauncherSwipeHandlerV2.java | 91 long accuracy = 2 * Math.max(mDp.widthPx, mDp.heightPx); in createHomeAnimationFactory()
|
D | FallbackSwipeHandler.java | 214 .setMinimumVisibleChange(1f / mDp.heightPx) in playAtomicAnimation()
|
D | BaseSwipeUpHandlerV2.java | 893 DeviceProfile dp = mDp; in doLogGesture()
|