Searched refs:drawableHeight (Results 1 – 4 of 4) sorted by relevance
101 int drawableHeight = drawable.getIntrinsicHeight(); in captureValues() local102 if (scaleType == ImageView.ScaleType.FIT_XY && drawableWidth > 0 && drawableHeight > 0) { in captureValues()104 float scaleY = ((float) bounds.height()) / drawableHeight; in captureValues()159 int drawableHeight = drawable.getIntrinsicHeight(); in createAnimator() local162 if (drawableWidth <= 0 || drawableHeight <= 0) { in createAnimator()
106 int drawableHeight = bounds.height(); in draw() local118 } else if (drawableHeight > bitmapHeight in draw()128 bitmap = createBitmapCache(drawableWidth, drawableHeight); in draw()148 public Bitmap createBitmapCache(int drawableWidth, int drawableHeight) { in createBitmapCache() argument150 float scaleY = drawableHeight / VIEWBOX_HEIGHT; in createBitmapCache()
464 final int drawableHeight = buttonDrawable.getIntrinsicHeight(); in onDraw() local470 top = getHeight() - drawableHeight; in onDraw()473 top = (getHeight() - drawableHeight) / 2; in onDraw()478 final int bottom = top + drawableHeight; in onDraw()
943 int drawableHeight = d.getMinimumHeight(); in setProgressDrawable() local944 if (mMaxHeight < drawableHeight) { in setProgressDrawable()945 mMaxHeight = drawableHeight; in setProgressDrawable()