/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 | FaceUnlockView.java | 55 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 58 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure()
|
D | ScrollingTabContainerView.java | 87 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 88 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 96 mMaxTabWidth = (int) (MeasureSpec.getSize(widthMeasureSpec) * 0.4f); in onMeasure() 98 mMaxTabWidth = MeasureSpec.getSize(widthMeasureSpec) / 2; in onMeasure() 112 if (mTabLayout.getMeasuredWidth() > MeasureSpec.getSize(widthMeasureSpec)) { in onMeasure() 122 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 409 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 410 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | ActionBarOverlayLayout.java | 244 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 254 measureChildWithMargins(mActionBarTop, widthMeasureSpec, 0, heightMeasureSpec, 0); 264 measureChildWithMargins(mActionBarBottom, widthMeasureSpec, 0, heightMeasureSpec, 0); 327 measureChildWithMargins(mContent, widthMeasureSpec, 0, heightMeasureSpec, 0); 343 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
D | PrintDialogFrame.java | 36 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 37 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 40 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 47 final int receivedWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | TableLayout.java | 437 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 439 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure() 456 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 465 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout() 472 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument 473 findLargestCells(widthMeasureSpec); in measureVertical() 474 shrinkAndStretchColumns(widthMeasureSpec); in measureVertical() 476 super.measureVertical(widthMeasureSpec, heightMeasureSpec); in measureVertical() 485 private void findLargestCells(int widthMeasureSpec) { in findLargestCells() argument 508 final int[] widths = row.getColumnsWidths(widthMeasureSpec); in findLargestCells() [all …]
|
D | TabWidget.java | 153 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 156 widthMeasureSpec = MeasureSpec.makeMeasureSpec( in measureChildBeforeLayout() 163 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout() 167 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { in measureHorizontal() argument 168 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.UNSPECIFIED) { in measureHorizontal() 169 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); in measureHorizontal() 178 int extraWidth = getMeasuredWidth() - MeasureSpec.getSize(widthMeasureSpec); in measureHorizontal() 209 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); in measureHorizontal()
|
D | Space.java | 89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 91 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec), in onMeasure() local
|
D | TableRow.java | 112 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 114 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure() 192 int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 247 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, in measureChildBeforeLayout() 288 int[] getColumnsWidths(int widthMeasureSpec) { in getColumnsWidths() argument 304 … spec = getChildMeasureSpec(widthMeasureSpec, 0, LayoutParams.WRAP_CONTENT); in getColumnsWidths()
|
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 | RatingBar.java | 279 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 280 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 286 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, 0), in onMeasure()
|
D | AbsSpinner.java | 165 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 166 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 209 measureChild(view, widthMeasureSpec, heightMeasureSpec); in onMeasure() 230 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); in onMeasure() 234 mWidthMeasureSpec = widthMeasureSpec; in onMeasure()
|
D | AnalogClock.java | 134 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 136 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 137 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 154 setMeasuredDimension(resolveSizeAndState((int) (mDialWidth * scale), widthMeasureSpec, 0), in onMeasure() local
|
D | LinearLayout.java | 586 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 588 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure() 590 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure() 630 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument 641 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() 696 child, i, widthMeasureSpec, 0, heightMeasureSpec, in measureVertical() 828 final int childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, in measureVertical() 916 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical() 958 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { in measureHorizontal() argument 969 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureHorizontal() [all …]
|
/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 | TextPathActivity.java | 52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 53 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), 3000); in onMeasure()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ScrollingTabContainerView.java | 78 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 79 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 87 mMaxTabWidth = (int) (MeasureSpec.getSize(widthMeasureSpec) * 0.4f); in onMeasure() 89 mMaxTabWidth = MeasureSpec.getSize(widthMeasureSpec) / 2; in onMeasure() 103 if (mTabLayout.getMeasuredWidth() > MeasureSpec.getSize(widthMeasureSpec)) { in onMeasure() 113 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 356 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 357 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | AbsSpinnerICS.java | 146 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 147 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 193 measureChild(view, widthMeasureSpec, heightMeasureSpec); in onMeasure() 214 widthSize = resolveSize(preferredWidth, widthMeasureSpec); in onMeasure() 218 mWidthMeasureSpec = widthMeasureSpec; in onMeasure()
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | Space.java | 89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 91 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec), in onMeasure() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | IconMerger.java | 49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 50 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | ActionMenuItemView.java | 208 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 215 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 217 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 218 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
|
D | ActionMenuView.java | 93 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 96 mFormatItems = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY; in onMeasure() 104 final int widthSize = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 111 onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec); in onMeasure() 120 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 124 private void onMeasureExactFormat(int widthMeasureSpec, int heightMeasureSpec) { in onMeasureExactFormat() argument 127 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()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 254 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 266 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 268 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 269 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
|