Home
last modified time | relevance | path

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

12

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintDialogFrame.java55 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
56 switch (heightMode) { in onMeasure()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java179 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() local
184 if (DEBUG && heightMode != MeasureSpec.AT_MOST) { in onMeasure()
212 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
DPagedView.java653 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
665 if (widthMode == MeasureSpec.UNSPECIFIED || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
/frameworks/base/core/java/android/widget/
DLinearLayout.java642 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local
673 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical()
767 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical()
834 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { in measureVertical()
884 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
970 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureHorizontal() local
1076 if (heightMode != MeasureSpec.EXACTLY && lp.height == LayoutParams.MATCH_PARENT) { in measureHorizontal()
1250 boolean matchHeightLocally = heightMode != MeasureSpec.EXACTLY && in measureHorizontal()
1322 if (!allFillParent && heightMode != MeasureSpec.EXACTLY) { in measureHorizontal()
DAnalogClock.java138 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
148 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
DRelativeLayout.java391 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
400 if (heightMode != MeasureSpec.UNSPECIFIED) { in onMeasure()
408 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
433 final boolean isWrapContentHeight = heightMode != MeasureSpec.EXACTLY; in onMeasure()
DGridView.java1022 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1068 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1073 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
DScrollView.java332 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
333 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DListView.java1136 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1146 heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
1168 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1173 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DSizeAdaptiveLayout.java190 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in selectActiveChild() local
218 if (heightMode != MeasureSpec.UNSPECIFIED && in selectActiveChild()
228 if (heightMode == MeasureSpec.UNSPECIFIED || heightSize > tallestViewSize) { in selectActiveChild()
DActionBarContextView.java330 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
331 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DActionBarView.java929 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
930 if (heightMode != MeasureSpec.AT_MOST) { in onMeasure()
1489 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1504 switch (heightMode) { in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuView.java126 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local
133 final int itemHeightSpec = heightMode == MeasureSpec.EXACTLY in onMeasureExactFormat()
354 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java434 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
452 } else if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
457 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
458 heightMode = MeasureSpec.AT_MOST; in onMeasure()
468 switch (heightMode) { in onMeasure()
533 if (heightMode == MeasureSpec.AT_MOST && childHeight > layoutHeight) { in onMeasure()
DDrawerLayout.java602 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
606 if (widthMode != MeasureSpec.EXACTLY || heightMode != MeasureSpec.EXACTLY) { in onMeasure()
618 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
619 heightMode = MeasureSpec.EXACTLY; in onMeasure()
621 else if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
622 heightMode = MeasureSpec.EXACTLY; in onMeasure()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java326 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
348 switch (heightMode) { in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuView.java125 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local
132 final int itemHeightSpec = heightMode == MeasureSpec.EXACTLY in onMeasureExactFormat()
331 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java425 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
447 switch (heightMode) { in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContextView.java301 final int heightMode = View.MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
302 if (heightMode == View.MeasureSpec.UNSPECIFIED) { in onMeasure()
DActionBarView.java844 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
845 if (heightMode != MeasureSpec.AT_MOST) { in onMeasure()
1322 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1337 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.java1394 int heightMode = MeasureSpec.AT_MOST;
1401 heightMode = MeasureSpec.EXACTLY;
1413 heightMode = MeasureSpec.EXACTLY;
1419 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java152 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
156 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()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java618 int width, int widthMode, int height, int heightMode) { in measureView() argument
620 int h_spec = MeasureSpec.makeMeasureSpec(height, heightMode); in measureView()

12