Home
last modified time | relevance | path

Searched refs:actualHeight (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAppUtils.java52 int actualHeight = original.getMinimumHeight(); in getSafeDrawable() local
54 if (actualWidth <= maxDimension && actualHeight <= maxDimension) { in getSafeDrawable()
59 float scaleHeight = ((float) maxDimension) / actualHeight; in getSafeDrawable()
62 int height = (int) (actualHeight * scale); in getSafeDrawable()
/packages/apps/Settings/src/com/android/settings/
DUtils.java947 final int actualHeight = original.getMinimumHeight(); in getSafeDrawable() local
949 if (actualWidth <= maxWidth && actualHeight <= maxHeight) { in getSafeDrawable()
954 float scaleHeight = ((float) maxHeight) / actualHeight; in getSafeDrawable()
957 final int height = (int) (actualHeight * scale); in getSafeDrawable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java952 final int actualHeight = original.getMinimumHeight(); in getSafeDrawable() local
954 if (actualWidth <= maxWidth && actualHeight <= maxHeight) { in getSafeDrawable()
959 float scaleHeight = ((float) maxHeight) / actualHeight; in getSafeDrawable()
962 final int height = (int) (actualHeight * scale); in getSafeDrawable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java624 final int actualHeight = original.getMinimumHeight(); in redrawIconForHeader() local
626 if ((actualWidth == iconSize && actualHeight == iconSize) in redrawIconForHeader()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java596 final int actualHeight = original.getMinimumHeight(); in redrawIconForHeader() local
598 if ((actualWidth == iconSize && actualHeight == iconSize) in redrawIconForHeader()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardBuilder.java871 final int actualHeight = mCurrentY - mParams.mVerticalGap + mParams.mBottomPadding; in endKeyboard() local
872 mParams.mOccupiedHeight = Math.max(mParams.mOccupiedHeight, actualHeight); in endKeyboard()