/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | CellContentDimensionsTest.kt | 52 CellContentDimensions(iconSizePx = 66, iconDrawablePaddingPx = 8, iconTextSizePx = 14) in dimensionsFitTheCell() 61 assertThat(iconTextSizePx).isEqualTo(14) in dimensionsFitTheCell() 69 CellContentDimensions(iconSizePx = 66, iconDrawablePaddingPx = 8, iconTextSizePx = 14) in decreasePadding() 78 assertThat(iconTextSizePx).isEqualTo(14) in decreasePadding() 86 CellContentDimensions(iconSizePx = 66, iconDrawablePaddingPx = 8, iconTextSizePx = 14) in decreaseIcon() 95 assertThat(iconTextSizePx).isEqualTo(14) in decreaseIcon() 103 CellContentDimensions(iconSizePx = 66, iconDrawablePaddingPx = 8, iconTextSizePx = 14) in decreaseText() 112 assertThat(iconTextSizePx).isEqualTo(13) in decreaseText() 120 CellContentDimensions(iconSizePx = 66, iconDrawablePaddingPx = 8, iconTextSizePx = 14) in decreaseIconAndTextTwoSteps() 129 assertThat(iconTextSizePx).isEqualTo(12) in decreaseIconAndTextTwoSteps() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | CellContentDimensions.kt | 24 var iconTextSizePx: Int variable in com.android.launcher3.util.CellContentDimensions 43 (iconTextSizePx > iconSizeSteps.minimumIconLabelSize || in resizeToFitCellHeight() 53 iconTextSizePx > iconSizeSteps.minimumIconLabelSize in resizeToFitCellHeight() 55 iconTextSizePx = in resizeToFitCellHeight() 58 iconTextSizePx - IconSizeSteps.TEXT_STEP in resizeToFitCellHeight() 80 val iconTextHeight = Utilities.calculateTextHeight(iconTextSizePx.toFloat()) in getCellContentHeight()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 178 public int iconTextSizePx; field in DeviceProfile 1054 float iconTextHeight = Utilities.calculateTextHeight(iconTextSizePx); in hideWorkspaceLabelsIfNotEnoughSpace() 1060 iconTextSizePx = 0; in hideWorkspaceLabelsIfNotEnoughSpace() 1075 iconTextSizePx = mResponsiveWorkspaceCellSpec.getIconTextSize(); in updateAvailableDimensions() 1085 iconTextSizePx = pxFromSp(invIconTextSizeSp, mMetrics); in updateAvailableDimensions() 1177 iconTextSizePx = 0; 1184 iconTextSizePx); 1189 iconTextSizePx = cellContentDimensions.getIconTextSizePx(); 1221 iconDrawablePaddingPx + Utilities.calculateTextHeight(iconTextSizePx); 1246 iconTextSizePx = (int) (iconTextSizePx * ratio); [all …]
|
D | BubbleTextView.java | 239 setTextSize(TypedValue.COMPLEX_UNIT_PX, mDeviceProfile.iconTextSizePx); in BubbleTextView()
|
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/ |
D | tabletPortrait3Button.txt | 39 iconTextSizePx: 28.0px (14.0dp)
|
D | tabletLandscape3Button.txt | 39 iconTextSizePx: 28.0px (14.0dp)
|
D | twoPanelPortrait_decoupleDepth.txt | 39 iconTextSizePx: 34.0px (12.952381dp)
|
D | twoPanelPortrait3Button_decoupleDepth.txt | 39 iconTextSizePx: 34.0px (12.952381dp)
|
D | twoPanelPortrait3Button.txt | 39 iconTextSizePx: 34.0px (12.952381dp)
|
D | tabletPortrait.txt | 39 iconTextSizePx: 28.0px (14.0dp)
|
D | twoPanelPortrait.txt | 39 iconTextSizePx: 34.0px (12.952381dp)
|
D | phoneVerticalBar.txt | 39 iconTextSizePx: 0.0px (0.0dp)
|
D | tabletLandscape.txt | 39 iconTextSizePx: 28.0px (14.0dp)
|
D | twoPanelLandscape3Button.txt | 39 iconTextSizePx: 34.0px (12.952381dp)
|
D | phonePortrait.txt | 39 iconTextSizePx: 38.0px (14.476191dp)
|
D | phonePortrait3Button.txt | 39 iconTextSizePx: 38.0px (14.476191dp)
|
D | twoPanelLandscape3Button_decoupleDepth.txt | 39 iconTextSizePx: 34.0px (12.952381dp)
|
D | twoPanelLandscape_decoupleDepth.txt | 39 iconTextSizePx: 34.0px (12.952381dp)
|
D | twoPanelLandscape.txt | 39 iconTextSizePx: 34.0px (12.952381dp)
|
D | phoneVerticalBar3Button.txt | 39 iconTextSizePx: 0.0px (0.0dp)
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 200 - iconSize - dp.iconTextSizePx - dp.iconDrawablePaddingPx) / 2; in startDrag()
|
D | PendingAppWidgetHostView.java | 175 mActivityContext.getDeviceProfile().iconTextSizePx, in PendingAppWidgetHostView()
|