Searched refs:widthMode (Results 1 – 10 of 10) sorted by relevance
47 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local48 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()52 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
128 int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure() local131 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()133 } else if (widthMode == MeasureSpec.AT_MOST) { in onMeasure()
40 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local42 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()
126 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local131 if (widthMode != MeasureSpec.EXACTLY) { in onMeasure()
311 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local319 if (widthMode == MeasureSpec.EXACTLY) { in onMeasure()321 } else if (widthMode == MeasureSpec.AT_MOST) { in onMeasure()
48 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local50 final boolean isFixedSize = (widthMode == MeasureSpec.EXACTLY); in onMeasure()
652 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() local745 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical()895 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical()940 if (!allFillParent && widthMode != MeasureSpec.EXACTLY) { in measureVertical()
1154 int widthMode = MeasureSpec.getMode(widthMeasureSpec);1171 : (widthMode == MeasureSpec.UNSPECIFIED ? 1 : clientWidthSize / mScrapWidth);1181 if (widthMode == MeasureSpec.UNSPECIFIED ||1182 (widthMode == MeasureSpec.AT_MOST && mOrientation == VERTICAL)) {1186 widthSize = widthMode == MeasureSpec.AT_MOST ? Math.min(size, widthSize) : size;
528 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local533 if (widthMode == MeasureSpec.UNSPECIFIED || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()