Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DLinearLayout.java607 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local
638 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical()
732 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical()
799 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { in measureVertical()
935 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureHorizontal() local
1041 if (heightMode != MeasureSpec.EXACTLY && lp.height == LayoutParams.MATCH_PARENT) { in measureHorizontal()
1215 boolean matchHeightLocally = heightMode != MeasureSpec.EXACTLY && in measureHorizontal()
1287 if (!allFillParent && heightMode != MeasureSpec.EXACTLY) { in measureHorizontal()
DAnalogClock.java134 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
144 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
DSwitch.java308 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
342 switch (heightMode) { in onMeasure()
DRelativeLayout.java324 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
333 if (heightMode != MeasureSpec.UNSPECIFIED) { in onMeasure()
341 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
366 final boolean isWrapContentHeight = heightMode != MeasureSpec.EXACTLY; in onMeasure()
DGridView.java1004 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1051 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1056 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
DScrollView.java318 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
319 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DListView.java1116 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1126 heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
1148 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1153 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
DTextView.java6393 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
6532 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
6542 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuView.java105 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local
294 int heightSpec = MeasureSpec.makeMeasureSpec(heightSize - heightPadding, heightMode); in onMeasureExactFormat()
306 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java326 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
327 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DActionBarView.java802 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
803 if (heightMode != MeasureSpec.AT_MOST) { in onMeasure()
1255 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1270 switch (heightMode) { in onMeasure()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java539 int width, int widthMode, int height, int heightMode) { in measureView() argument
541 int h_spec = MeasureSpec.makeMeasureSpec(height, heightMode); in measureView()
/frameworks/base/core/java/android/webkit/
DWebView.java7574 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
7588 if (heightMode != MeasureSpec.EXACTLY) { in onMeasure()
7591 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()