Home
last modified time | relevance | path

Searched refs:intrinsicHeight (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java289 int intrinsicHeight = icon.getIntrinsicHeight(); in createIconBitmap() local
290 if (intrinsicWidth > 0 && intrinsicHeight > 0) { in createIconBitmap()
292 final float ratio = (float) intrinsicWidth / intrinsicHeight; in createIconBitmap()
293 if (intrinsicWidth > intrinsicHeight) { in createIconBitmap()
295 } else if (intrinsicHeight > intrinsicWidth) { in createIconBitmap()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DScrimDrawable.java51 public void setIntrinsicHeight(int intrinsicHeight) { in setIntrinsicHeight() argument
52 mIntrinsicHeight = intrinsicHeight; in setIntrinsicHeight()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/widget/
DAspectRatioImageView.java55 int intrinsicHeight = drawable.getIntrinsicHeight(); in onMeasure() local
57 if (intrinsicWidth < intrinsicHeight) { in onMeasure()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java359 final int intrinsicHeight = background.getIntrinsicHeight(); in onDrawKeyBackground() local
361 keyWidth / (float)intrinsicWidth, keyHeight / (float)intrinsicHeight); in onDrawKeyBackground()
363 bgHeight = (int)(intrinsicHeight * minScale); in onDrawKeyBackground()