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

1234567

/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 DButtonBarLayout.java57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
58 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
75 if (!isStacked() && MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) {
81 initialWidthMeasureSpec = widthMeasureSpec;
98 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 DDrawingSpace.java71 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
73 getDefaultSizeNonGreedy(getSuggestedMinimumWidth(), widthMeasureSpec),
H A DDialogViewAnimator.java42 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
44 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY ||
64 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0);
102 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
119 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
H A DPreferenceImageView.java83 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
84 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
86 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
90 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST);
104 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
H A DErrorCatcher.java53 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
58 measureChild(child, widthMeasureSpec, heightMeasureSpec);
60 setMeasuredDimension(resolveSize(child.getMeasuredWidth(), widthMeasureSpec),
65 setMeasuredDimension(resolveSize(0, widthMeasureSpec),
/frameworks/support/percent/src/android/support/percent/
H A DPercentFrameLayout.java86 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
87 mHelper.adjustChildren(widthMeasureSpec, heightMeasureSpec);
88 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
90 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DPercentRelativeLayout.java86 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
87 mHelper.adjustChildren(widthMeasureSpec, heightMeasureSpec);
88 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
90 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDialogTitle.java48 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
49 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
72 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DContentFrameLayout.java79 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
83 final int widthMode = getMode(widthMeasureSpec);
98 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
99 widthMeasureSpec = MeasureSpec.makeMeasureSpec(
124 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
129 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY);
144 widthMeasureSpec = MeasureSpec.makeMeasureSpec(min, EXACTLY);
151 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/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/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DFixedAspectSurfaceView.java86 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
88 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
90 int width = MeasureSpec.getSize(widthMeasureSpec);
143 width = View.resolveSizeAndState(width, widthMeasureSpec, 0);
H A DVerticalSeekBar.java47 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
48 super.onMeasure(heightMeasureSpec, widthMeasureSpec);
/frameworks/base/core/java/android/widget/
H A DSpace.java95 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
97 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec),
H A DDayPickerViewPager.java52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
59 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY ||
69 measureChild(child, widthMeasureSpec, heightMeasureSpec);
98 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
116 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
H A DTableLayout.java434 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
436 measureVertical(widthMeasureSpec, heightMeasureSpec);
453 int widthMeasureSpec, int totalWidth,
462 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
469 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { argument
470 findLargestCells(widthMeasureSpec, heightMeasureSpec);
471 shrinkAndStretchColumns(widthMeasureSpec);
473 super.measureVertical(widthMeasureSpec, heightMeasureSpec);
480 * @param widthMeasureSpec the measure constraint imposed by our parent
482 private void findLargestCells(int widthMeasureSpec, in argument
452 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
551 shrinkAndStretchColumns(int widthMeasureSpec) argument
[all...]
H A DTabWidget.java155 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);
176 final int width = MeasureSpec.getSize(widthMeasureSpec);
213 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec);
154 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/v4/java/android/support/v4/widget/
H A DSpace.java79 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
81 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),
/frameworks/base/core/tests/coretests/src/android/widget/
H A DLabelView.java120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
121 setMeasuredDimension(measureWidth(widthMeasureSpec),

Completed in 1420 milliseconds

1234567