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.java464 final int drawableHeight = buttonDrawable.getIntrinsicHeight(); in onDraw() local
470 top = getHeight() - drawableHeight; in onDraw()
473 top = (getHeight() - drawableHeight) / 2; in onDraw()
478 final int bottom = top + drawableHeight; in onDraw()
DProgressBar.java943 int drawableHeight = d.getMinimumHeight(); in setProgressDrawable() local
944 if (mMaxHeight < drawableHeight) { in setProgressDrawable()
945 mMaxHeight = drawableHeight; in setProgressDrawable()