/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | CellContentDimensions.kt | 32 fun resizeToFitCellHeight(cellHeightPx: Int, iconSizeSteps: IconSizeSteps): Int { in resizeToFitCellHeight() 36 if (cellContentHeight > cellHeightPx) { in resizeToFitCellHeight() 37 val diff = cellContentHeight - cellHeightPx in resizeToFitCellHeight() 44 iconSizePx > iconSizeSteps.minimumIconSize()) && cellContentHeight > cellHeightPx in resizeToFitCellHeight() 52 cellContentHeight > cellHeightPx && in resizeToFitCellHeight() 69 cellContentHeight > cellHeightPx && iconSizePx > IconSizeSteps.ICON_SIZE_STEP_EXTRA in resizeToFitCellHeight()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/pagination/ |
D | PageMeasurementHelper.java | 174 public int cellHeightPx; field in PageMeasurementHelper.GridDimensions 180 cellHeightPx = cellHeight; in GridDimensions() 189 + " cellHeightPx: %d".formatted(cellHeightPx) in toString()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 185 public int cellHeightPx; field in DeviceProfile 1062 cellHeightPx = getIconSizeWithOverlap(iconSizePx); in hideWorkspaceLabelsIfNotEnoughSpace() 1119 return (cellHeightPx * inv.numRows) + (cellLayoutBorderSpacePx.y * (inv.numRows - 1)) 1168 cellHeightPx = mResponsiveWorkspaceHeightSpec.getCellSizePx(); 1185 int cellContentHeight = cellContentDimensions.resizeToFitCellHeight(cellHeightPx, 1195 cellYPaddingPx = Math.max(0, cellHeightPx - cellContentHeight) / 2; 1200 cellHeightPx = pxFromDp(inv.minCellSize[mTypeIndex].y, mMetrics, scale); 1223 if (cellHeightPx < cellContentHeight) { 1227 int extraHeightRequired = (cellContentHeight - cellHeightPx) * inv.numRows; 1229 cellHeightPx = cellContentHeight; [all …]
|
D | BubbleTextView.java | 775 int cellHeightPx = mIconSize + getCompoundDrawablePadding() + in onMeasure() local 777 setPadding(getPaddingLeft(), (height - cellHeightPx) / 2, getPaddingRight(), in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/ |
D | AppPairIcon.java | 245 int cellHeightPx = activity.getDeviceProfile().folderChildIconSizePx in onMeasure() local 248 setPadding(getPaddingLeft(), (height - cellHeightPx) / 2, getPaddingRight(), in onMeasure()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/ |
D | AppGridRecyclerView.java | 137 gridDimens.cellHeightPx); in onDimensionsUpdated()
|
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/ |
D | tabletPortrait3Button.txt | 29 cellHeightPx: 240.0px (120.0dp)
|
D | tabletLandscape3Button.txt | 29 cellHeightPx: 208.0px (104.0dp)
|
D | twoPanelPortrait_decoupleDepth.txt | 29 cellHeightPx: 218.0px (83.04762dp)
|
D | twoPanelPortrait3Button_decoupleDepth.txt | 29 cellHeightPx: 218.0px (83.04762dp)
|
D | twoPanelPortrait3Button.txt | 29 cellHeightPx: 218.0px (83.04762dp)
|
D | tabletPortrait.txt | 29 cellHeightPx: 240.0px (120.0dp)
|
D | twoPanelPortrait.txt | 29 cellHeightPx: 218.0px (83.04762dp)
|
D | phoneVerticalBar.txt | 29 cellHeightPx: 166.0px (63.238094dp)
|
D | tabletLandscape.txt | 29 cellHeightPx: 208.0px (104.0dp)
|
D | twoPanelLandscape3Button.txt | 29 cellHeightPx: 218.0px (83.04762dp)
|
D | phonePortrait.txt | 29 cellHeightPx: 229.0px (87.2381dp)
|
D | phonePortrait3Button.txt | 29 cellHeightPx: 229.0px (87.2381dp)
|
D | twoPanelLandscape3Button_decoupleDepth.txt | 29 cellHeightPx: 218.0px (83.04762dp)
|
D | twoPanelLandscape_decoupleDepth.txt | 29 cellHeightPx: 218.0px (83.04762dp)
|
D | twoPanelLandscape.txt | 29 cellHeightPx: 218.0px (83.04762dp)
|
D | phoneVerticalBar3Button.txt | 29 cellHeightPx: 166.0px (63.238094dp)
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatEduDialog.java | 95 mSampleHotseat.getLayoutParams().height = grid.cellHeightPx; in onFinishInflate()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 649 int cellHeightPx = iconSize + mFolderName.getCompoundDrawablePadding() in onMeasure() local 652 - cellHeightPx) / 2, getPaddingRight(), getPaddingBottom()); in onMeasure()
|