Searched refs:drawableWidth (Results 1 – 4 of 4) sorted by relevance
100 int drawableWidth = drawable.getIntrinsicWidth(); in captureValues() local102 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() local162 if (drawableWidth <= 0 || drawableHeight <= 0) { in createAnimator()
105 int drawableWidth = bounds.width(); in draw() local116 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() argument149 float scaleX = drawableWidth / VIEWBOX_WIDTH; in createBitmapCache()
465 final int drawableWidth = buttonDrawable.getIntrinsicWidth(); in onDraw() local479 final int left = isLayoutRtl() ? getWidth() - drawableWidth : 0; in onDraw()480 final int right = isLayoutRtl() ? getWidth() : drawableWidth; in onDraw()
2503 int drawableWidth = 0; in clampHorizontalPosition() local2506 drawableWidth = drawable.getIntrinsicWidth(); in clampHorizontalPosition()2519 left = viewClippedWidth + scrollX - (drawableWidth - mTempRect.right); in clampHorizontalPosition()