/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 | PreferenceImageView.java | 46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 47 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 53 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); 67 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
H A D | DialogTitle.java | 49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 50 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 72 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
H A D | FaceUnlockView.java | 53 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 56 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | SpeedBumpView.java | 68 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 69 measureChildren(widthMeasureSpec, heightMeasureSpec); 71 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), height);
|
/frameworks/base/core/java/android/widget/ |
H A D | Space.java | 95 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 97 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 | AbsoluteLayout.java | 59 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 66 measureChildren(widthMeasureSpec, heightMeasureSpec); 94 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, 0),
|
H A D | RatingBar.java | 283 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 284 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 290 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 | TabWidget.java | 156 int widthMeasureSpec, int totalWidth, 159 widthMeasureSpec = MeasureSpec.makeMeasureSpec( 166 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); 170 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { argument 171 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.UNSPECIFIED) { 172 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); 181 int extraWidth = getMeasuredWidth() - MeasureSpec.getSize(widthMeasureSpec); 212 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); 155 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | IconMerger.java | 49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 50 super.onMeasure(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);
|
/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/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintOptionsLayout.java | 53 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 54 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 55 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 92 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, 120 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState),
|
H A D | PrintContentView.java | 222 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 225 measureChild(mStaticContent, widthMeasureSpec, heightMeasureSpec); 228 measureChild(mSummaryContent, widthMeasureSpec, heightMeasureSpec); 231 measureChild(mDynamicContent, widthMeasureSpec, heightMeasureSpec); 233 measureChild(mPrintButton, widthMeasureSpec, heightMeasureSpec); 265 measureChild(mEmbeddedContentContainer, widthMeasureSpec, hostHeightMeasureSpec); 267 setMeasuredDimension(resolveSize(MeasureSpec.getSize(widthMeasureSpec), widthMeasureSpec),
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ShadowOverlayContainer.java | 152 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 162 (MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.EXACTLY); 164 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, 0, lp.width); 187 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, 0, lp.width);
|
H A D | ControlBar.java | 66 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 67 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
H A D | ResizingTextView.java | 196 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 211 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 264 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
H A D | ScaleFrameLayout.java | 152 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 155 getScaledMeasureSpec(widthMeasureSpec, mLayoutScaleX); 162 super.onMeasure(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),
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 175 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 177 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 182 widthMeasureSpec = MeasureSpec.makeMeasureSpec(Math.max(minWidth, 183 MeasureSpec.getSize(widthMeasureSpec)), widthMode); 196 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 198 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | NumPadKey.java | 133 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 134 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 135 measureChildren(widthMeasureSpec, heightMeasureSpec);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintRatingBar.java | 152 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument 153 super.onMeasure(widthMeasureSpec, heightMeasureSpec); 157 setMeasuredDimension(ViewCompat.resolveSizeAndState(width, widthMeasureSpec, 0),
|