/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 62 final int widthMode = getMode(widthMeasureSpec); in onMeasure() 73 if (widthMode == AT_MOST) { in onMeasure()
|
D | ScrollingTabContainerView.java | 83 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()
|
D | ActionBarContextView.java | 320 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 321 if (widthMode != MeasureSpec.EXACTLY) { in onMeasure()
|
D | ActionBarView.java | 796 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/ |
D | LinearLayout.java | 606 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 …]
|
D | AnalogClock.java | 132 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 140 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { in onMeasure()
|
D | AbsSpinner.java | 165 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 218 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
D | SearchView.java | 652 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()
|
D | Switch.java | 307 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 328 switch (widthMode) { in onMeasure()
|
D | RelativeLayout.java | 323 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()
|
D | GridView.java | 1003 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()
|
D | HorizontalScrollView.java | 309 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 310 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
D | ListView.java | 1115 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 1125 if (mItemCount > 0 && (widthMode == MeasureSpec.UNSPECIFIED || in onMeasure() 1141 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
D | TextView.java | 6392 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/ |
D | RenderSessionImpl.java | 539 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/ |
D | PhoneWindow.java | 2070 final int widthMode = getMode(widthMeasureSpec); 2081 if (widthMode == AT_MOST && tv.type != TypedValue.TYPE_NULL) {
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 7576 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 7607 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|