Fix folder label text size not downsizing to match app icon
Fix: 311350985 Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD Test: DeviceProfileDumpTest Test: DeviceProfileAlternativeDisplaysDumpTest Test: DeviceProfileResponsiveDumpTest Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest Test: ResponsiveFolderImageTest Change-Id: I98103749541dd1e120908ac06e24dfc38cc7aa59
This commit is contained in:
1 parent
da18b9e435
commit
9a3bd8f109
1 file changed
+2
@@ -1421,6 +1421,8 @@ public class DeviceProfile {
|
||||
folderChildIconSizePx = cellContentDimensions.getIconSizePx();
|
||||
folderChildDrawablePaddingPx = cellContentDimensions.getIconDrawablePaddingPx();
|
||||
folderChildTextSizePx = cellContentDimensions.getIconTextSizePx();
|
||||
folderLabelTextSizePx = Math.max(pxFromSp(MIN_FOLDER_TEXT_SIZE_SP, mMetrics, scale),
|
||||
(int) (folderChildTextSizePx * folderLabelTextScale));
|
||||
} else if (mIsScalableGrid) {
|
||||
if (inv.folderStyle == INVALID_RESOURCE_HANDLE) {
|
||||
folderCellWidthPx = roundPxValueFromFloat(getCellSize().x * scale);
|
||||
|
||||
Reference in new issue
Block a user