Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/transition/
DChangeImageTransform.java100 int drawableWidth = drawable.getIntrinsicWidth(); in captureValues() local
102 if (scaleType == ImageView.ScaleType.FIT_XY && drawableWidth > 0 && drawableHeight > 0) { in captureValues()
103 float scaleX = ((float) bounds.width()) / drawableWidth; in captureValues()
158 int drawableWidth = drawable.getIntrinsicWidth(); in createAnimator() local
162 if (drawableWidth <= 0 || drawableHeight <= 0) { in createAnimator()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java105 int drawableWidth = bounds.width(); in draw() local
116 if (drawableWidth > bitmapWidth && bitmapWidth < VIEWBOX_WIDTH * MAX_CACHED_BITMAP_SCALE) { in draw()
128 bitmap = createBitmapCache(drawableWidth, drawableHeight); in draw()
148 public Bitmap createBitmapCache(int drawableWidth, int drawableHeight) { in createBitmapCache() argument
149 float scaleX = drawableWidth / VIEWBOX_WIDTH; in createBitmapCache()
/frameworks/base/core/java/android/widget/
DCompoundButton.java465 final int drawableWidth = buttonDrawable.getIntrinsicWidth(); in onDraw() local
479 final int left = isLayoutRtl() ? getWidth() - drawableWidth : 0; in onDraw()
480 final int right = isLayoutRtl() ? getWidth() : drawableWidth; in onDraw()
DEditor.java2503 int drawableWidth = 0; in clampHorizontalPosition() local
2506 drawableWidth = drawable.getIntrinsicWidth(); in clampHorizontalPosition()
2519 left = viewClippedWidth + scrollX - (drawableWidth - mTempRect.right); in clampHorizontalPosition()