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()
534 final int drawableHeight = buttonDrawable.getIntrinsicHeight(); in onDraw() local540 top = getHeight() - drawableHeight; in onDraw()543 top = (getHeight() - drawableHeight) / 2; in onDraw()548 final int bottom = top + drawableHeight; in onDraw()
948 int drawableHeight = d.getMinimumHeight(); in setProgressDrawable() local949 if (mMaxHeight < drawableHeight) { in setProgressDrawable()950 mMaxHeight = drawableHeight; in setProgressDrawable()