/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 48 public final int widthPx; field in DeviceProfile 143 widthPx = width; in DeviceProfile() 160 aspectRatio = ((float) Math.max(widthPx, heightPx)) / Math.min(widthPx, heightPx); in DeviceProfile() 239 return new DeviceProfile(context, inv, size, size, widthPx, heightPx, isLandscape, in copy() 462 int availablePaddingX = Math.max(0, widthPx - ((inv.numColumns * cellWidthPx) + in updateWorkspacePadding() 465 widthPx * MAX_HORIZONTAL_PADDING_PERCENT); in updateWorkspacePadding() 496 float workspaceCellWidth = (float) widthPx / inv.numColumns; in getHotseatLayoutPadding() 497 float hotseatCellWidth = (float) widthPx / inv.numHotseatIcons; in getHotseatLayoutPadding()
|
D | DropTargetBar.java | 102 gap = ((grid.widthPx - 2 * grid.edgeMarginPx in setInsets()
|
D | Workspace.java | 3279 ? mLauncher.getDeviceProfile().widthPx : getMeasuredWidth(); in getExpectedWidth()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 96 mInsets.left = mInsets.right = (mDp.widthPx - mDp.availableWidthPx) / 2; in LauncherPreviewRenderer() 116 return BitmapRenderer.createHardwareBitmap(mDp.widthPx, mDp.heightPx, c -> { in call() 155 measureView(mRootView, mDp.widthPx, mDp.heightPx); 278 measureView(mRootView, mDp.widthPx, mDp.heightPx); 280 measureView(mRootView, mDp.widthPx, mDp.heightPx); 282 measureView(mRootView, mDp.widthPx, mDp.heightPx);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemBase.java | 80 public void setSuggestedSize(int widthPx, int heightPx) { in setSuggestedSize() argument 81 if (widthPx > 0 && heightPx > 0) { in setSuggestedSize() 82 mSuggestedSize = new Size(widthPx, heightPx); in setSuggestedSize()
|
D | FilmstripItem.java | 94 public void setSuggestedSize(int widthPx, int heightPx); in setSuggestedSize() argument
|
D | PlaceholderItem.java | 112 public void setSuggestedSize(int widthPx, int heightPx) { } in setSuggestedSize() argument
|
D | SessionItem.java | 121 public void setSuggestedSize(int widthPx, int heightPx) { } in setSuggestedSize() argument
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | LayoutUtils.java | 80 taskWidth = dp.widthPx; in calculateTaskSize() 97 int launcherVisibleWidth = dp.widthPx - insets.left - insets.right; in calculateTaskSize()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | TileSizeCalculator.java | 173 int widthPx = Math.round((float) availableWidthPx / columnCount); in getTileSize() local 178 return new Point(widthPx, heightPx); in getTileSize()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/ |
D | BenefitsAnimation.java | 143 int widthPx = animatedInfo.getWidth(); in adjustToScreenSize() local 144 float scaleRatio = (float) widthPx / ANIMATION_ORIGINAL_WIDTH_PX; in adjustToScreenSize()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | QuickSwitchTouchController.java | 153 return mLauncher.getDeviceProfile().widthPx / 2f; in getShiftRange()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 241 float offscreenTranslationX = l.getDeviceProfile().widthPx in getOverviewScaleAndTranslationForNormalState()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | FallbackNoButtonInputConsumer.java | 322 Rect overviewStackBounds = new Rect(0, 0, mDP.widthPx, mDP.heightPx);
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | WindowTransformSwipeHandler.java | 574 float distanceToReachEdge = mDp.widthPx / 2 + taskWidth / 2 + in getTaskCurveScaleForOffsetX() 788 overviewStackBounds = new Rect(0, 0, dp.widthPx, dp.heightPx); in onRecentsAnimationStart()
|
D | LauncherActivityControllerHelper.java | 171 long accuracy = 2 * Math.max(dp.widthPx, dp.heightPx); in prepareHomeUI()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepAppTransitionManagerImpl.java | 309 Rect bounds = new Rect(0, 0, mDeviceProfile.widthPx, mDeviceProfile.heightPx); in getWindowTargetBounds()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | RecentsView.java | 647 dp.widthPx - mInsets.right - mTempRect.right, in setInsets()
|