Home
last modified time | relevance | path

Searched refs:cellHeightPx (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DCellContentDimensions.kt32 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/
DPageMeasurementHelper.java174 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/
DDeviceProfile.java185 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 …]
DBubbleTextView.java775 int cellHeightPx = mIconSize + getCompoundDrawablePadding() + in onMeasure() local
777 setPadding(getPaddingLeft(), (height - cellHeightPx) / 2, getPaddingRight(), in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/
DAppPairIcon.java245 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/
DAppGridRecyclerView.java137 gridDimens.cellHeightPx); in onDimensionsUpdated()
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/
DtabletPortrait3Button.txt29 cellHeightPx: 240.0px (120.0dp)
DtabletLandscape3Button.txt29 cellHeightPx: 208.0px (104.0dp)
DtwoPanelPortrait_decoupleDepth.txt29 cellHeightPx: 218.0px (83.04762dp)
DtwoPanelPortrait3Button_decoupleDepth.txt29 cellHeightPx: 218.0px (83.04762dp)
DtwoPanelPortrait3Button.txt29 cellHeightPx: 218.0px (83.04762dp)
DtabletPortrait.txt29 cellHeightPx: 240.0px (120.0dp)
DtwoPanelPortrait.txt29 cellHeightPx: 218.0px (83.04762dp)
DphoneVerticalBar.txt29 cellHeightPx: 166.0px (63.238094dp)
DtabletLandscape.txt29 cellHeightPx: 208.0px (104.0dp)
DtwoPanelLandscape3Button.txt29 cellHeightPx: 218.0px (83.04762dp)
DphonePortrait.txt29 cellHeightPx: 229.0px (87.2381dp)
DphonePortrait3Button.txt29 cellHeightPx: 229.0px (87.2381dp)
DtwoPanelLandscape3Button_decoupleDepth.txt29 cellHeightPx: 218.0px (83.04762dp)
DtwoPanelLandscape_decoupleDepth.txt29 cellHeightPx: 218.0px (83.04762dp)
DtwoPanelLandscape.txt29 cellHeightPx: 218.0px (83.04762dp)
DphoneVerticalBar3Button.txt29 cellHeightPx: 166.0px (63.238094dp)
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduDialog.java95 mSampleHotseat.getLayoutParams().height = grid.cellHeightPx; in onFinishInflate()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java649 int cellHeightPx = iconSize + mFolderName.getCompoundDrawablePadding() in onMeasure() local
652 - cellHeightPx) / 2, getPaddingRight(), getPaddingBottom()); in onMeasure()