Searched refs:parentWidth (Results 1 – 6 of 6) sorted by relevance
205 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local228 int childWidth = params.resolveWidth(parentWidth); in onMeasure()261 width += params.resolveLeftMargin(parentWidth) + params.resolveRightMargin(parentWidth); in onMeasure()265 int remainder = parentWidth - width; in onMeasure()
39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local42 float value = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, parentWidth, in onMeasure()44 if (mMaxWidth > 0 && parentWidth > mMaxWidth) { in onMeasure()
32 ListView listView, int parentWidth, int listSpaceWeight, int listViewWeight) { in addPaddingToView() argument37 (int) (parentWidth * paddingPercent * TEXT_LEFT_PADDING_TO_CARD_PADDING_RATIO), in addPaddingToView()39 (int) (parentWidth * paddingPercent * TEXT_LEFT_PADDING_TO_CARD_PADDING_RATIO), in addPaddingToView()
71 final int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local111 if (!outOfSpec && totalLength > parentWidth) { in onMeasure()112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth); in onMeasure()
1153 final int parentWidth = getWidth(); in recycleViewsOutOfBounds() local1162 if (v.hasFocus() || (v.getRight() >= 0 && v.getLeft() <= parentWidth && in recycleViewsOutOfBounds()
207 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local209 setMeasuredDimension(parentWidth, parentHeight); in onMeasure()