Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/transition/
DChangeImageTransform.java101 int drawableHeight = drawable.getIntrinsicHeight(); in captureValues() local
102 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() local
162 if (drawableWidth <= 0 || drawableHeight <= 0) { in createAnimator()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java106 int drawableHeight = bounds.height(); in draw() local
118 } else if (drawableHeight > bitmapHeight in draw()
128 bitmap = createBitmapCache(drawableWidth, drawableHeight); in draw()
148 public Bitmap createBitmapCache(int drawableWidth, int drawableHeight) { in createBitmapCache() argument
150 float scaleY = drawableHeight / VIEWBOX_HEIGHT; in createBitmapCache()
/frameworks/base/core/java/android/widget/
DCompoundButton.java534 final int drawableHeight = buttonDrawable.getIntrinsicHeight(); in onDraw() local
540 top = getHeight() - drawableHeight; in onDraw()
543 top = (getHeight() - drawableHeight) / 2; in onDraw()
548 final int bottom = top + drawableHeight; in onDraw()
DProgressBar.java948 int drawableHeight = d.getMinimumHeight(); in setProgressDrawable() local
949 if (mMaxHeight < drawableHeight) { in setProgressDrawable()
950 mMaxHeight = drawableHeight; in setProgressDrawable()