/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 62 final int widthMode = getMode(widthMeasureSpec); in onMeasure() 64 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY); in onMeasure() 77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY); in onMeasure() 80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY); in onMeasure() 88 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | DialogTitle.java | 46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 47 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 69 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | ScrollingTabContainerView.java | 82 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 83 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 91 mMaxTabWidth = (int) (MeasureSpec.getSize(widthMeasureSpec) * 0.4f); in onMeasure() 93 mMaxTabWidth = MeasureSpec.getSize(widthMeasureSpec) / 2; in onMeasure() 106 if (mTabLayout.getMeasuredWidth() > MeasureSpec.getSize(widthMeasureSpec)) { in onMeasure() 116 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 381 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 382 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | ActionBarContainer.java | 172 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 173 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | TableLayout.java | 429 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 431 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure() 448 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 457 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout() 464 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument 465 findLargestCells(widthMeasureSpec); in measureVertical() 466 shrinkAndStretchColumns(widthMeasureSpec); in measureVertical() 468 super.measureVertical(widthMeasureSpec, heightMeasureSpec); in measureVertical() 477 private void findLargestCells(int widthMeasureSpec) { in findLargestCells() argument 500 final int[] widths = row.getColumnsWidths(widthMeasureSpec); in findLargestCells() [all …]
|
D | TabWidget.java | 155 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 158 widthMeasureSpec = MeasureSpec.makeMeasureSpec( in measureChildBeforeLayout() 165 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout() 169 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { in measureHorizontal() argument 170 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.UNSPECIFIED) { in measureHorizontal() 171 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); in measureHorizontal() 180 int extraWidth = getMeasuredWidth() - MeasureSpec.getSize(widthMeasureSpec); in measureHorizontal() 211 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); in measureHorizontal()
|
D | TableRow.java | 110 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 112 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure() 190 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 245 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, in measureChildBeforeLayout() 286 int[] getColumnsWidths(int widthMeasureSpec) { in getColumnsWidths() argument 302 … spec = getChildMeasureSpec(widthMeasureSpec, 0, LayoutParams.WRAP_CONTENT); in getColumnsWidths()
|
D | Space.java | 89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 91 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec), in onMeasure() local
|
D | RatingBar.java | 276 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 277 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 283 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, 0), in onMeasure()
|
D | AbsoluteLayout.java | 56 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 63 measureChildren(widthMeasureSpec, heightMeasureSpec); in onMeasure() 91 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, 0), in onMeasure()
|
D | AbsSpinner.java | 164 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 165 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 206 measureChild(view, widthMeasureSpec, heightMeasureSpec); in onMeasure() 227 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); in onMeasure() 231 mWidthMeasureSpec = widthMeasureSpec; in onMeasure()
|
D | AnalogClock.java | 130 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 132 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 133 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 150 setMeasuredDimension(resolveSizeAndState((int) (mDialWidth * scale), widthMeasureSpec, 0), in onMeasure() local
|
D | LinearLayout.java | 551 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 553 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure() 555 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure() 595 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument 606 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() 661 child, i, widthMeasureSpec, 0, heightMeasureSpec, in measureVertical() 793 final int childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, in measureVertical() 881 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical() 923 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { in measureHorizontal() argument 934 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureHorizontal() [all …]
|
D | Spinner.java | 269 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 270 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 271 if (mPopup != null && MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure() 275 MeasureSpec.getSize(widthMeasureSpec)), in onMeasure() 478 final int widthMeasureSpec = in measureContentWidth() local 501 itemView.measure(widthMeasureSpec, heightMeasureSpec); in measureContentWidth()
|
D | FrameLayout.java | 278 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 282 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure() 293 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure() 324 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure() 343 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, in onMeasure()
|
D | ActivityChooserView.java | 409 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 418 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure() 736 final int widthMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureContentWidth() local 742 itemView.measure(widthMeasureSpec, heightMeasureSpec); in measureContentWidth()
|
D | Switch.java | 306 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 307 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 309 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 359 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientsActivity.java | 105 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 106 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 130 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 131 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 155 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 156 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 179 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 180 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | DisplayListLayersActivity.java | 120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 121 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec) / 3, in onMeasure()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuView.java | 79 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 82 mFormatItems = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY; in onMeasure() 90 final int widthSize = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 97 onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec); in onMeasure() 99 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 103 private void onMeasureExactFormat(int widthMeasureSpec, int heightMeasureSpec) { in onMeasureExactFormat() argument 106 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasureExactFormat()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 121 setMeasuredDimension(measureWidth(widthMeasureSpec), in onMeasure()
|
D | ListViewTest.java | 123 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 124 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 175 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 186 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure() 202 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, measuredChildState), in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NotificationRowLayout.java | 281 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 317 final int childWidthMS = widthMeasureSpec; in onMeasure() 331 getDefaultSize(getSuggestedMinimumWidth(), widthMeasureSpec), in onMeasure() local
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 100 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 102 measureWidth(widthMeasureSpec), in onMeasure()
|