/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | SizeCalculator.java | 290 int availableWidthPx = windowWidthPx - guttersWidthPx; in getTileSize() local 292 int widthPx = Math.round((float) availableWidthPx / columnCount); in getTileSize() 293 int heightPx = Math.round(((float) availableWidthPx / columnCount) in getTileSize() 307 int availableWidthPx = windowWidthPx in getSquareTileSize() local 310 int widthPx = Math.round((float) availableWidthPx / columnCount); in getSquareTileSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 120 public final int availableWidthPx; field in DeviceProfile 372 availableWidthPx = windowBounds.availableSize.x; in DeviceProfile() 652 availableWidthPx - (isVerticalBarLayout() ? hotseatBarSizePx : 0); in DeviceProfile() 673 DimensionType.WIDTH, numShownAllAppsColumns, availableWidthPx, in DeviceProfile() 928 int maxHotseatWidthPx = availableWidthPx - sideSpacePx - hotseatBarEndOffset; in recalculateHotseatWidthAndBorderSpace() 1003 widthPx, heightPx, availableWidthPx, availableHeightPx, rotationHint); in toBuilder() 1105 scaleX = availableWidthPx / usedWidth; in updateAvailableDimensions() 1442 allAppsLeftRightMargin = Math.max(1, (availableWidthPx - usedWidth) / 2); 1481 int contentMaxWidth = availableWidthPx - totalWorkspacePadding.x; 1671 int workspaceWidth = availableWidthPx; [all …]
|
D | DropTargetBar.java | 111 lp.width = grid.availableWidthPx - 2 * horizontalMargin; in setInsets() 183 availableWidth = (dp.availableWidthPx - dp.dropTargetGapPx) / 2; in onMeasure() 186 availableWidth = dp.availableWidthPx - dp.dropTargetGapPx; in onMeasure()
|
D | Launcher.java | 2004 if (grid.isPhone && (grid.availableWidthPx - width) < 4 * distFromEdgeOfScreen) { 2008 left = (grid.availableWidthPx - width) / 2;
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SwipeUpAnimationLogic.java | 183 .getPrimaryValue(dp.availableWidthPx, dp.availableHeightPx); in getWindowTargetRect() 185 .getSecondaryValue(dp.availableWidthPx, dp.availableHeightPx); in getWindowTargetRect()
|
D | BaseContainerInterface.java | 391 Math.round((dp.availableWidthPx - outRect.width() * maxScale) / 2); in calculateModalTaskSize()
|
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/ |
D | tabletPortrait3Button.txt | 15 availableWidthPx: 1600.0px (800.0dp)
|
D | tabletLandscape3Button.txt | 15 availableWidthPx: 2560.0px (1280.0dp)
|
D | twoPanelPortrait_decoupleDepth.txt | 15 availableWidthPx: 1840.0px (700.9524dp)
|
D | twoPanelPortrait3Button_decoupleDepth.txt | 15 availableWidthPx: 1840.0px (700.9524dp)
|
D | twoPanelPortrait3Button.txt | 15 availableWidthPx: 1840.0px (700.9524dp)
|
D | tabletPortrait.txt | 15 availableWidthPx: 1600.0px (800.0dp)
|
D | twoPanelPortrait.txt | 15 availableWidthPx: 1840.0px (700.9524dp)
|
D | phoneVerticalBar.txt | 15 availableWidthPx: 2282.0px (869.3333dp)
|
D | tabletLandscape.txt | 15 availableWidthPx: 2560.0px (1280.0dp)
|
D | twoPanelLandscape3Button.txt | 15 availableWidthPx: 2208.0px (841.1429dp)
|
D | phonePortrait.txt | 15 availableWidthPx: 1080.0px (411.42856dp)
|
D | phonePortrait3Button.txt | 15 availableWidthPx: 1080.0px (411.42856dp)
|
D | twoPanelLandscape3Button_decoupleDepth.txt | 15 availableWidthPx: 2208.0px (841.1429dp)
|
D | twoPanelLandscape_decoupleDepth.txt | 15 availableWidthPx: 2208.0px (841.1429dp)
|
D | twoPanelLandscape.txt | 15 availableWidthPx: 2208.0px (841.1429dp)
|
D | phoneVerticalBar3Button.txt | 15 availableWidthPx: 2156.0px (821.3333dp)
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/ |
D | SeascapePagedViewHandler.kt | 100 ): Int = (deviceProfile.availableWidthPx - taskInsetMargin - taskMenuX).toInt() in getTaskMenuHeight()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 1374 .getPrimaryValue(dp.availableWidthPx, dp.availableHeightPx); in getDefaultWindowTargetRect() 1376 .getSecondaryValue(dp.availableWidthPx, dp.availableHeightPx); in getDefaultWindowTargetRect() 1406 Size windowSize = new Size(mDeviceProfile.availableWidthPx, in getClosingWindowAnimators()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarViewController.java | 675 launcherDp.availableWidthPx - hotseatPadding.left - hotseatPadding.right, in createIconAlignmentController()
|