/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 202 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/ |
D | TaskViewSimulator.java | 68 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/ |
D | OverviewActionsView.java | 96 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/ |
D | SwipeUpAnimationLogic.java | 53 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()
|
D | LauncherSwipeHandlerV2.java | 411 long accuracy = 2 * Math.max(mDp.widthPx, mDp.heightPx);
|
D | AbsSwipeUpHandler.java | 1007 if (state.displayOverviewTasksAsGrid(mDp)) { 1083 DeviceProfile dp = mDp; 1258 mDp.hotseatBarSizePx);
|
D | FallbackSwipeHandler.java | 277 .setMinimumVisibleChange(1f / mDp.heightPx) in playAtomicAnimation()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | SwipeUpGestureTutorialController.java | 303 int fakeHomeIconTop = mDp.heightPx - Utilities.dpToPx(216); in handleSwipeUpToHome() 317 mFakeIconView, mDp, in handleSwipeUpToHome()
|