Searched refs:drawableHeight (Results 1 – 4 of 4) sorted by relevance
59 final int drawableHeight = getDrawable().getIntrinsicHeight(); in recomputeImageMatrix() local62 if (drawableWidth * viewHeight > drawableHeight * viewWidth) { in recomputeImageMatrix()63 scale = (float) viewHeight / drawableHeight; in recomputeImageMatrix()72 if ((drawableHeight * scale) > viewHeight) { in recomputeImageMatrix()73 float dy = -(((drawableHeight * scale) - viewHeight) / 2f); in recomputeImageMatrix()
46 final int drawableHeight = drawable.getIntrinsicHeight(); in fromDrawable() local49 final int insetVertical = drawableHeight < 0 || drawableHeight > sourceHeight ? in fromDrawable()50 0 : (sourceHeight - drawableHeight) / 2; in fromDrawable()
360 final int drawableHeight = Math.round(scaleFactor * nativeDrawableHeight); in onLayout() local365 final int drawableTop = (viewHeight - drawableHeight) / 2; in onLayout()368 drawableTop + drawableHeight); in onLayout()
329 int drawableHeight = mDrawable.getIntrinsicHeight(); in getIconRect() local337 final int height = drawableHeight; in getIconRect()