Searched refs:intrinsicWidth (Results 1 – 4 of 4) sorted by relevance
288 int intrinsicWidth = icon.getIntrinsicWidth(); in createIconBitmap() local290 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()
54 int intrinsicWidth = drawable.getIntrinsicWidth(); in onMeasure() local57 if (intrinsicWidth < intrinsicHeight) { in onMeasure()
297 int intrinsicWidth = iconView.getDrawable().getIntrinsicWidth(); in updateViewSize() local299 if (intrinsicWidth > 0) { in updateViewSize()301 / intrinsicWidth; in updateViewSize()
358 final int intrinsicWidth = background.getIntrinsicWidth(); in onDrawKeyBackground() local361 keyWidth / (float)intrinsicWidth, keyHeight / (float)intrinsicHeight); in onDrawKeyBackground()362 bgWidth = (int)(intrinsicWidth * minScale); in onDrawKeyBackground()