/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 | ScrollingTabContainerView.java | 83 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 84 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 92 mMaxTabWidth = (int) (MeasureSpec.getSize(widthMeasureSpec) * 0.4f); 94 mMaxTabWidth = MeasureSpec.getSize(widthMeasureSpec) / 2; 107 if (mTabLayout.getMeasuredWidth() > MeasureSpec.getSize(widthMeasureSpec)) { 117 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 382 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 383 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 | 429 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 431 measureVertical(widthMeasureSpec, heightMeasureSpec); 448 int widthMeasureSpec, int totalWidth, 457 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); 464 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { argument 465 findLargestCells(widthMeasureSpec); 466 shrinkAndStretchColumns(widthMeasureSpec); 468 super.measureVertical(widthMeasureSpec, heightMeasureSpec); 475 * @param widthMeasureSpec the measure constraint imposed by our parent 477 private void findLargestCells(int widthMeasureSpec) { argument 447 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument 546 shrinkAndStretchColumns(int widthMeasureSpec) argument [all...] |
H A D | TabWidget.java | 155 int widthMeasureSpec, int totalWidth, 158 widthMeasureSpec = MeasureSpec.makeMeasureSpec( 165 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); 169 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { argument 170 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.UNSPECIFIED) { 171 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); 180 int extraWidth = getMeasuredWidth() - MeasureSpec.getSize(widthMeasureSpec); 211 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); 154 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 | 276 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 277 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 283 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, 0),
|
H A D | TableRow.java | 110 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 112 measureHorizontal(widthMeasureSpec, heightMeasureSpec); 190 int widthMeasureSpec, int totalWidth, 245 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, 280 * @param widthMeasureSpec the width constraint imposed by our parent 286 int[] getColumnsWidths(int widthMeasureSpec) { argument 302 spec = getChildMeasureSpec(widthMeasureSpec, 0, LayoutParams.WRAP_CONTENT); 189 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
|
H A D | AnalogClock.java | 130 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 132 int widthMode = MeasureSpec.getMode(widthMeasureSpec); 133 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 150 setMeasuredDimension(resolveSizeAndState((int) (mDialWidth * scale), widthMeasureSpec, 0),
|
H A D | AbsSpinner.java | 159 * the widthMeasureSpec as Spinnners can't have their width set to 164 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 165 int widthMode = MeasureSpec.getMode(widthMeasureSpec); 206 measureChild(view, widthMeasureSpec, heightMeasureSpec); 227 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); 231 mWidthMeasureSpec = widthMeasureSpec;
|
H A D | LinearLayout.java | 551 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 553 measureVertical(widthMeasureSpec, heightMeasureSpec); 555 measureHorizontal(widthMeasureSpec, heightMeasureSpec); 588 * @param widthMeasureSpec Horizontal space requirements as imposed by the parent. 595 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { argument 606 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 661 child, i, widthMeasureSpec, 0, heightMeasureSpec, 793 final int childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, 881 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), 916 * @param widthMeasureSpec Horizonta 923 measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) argument 1305 forceUniformHeight(int count, int widthMeasureSpec) argument 1366 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument [all...] |
H A D | FrameLayout.java | 278 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 282 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || 293 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); 324 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), 343 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
|
H A D | Spinner.java | 284 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 285 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 286 if (mPopup != null && MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.AT_MOST) { 290 MeasureSpec.getSize(widthMeasureSpec)), 496 final int widthMeasureSpec = 519 itemView.measure(widthMeasureSpec, heightMeasureSpec);
|
/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);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItemView.java | 238 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 239 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 241 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 242 final int specSize = MeasureSpec.getSize(widthMeasureSpec);
|
H A D | ActionMenuView.java | 79 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 82 mFormatItems = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY; 90 final int widthSize = MeasureSpec.getMode(widthMeasureSpec); 97 onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec); 99 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 103 private void onMeasureExactFormat(int widthMeasureSpec, int heightMeasureSpec) { argument 106 int widthSize = MeasureSpec.getSize(widthMeasureSpec);
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentBreadCrumbs.java | 175 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 186 measureChild(child, widthMeasureSpec, heightMeasureSpec); 202 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, measuredChildState),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NotificationRowLayout.java | 281 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 317 final int childWidthMS = widthMeasureSpec; 331 getDefaultSize(getSuggestedMinimumWidth(), widthMeasureSpec),
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTitleStrip.java | 247 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 248 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 250 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5VideoFullScreen.java | 33 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 34 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
|