Home
last modified time | relevance | path

Searched refs:heightMode (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/widget/
DPreferenceImageView.java57 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
58 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
DSizeAdaptiveLayout.java195 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in selectActiveChild() local
223 if (heightMode != MeasureSpec.UNSPECIFIED && in selectActiveChild()
233 if (heightMode == MeasureSpec.UNSPECIFIED || heightSize > tallestViewSize) { in selectActiveChild()
DActionBarContextView.java343 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
344 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DActionBarView.java915 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
916 if (heightMode != MeasureSpec.AT_MOST) { in onMeasure()
1523 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1538 switch (heightMode) { in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableView.java54 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
55 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; in onMeasure()
56 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; in onMeasure()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardView.java187 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
188 switch (heightMode) { in onMeasure()
193 MeasureSpec.getSize(heightMeasureSpec)), heightMode); in onMeasure()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java197 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() local
202 if (DEBUG && heightMode != MeasureSpec.AT_MOST) { in onMeasure()
230 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java601 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local
633 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical()
729 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical()
797 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { in measureVertical()
848 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
934 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureHorizontal() local
1043 if (heightMode != MeasureSpec.EXACTLY && lp.height == LayoutParams.MATCH_PARENT) { in measureHorizontal()
1219 boolean matchHeightLocally = heightMode != MeasureSpec.EXACTLY && in measureHorizontal()
1291 if (!allFillParent && heightMode != MeasureSpec.EXACTLY) { in measureHorizontal()
DActionMenuView.java175 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local
379 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
/frameworks/base/core/java/android/widget/
DLinearLayout.java667 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local
699 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical()
794 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical()
862 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { in measureVertical()
912 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
998 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureHorizontal() local
1107 if (heightMode != MeasureSpec.EXACTLY && lp.height == LayoutParams.MATCH_PARENT) { in measureHorizontal()
1282 boolean matchHeightLocally = heightMode != MeasureSpec.EXACTLY && in measureHorizontal()
1354 if (!allFillParent && heightMode != MeasureSpec.EXACTLY) { in measureHorizontal()
DAnalogClock.java149 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
159 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
DActionMenuView.java165 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local
369 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
DRelativeLayout.java399 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
408 if (heightMode != MeasureSpec.UNSPECIFIED) { in onMeasure()
416 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
441 final boolean isWrapContentHeight = heightMode != MeasureSpec.EXACTLY; in onMeasure()
DGridView.java1038 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1084 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1089 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
DScrollView.java343 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
344 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DListView.java1143 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1153 heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
1175 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1180 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java331 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
353 switch (heightMode) { in onMeasure()
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java444 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
462 } else if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
467 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
468 heightMode = MeasureSpec.AT_MOST; in onMeasure()
478 switch (heightMode) { in onMeasure()
544 if (heightMode == MeasureSpec.AT_MOST && childHeight > layoutHeight) { in onMeasure()
DDrawerLayout.java807 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
811 if (widthMode != MeasureSpec.EXACTLY || heightMode != MeasureSpec.EXACTLY) { in onMeasure()
823 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
824 heightMode = MeasureSpec.EXACTLY; in onMeasure()
826 else if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
827 heightMode = MeasureSpec.EXACTLY; in onMeasure()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java428 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
450 switch (heightMode) { in onMeasure()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java423 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
445 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
DViewPager.java1399 int heightMode = MeasureSpec.AT_MOST;
1406 heightMode = MeasureSpec.EXACTLY;
1418 heightMode = MeasureSpec.EXACTLY;
1424 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContextView.java336 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
337 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java151 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
155 MeasureSpec.makeMeasureSpec(minDimension, heightMode)); in onMeasure()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java616 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
625 if (heightMode != MeasureSpec.EXACTLY) { in onMeasure()
628 heightMode = MeasureSpec.EXACTLY; in onMeasure()

12