Searched refs:intrinsicHeight (Results 1 – 4 of 4) sorted by relevance
289 int intrinsicHeight = icon.getIntrinsicHeight(); 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()
51 public void setIntrinsicHeight(int intrinsicHeight) { in setIntrinsicHeight() argument52 mIntrinsicHeight = intrinsicHeight; in setIntrinsicHeight()
55 int intrinsicHeight = drawable.getIntrinsicHeight(); in onMeasure() local57 if (intrinsicWidth < intrinsicHeight) { in onMeasure()
359 final int intrinsicHeight = background.getIntrinsicHeight(); in onDrawKeyBackground() local361 keyWidth / (float)intrinsicWidth, keyHeight / (float)intrinsicHeight); in onDrawKeyBackground()363 bgHeight = (int)(intrinsicHeight * minScale); in onDrawKeyBackground()