Home
last modified time | relevance | path

Searched refs:widthMode (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java62 final int widthMode = getMode(widthMeasureSpec); in onMeasure()
73 if (widthMode == AT_MOST) { in onMeasure()
DScrollingTabContainerView.java83 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
84 final boolean lockedExpanded = widthMode == MeasureSpec.EXACTLY; in onMeasure()
89 (widthMode == MeasureSpec.EXACTLY || widthMode == MeasureSpec.AT_MOST)) { in onMeasure()
DActionBarContextView.java320 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
321 if (widthMode != MeasureSpec.EXACTLY) { in onMeasure()
DActionBarView.java796 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
797 if (widthMode != MeasureSpec.EXACTLY) { in onMeasure()
1254 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
1259 switch (widthMode) { in onMeasure()
/frameworks/base/core/java/android/widget/
DLinearLayout.java606 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() local
697 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical()
826 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical()
849 if (useLargestChild && widthMode == MeasureSpec.UNSPECIFIED) { in measureVertical()
872 if (!allFillParent && widthMode != MeasureSpec.EXACTLY) { in measureVertical()
934 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureHorizontal() local
953 final boolean isExactly = widthMode == MeasureSpec.EXACTLY; in measureHorizontal()
980 if (widthMode == MeasureSpec.EXACTLY && lp.width == 0 && lp.weight > 0) { in measureHorizontal()
1106 (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED)) { in measureHorizontal()
1183 if ((lp.width != 0) || (widthMode != MeasureSpec.EXACTLY)) { in measureHorizontal()
[all …]
DAnalogClock.java132 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
140 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { in onMeasure()
DAbsSpinner.java165 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
218 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DSearchView.java652 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
655 switch (widthMode) { in onMeasure()
675 widthMode = MeasureSpec.EXACTLY; in onMeasure()
676 super.onMeasure(MeasureSpec.makeMeasureSpec(width, widthMode), heightMeasureSpec); in onMeasure()
DSwitch.java307 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
328 switch (widthMode) { in onMeasure()
DRelativeLayout.java323 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
329 if (widthMode != MeasureSpec.UNSPECIFIED) { in onMeasure()
337 if (widthMode == MeasureSpec.EXACTLY) { in onMeasure()
365 final boolean isWrapContentWidth = widthMode != MeasureSpec.EXACTLY; in onMeasure()
DGridView.java1003 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
1008 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1073 if (widthMode == MeasureSpec.AT_MOST && mRequestedNumColumns != AUTO_FIT) { in onMeasure()
DHorizontalScrollView.java309 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
310 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DListView.java1115 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
1125 if (mItemCount > 0 && (widthMode == MeasureSpec.UNSPECIFIED || in onMeasure()
1141 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
DTextView.java6392 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
6410 if (widthMode == MeasureSpec.EXACTLY) { in onMeasure()
6491 if (widthMode == MeasureSpec.AT_MOST) { 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
540 int w_spec = MeasureSpec.makeMeasureSpec(width, widthMode); in measureView()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2070 final int widthMode = getMode(widthMeasureSpec);
2081 if (widthMode == AT_MOST && tv.type != TypedValue.TYPE_NULL) {
/frameworks/base/core/java/android/webkit/
DWebView.java7576 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
7607 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()