Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAppUtils.java47 int actualWidth = original.getMinimumWidth(); in getSafeDrawable() local
50 if (actualWidth <= maxDimension && actualHeight <= maxDimension) { in getSafeDrawable()
54 float scaleWidth = ((float) maxDimension) / actualWidth; in getSafeDrawable()
57 int width = (int) (actualWidth * scale); in getSafeDrawable()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1030 final int actualWidth = original.getMinimumWidth(); in getSafeDrawable() local
1033 if (actualWidth <= maxWidth && actualHeight <= maxHeight) { in getSafeDrawable()
1037 final float scaleWidth = ((float) maxWidth) / actualWidth; in getSafeDrawable()
1040 final int width = (int) (actualWidth * scale); in getSafeDrawable()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java603 final int actualWidth = original.getMinimumWidth(); in redrawIconForHeader() local
606 if ((actualWidth == iconSize && actualHeight == iconSize) in redrawIconForHeader()