Home
last modified time | relevance | path

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

/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java288 int intrinsicWidth = icon.getIntrinsicWidth(); 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/UniversalMediaPlayer/java/com/android/pump/widget/
DAspectRatioImageView.java54 int intrinsicWidth = drawable.getIntrinsicWidth(); in onMeasure() local
57 if (intrinsicWidth < intrinsicHeight) { in onMeasure()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseContentFragment.java297 int intrinsicWidth = iconView.getDrawable().getIntrinsicWidth(); in updateViewSize() local
299 if (intrinsicWidth > 0) { in updateViewSize()
301 / intrinsicWidth; in updateViewSize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java358 final int intrinsicWidth = background.getIntrinsicWidth(); in onDrawKeyBackground() local
361 keyWidth / (float)intrinsicWidth, keyHeight / (float)intrinsicHeight); in onDrawKeyBackground()
362 bgWidth = (int)(intrinsicWidth * minScale); in onDrawKeyBackground()