Searched refs:widthMeasureSpec (Results 1 - 25 of 136) sorted by relevance

123456

/frameworks/base/core/java/com/android/internal/widget/
H A DWeightedLinearLayout.java57 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 DPreferenceImageView.java46 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 DDialogTitle.java49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
50 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
72 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DFaceUnlockView.java53 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 DSpeedBumpView.java68 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 DSpace.java95 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
97 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec),
H A DTableLayout.java437 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 DAbsoluteLayout.java59 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
66 measureChildren(widthMeasureSpec, heightMeasureSpec);
94 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, 0),
H A DRatingBar.java283 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
284 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
290 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, 0),
H A DTableRow.java112 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 DTabWidget.java156 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 DIconMerger.java49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
50 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextPathActivity.java52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
53 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), 3000);
H A DGradientsActivity.java105 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 DSpace.java89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
91 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec),
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintOptionsLayout.java53 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 DPrintContentView.java222 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 DShadowOverlayContainer.java152 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 DControlBar.java66 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
67 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DResizingTextView.java196 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
211 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
264 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DScaleFrameLayout.java152 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 DLabelView.java120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
121 setMeasuredDimension(measureWidth(widthMeasureSpec),
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardView.java175 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 DNumPadKey.java133 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 DTintRatingBar.java152 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
153 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
157 setMeasuredDimension(ViewCompat.resolveSizeAndState(width, widthMeasureSpec, 0),

Completed in 519 milliseconds

123456