Home
last modified time | relevance | path

Searched refs:actualWidth (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAppUtils.java51 int actualWidth = original.getMinimumWidth(); in getSafeDrawable() local
54 if (actualWidth <= maxDimension && actualHeight <= maxDimension) { in getSafeDrawable()
58 float scaleWidth = ((float) maxDimension) / actualWidth; in getSafeDrawable()
61 int width = (int) (actualWidth * scale); in getSafeDrawable()
/packages/apps/Settings/src/com/android/settings/
DUtils.java946 final int actualWidth = original.getMinimumWidth(); in getSafeDrawable() local
949 if (actualWidth <= maxWidth && actualHeight <= maxHeight) { in getSafeDrawable()
953 float scaleWidth = ((float) maxWidth) / actualWidth; in getSafeDrawable()
956 final int width = (int) (actualWidth * scale); in getSafeDrawable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java951 final int actualWidth = original.getMinimumWidth(); in getSafeDrawable() local
954 if (actualWidth <= maxWidth && actualHeight <= maxHeight) { in getSafeDrawable()
958 float scaleWidth = ((float) maxWidth) / actualWidth; in getSafeDrawable()
961 final int width = (int) (actualWidth * scale); in getSafeDrawable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java623 final int actualWidth = original.getMinimumWidth(); in redrawIconForHeader() local
626 if ((actualWidth == iconSize && actualHeight == iconSize) in redrawIconForHeader()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java595 final int actualWidth = original.getMinimumWidth(); in redrawIconForHeader() local
598 if ((actualWidth == iconSize && actualHeight == iconSize) in redrawIconForHeader()