Searched refs:heightMode (Results 1 – 10 of 10) sorted by relevance
57 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local58 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
48 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local53 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()61 heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, heightMode); in onMeasure()
41 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local42 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()45 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
127 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local135 if (heightMode != MeasureSpec.EXACTLY) { in onMeasure()
129 int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() local138 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()140 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
653 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local685 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical()780 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical()850 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { in measureVertical()918 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
313 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local327 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()329 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
1155 int heightMode = MeasureSpec.getMode(heightMeasureSpec);1170 (heightMode == MeasureSpec.UNSPECIFIED ? 1 : clientHeightSize / mScrapHeight)1192 if (heightMode == MeasureSpec.UNSPECIFIED ||1193 (heightMode == MeasureSpec.AT_MOST && mOrientation == HORIZONTAL)) {1197 heightSize = heightMode == MeasureSpec.AT_MOST ? Math.min(size, heightSize) : size;
529 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local532 if (widthMode == MeasureSpec.UNSPECIFIED || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()