/frameworks/base/core/java/com/android/internal/widget/ |
H A D | WeightedLinearLayout.java | 57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 62 final int widthMode = getMode(widthMeasureSpec); 64 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY); 77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY); 80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY); 88 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
H A D | DialogTitle.java | 46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 47 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 69 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
H A D | FaceUnlockView.java | 55 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 58 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth);
|
H A D | ScrollingTabContainerView.java | 85 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 86 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 94 mMaxTabWidth = (int) (MeasureSpec.getSize(widthMeasureSpec) * 0.4f); 96 mMaxTabWidth = MeasureSpec.getSize(widthMeasureSpec) / 2; 110 if (mTabLayout.getMeasuredWidth() > MeasureSpec.getSize(widthMeasureSpec)) { 120 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 381 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 382 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/base/core/java/android/widget/ |
H A D | Space.java | 89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 91 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec),
|
H A D | TableLayout.java | 437 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 439 measureVertical(widthMeasureSpec, heightMeasureSpec); 456 int widthMeasureSpec, int totalWidth, 465 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); 472 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { argument 473 findLargestCells(widthMeasureSpec); 474 shrinkAndStretchColumns(widthMeasureSpec); 476 super.measureVertical(widthMeasureSpec, heightMeasureSpec); 483 * @param widthMeasureSpec the measure constraint imposed by our parent 485 private void findLargestCells(int widthMeasureSpec) { argument 455 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument 554 shrinkAndStretchColumns(int widthMeasureSpec) argument [all...] |
H A D | TabWidget.java | 153 int widthMeasureSpec, int totalWidth, 156 widthMeasureSpec = MeasureSpec.makeMeasureSpec( 163 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); 167 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { argument 168 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.UNSPECIFIED) { 169 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); 178 int extraWidth = getMeasuredWidth() - MeasureSpec.getSize(widthMeasureSpec); 209 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); 152 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
|
H A D | AbsoluteLayout.java | 56 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 63 measureChildren(widthMeasureSpec, heightMeasureSpec); 91 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, 0),
|
H A D | RatingBar.java | 279 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 280 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 286 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, 0),
|
H A D | TableRow.java | 112 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 114 measureHorizontal(widthMeasureSpec, heightMeasureSpec); 192 int widthMeasureSpec, int totalWidth, 247 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, 282 * @param widthMeasureSpec the width constraint imposed by our parent 288 int[] getColumnsWidths(int widthMeasureSpec) { argument 304 spec = getChildMeasureSpec(widthMeasureSpec, 0, LayoutParams.WRAP_CONTENT); 191 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
|
H A D | AnalogClock.java | 134 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 136 int widthMode = MeasureSpec.getMode(widthMeasureSpec); 137 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 154 setMeasuredDimension(resolveSizeAndState((int) (mDialWidth * scale), widthMeasureSpec, 0),
|
H A D | AbsSpinner.java | 160 * the widthMeasureSpec as Spinnners can't have their width set to 165 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 166 int widthMode = MeasureSpec.getMode(widthMeasureSpec); 211 measureChild(view, widthMeasureSpec, heightMeasureSpec); 232 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); 236 mWidthMeasureSpec = widthMeasureSpec;
|
H A D | LinearLayout.java | 586 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 588 measureVertical(widthMeasureSpec, heightMeasureSpec); 590 measureHorizontal(widthMeasureSpec, heightMeasureSpec); 623 * @param widthMeasureSpec Horizontal space requirements as imposed by the parent. 630 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { argument 641 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 696 child, i, widthMeasureSpec, 0, heightMeasureSpec, 828 final int childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, 916 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), 951 * @param widthMeasureSpec Horizonta 958 measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) argument 1340 forceUniformHeight(int count, int widthMeasureSpec) argument 1401 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument [all...] |
H A D | FrameLayout.java | 295 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 299 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || 310 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); 341 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), 360 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
|
H A D | Spinner.java | 438 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 439 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 440 if (mPopup != null && MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.AT_MOST) { 444 MeasureSpec.getSize(widthMeasureSpec)), 664 final int widthMeasureSpec = 687 itemView.measure(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TextPathActivity.java | 52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 53 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), 3000);
|
H A D | GradientsActivity.java | 105 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 106 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 130 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 131 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 155 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 156 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 179 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 180 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
H A D | DisplayListLayersActivity.java | 120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 121 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec) / 3,
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | Space.java | 89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 91 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec),
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | LabelView.java | 120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 121 setMeasuredDimension(measureWidth(widthMeasureSpec),
|
H A D | ListViewTest.java | 123 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 124 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | IconMerger.java | 54 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 55 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
H A D | QuickSettingsContainerView.java | 62 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 64 int width = MeasureSpec.getSize(widthMeasureSpec);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItemView.java | 254 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 266 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 268 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 269 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
|
H A D | ActionMenuView.java | 93 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 96 mFormatItems = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY; 104 final int widthSize = MeasureSpec.getMode(widthMeasureSpec); 111 onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec); 120 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 124 private void onMeasureExactFormat(int widthMeasureSpec, int heightMeasureSpec) { argument 127 int widthSize = MeasureSpec.getSize(widthMeasureSpec);
|