Home
last modified time | relevance | path

Searched refs:availableWidthPx (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java290 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/
DDeviceProfile.java120 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 …]
DDropTargetBar.java111 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()
DLauncher.java2004 if (grid.isPhone && (grid.availableWidthPx - width) < 4 * distFromEdgeOfScreen) {
2008 left = (grid.availableWidthPx - width) / 2;
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java183 .getPrimaryValue(dp.availableWidthPx, dp.availableHeightPx); in getWindowTargetRect()
185 .getSecondaryValue(dp.availableWidthPx, dp.availableHeightPx); in getWindowTargetRect()
DBaseContainerInterface.java391 Math.round((dp.availableWidthPx - outRect.width() * maxScale) / 2); in calculateModalTaskSize()
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/
DtabletPortrait3Button.txt15 availableWidthPx: 1600.0px (800.0dp)
DtabletLandscape3Button.txt15 availableWidthPx: 2560.0px (1280.0dp)
DtwoPanelPortrait_decoupleDepth.txt15 availableWidthPx: 1840.0px (700.9524dp)
DtwoPanelPortrait3Button_decoupleDepth.txt15 availableWidthPx: 1840.0px (700.9524dp)
DtwoPanelPortrait3Button.txt15 availableWidthPx: 1840.0px (700.9524dp)
DtabletPortrait.txt15 availableWidthPx: 1600.0px (800.0dp)
DtwoPanelPortrait.txt15 availableWidthPx: 1840.0px (700.9524dp)
DphoneVerticalBar.txt15 availableWidthPx: 2282.0px (869.3333dp)
DtabletLandscape.txt15 availableWidthPx: 2560.0px (1280.0dp)
DtwoPanelLandscape3Button.txt15 availableWidthPx: 2208.0px (841.1429dp)
DphonePortrait.txt15 availableWidthPx: 1080.0px (411.42856dp)
DphonePortrait3Button.txt15 availableWidthPx: 1080.0px (411.42856dp)
DtwoPanelLandscape3Button_decoupleDepth.txt15 availableWidthPx: 2208.0px (841.1429dp)
DtwoPanelLandscape_decoupleDepth.txt15 availableWidthPx: 2208.0px (841.1429dp)
DtwoPanelLandscape.txt15 availableWidthPx: 2208.0px (841.1429dp)
DphoneVerticalBar3Button.txt15 availableWidthPx: 2156.0px (821.3333dp)
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DSeascapePagedViewHandler.kt100 ): Int = (deviceProfile.availableWidthPx - taskInsetMargin - taskMenuX).toInt() in getTaskMenuHeight()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java1374 .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/
DTaskbarViewController.java675 launcherDp.availableWidthPx - hotseatPadding.left - hotseatPadding.right, in createIconAlignmentController()

12