Searched refs:layoutWidth (Results 1 – 3 of 3) sorted by relevance
116 final int layoutWidth = right - left; in onLayout() local123 mViewBounds.set(0, 0, layoutWidth, layoutHeight); in onLayout()125 mScale = layoutWidth / (float) intrinsicWidth; in onLayout()126 intrinsicWidth = layoutWidth; in onLayout()136 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), in onLayout()
386 int layoutWidth = 0; in onMeasure() local390 layoutWidth = maxLayoutWidth = widthSize - getPaddingLeft() - getPaddingRight(); in onMeasure()453 if (widthMode == MeasureSpec.AT_MOST && childWidth > layoutWidth) { in onMeasure()454 layoutWidth = Math.min(childWidth, maxLayoutWidth); in onMeasure()550 final int measuredWidth = layoutWidth + getPaddingLeft() + getPaddingRight(); in onMeasure()
91 private float getWidthTransformRatio(int width, int layoutWidth) { in getWidthTransformRatio() argument93 return (float) layoutWidth / (float) width; in getWidthTransformRatio()