/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 139 private final DeviceProfile mDp; field in LauncherPreviewRenderer 159 mDp = getDeviceProfileForPreview(context).toBuilder(context).setViewScaleProvider( in LauncherPreviewRenderer() 167 mDpOrig = mDp; in LauncherPreviewRenderer() 170 mDp.updateInsets(mInsets); in LauncherPreviewRenderer() 176 int layoutRes = mDp.isTwoPanels ? R.layout.launcher_preview_two_panel_layout in LauncherPreviewRenderer() 181 measureView(mRootView, mDp.widthPx, mDp.heightPx); in LauncherPreviewRenderer() 191 mDp.workspacePadding.left + mDp.cellLayoutPaddingPx.left, in LauncherPreviewRenderer() 192 mDp.workspacePadding.top + mDp.cellLayoutPaddingPx.top, in LauncherPreviewRenderer() 193 mDp.isTwoPanels ? (mDp.cellLayoutBorderSpacePx.x / 2) in LauncherPreviewRenderer() 194 : (mDp.workspacePadding.right + mDp.cellLayoutPaddingPx.right), in LauncherPreviewRenderer() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TaskViewSimulator.java | 85 private DeviceProfile mDp; field in TaskViewSimulator 144 mDp = dp; in setDp() 151 if (mDp == null) { in calculateTaskSize() 156 mSizeStrategy.calculateGridTaskSize(mContext, mDp, mFullTaskSize, in calculateTaskSize() 159 mSizeStrategy.calculateTaskSize(mContext, mDp, mFullTaskSize, in calculateTaskSize() 164 mSizeStrategy.calculateCarouselTaskSize(mContext, mDp, mCarouselTaskSize, in calculateTaskSize() 174 .setSplitTaskSwipeRect(mDp, mTaskRect, mSplitBounds, mStagePosition); in calculateTaskSize() 182 BaseActivityInterface.getTaskDimension(mContext, mDp, fullscreenTaskDimension); in calculateTaskSize() 207 if (mDp == null) { in getFullScreenScale() 219 float scale = mOrientationState.getFullScreenScaleAndPivot(scaleRect, mDp, mPivot); in getFullScreenScale() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | OverviewActionsView.java | 135 protected DeviceProfile mDp; field in OverviewActionsView 270 assert mDp != null; in updateForIsTablet() 272 updateSplitButtonHiddenFlags(FLAG_SMALL_SCREEN_HIDE_SPLIT, !mDp.isTablet); in updateForIsTablet() 277 assert mDp != null; in updateActionButtonsVisibility() 279 boolean showGroupActions = mIsGroupedTask && mDp.isTablet && mCanSaveAppPair; in updateActionButtonsVisibility() 366 if (mDp == null) { in updateActionBarPosition() 372 actionParams.leftMargin, mDp.overviewActionsTopMarginPx, in updateActionBarPosition() 377 if (mDp == null) { in getBottomMargin() 381 if (mDp.isTablet && Flags.enableGridOnlyOverview()) { in getBottomMargin() 382 return mDp.stashedTaskbarHeight; in getBottomMargin() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SwipeUpAnimationLogic.java | 65 protected DeviceProfile mDp; field in SwipeUpAnimationLogic 105 mDp = dp; in initTransitionEndpoints() 122 mDp, taskViewSimulator.recentsViewScale, AnimatedFloat.VALUE, in initTransitionEndpoints() 180 DeviceProfile dp = mDp; in getWindowTargetRect() 256 return !mDp.isLandscape && !mDp.isSeascape(); in isPortrait() 346 .fixBoundsForHomeAnimStartRect(startRect, mDp); in getWindowAnimationToHomeInternal() 362 boolean useTaskbarHotseatParams = mDp.isTaskbarPresent in getWindowAnimationToHomeInternal() 366 : new DefaultSpringConfig(mContext, mDp, startRect, targetRect)); in getWindowAnimationToHomeInternal() 444 : (Math.max(0, mDp.widthPx - invariantStartRect.left)); in SpringAnimationRunner()
|
D | AbsSwipeUpHandler.java | 384 mIsTransientTaskbar = mDp.isTaskbarPresent in AbsSwipeUpHandler() 390 TaskbarThresholdUtils.getAppWindowThreshold(res, mDp); in AbsSwipeUpHandler() 394 : TaskbarThresholdUtils.getHomeOverviewThreshold(res, mDp); in AbsSwipeUpHandler() 395 mTaskbarCatchUpThreshold = TaskbarThresholdUtils.getCatchUpThreshold(res, mDp); in AbsSwipeUpHandler() 1381 } else if (state.displayOverviewTasksAsGrid(mDp)) { 1463 if (mDp == null || !mDp.isGestureMode) { 1782 .setAppIconSizePx(mDp.iconSizePx) 1834 if (mDp.isPhone) { 1835 if (mDp.isSeascape()) { 1837 keepClearArea = new Rect(0, 0, mDp.hotseatBarSizePx, mDp.heightPx); [all …]
|
D | FallbackSwipeHandler.java | 230 long accuracy = 2 * Math.max(mDp.widthPx, mDp.heightPx); in createActivityAnimationToHome() 339 .setMinimumVisibleChange(1f / mDp.heightPx) in playAtomicAnimation()
|
D | LauncherSwipeHandlerV2.java | 362 long accuracy = 2 * Math.max(mDp.widthPx, mDp.heightPx);
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | SwipeUpGestureTutorialController.java | 391 mFakeIconView, mDp); in handleSwipeUpToHome() 410 windowAnim.start(mContext, mDp, velocityPxPerMs); in handleSwipeUpToHome()
|