Searched refs:heightMeasureSpec (Results 1 - 25 of 85) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/widget/
H A DDialogTitle.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
47 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
69 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DWeightedLinearLayout.java57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
64 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
88 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DFaceUnlockView.java55 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
59 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight);
H A DSizeAdaptiveLayout.java150 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
152 MeasureSpec.toString(heightMeasureSpec));
153 View model = selectActiveChild(heightMeasureSpec);
157 measureChild(model, widthMeasureSpec, heightMeasureSpec);
163 int resolvedHeight = resolveSizeAndState(childHeight, heightMeasureSpec, childState);
189 private View selectActiveChild(int heightMeasureSpec) { argument
190 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
191 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
H A DActionBarContainer.java259 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
260 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
269 final int mode = MeasureSpec.getMode(heightMeasureSpec);
271 final int maxHeight = MeasureSpec.getSize(heightMeasureSpec);
/frameworks/base/core/java/android/widget/
H A DSpace.java89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
92 getDefaultSize2(getSuggestedMinimumHeight(), heightMeasureSpec));
H A DTabWidget.java154 int heightMeasureSpec, int totalHeight) {
158 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mImposedTabsHeight,
163 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
167 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { argument
169 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec);
176 super.measureHorizontal(unspecifiedWidth, heightMeasureSpec);
209 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec);
152 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
H A DAbsoluteLayout.java56 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
63 measureChildren(widthMeasureSpec, heightMeasureSpec);
92 resolveSizeAndState(maxHeight, heightMeasureSpec, 0));
H A DAnalogClock.java134 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
138 int heightMode = MeasureSpec.getMode(heightMeasureSpec);
139 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
155 resolveSizeAndState((int) (mDialHeight * scale), heightMeasureSpec, 0));
H A DTableRow.java112 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
114 measureHorizontal(widthMeasureSpec, heightMeasureSpec);
193 int heightMeasureSpec, int totalHeight) {
219 int childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec,
248 totalWidth, heightMeasureSpec, totalHeight);
191 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
H A DTableLayout.java437 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
439 measureVertical(widthMeasureSpec, heightMeasureSpec);
457 int heightMeasureSpec, int totalHeight) {
465 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
472 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { argument
476 super.measureVertical(widthMeasureSpec, heightMeasureSpec);
455 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
H A DLinearLayout.java586 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
588 measureVertical(widthMeasureSpec, heightMeasureSpec);
590 measureHorizontal(widthMeasureSpec, heightMeasureSpec);
624 * @param heightMeasureSpec Vertical space requirements as imposed by the parent.
630 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { argument
642 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
696 child, i, widthMeasureSpec, 0, heightMeasureSpec,
800 // Reconcile our calculated size with the heightMeasureSpec
801 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0);
920 forceUniformWidth(count, heightMeasureSpec);
924 forceUniformWidth(int count, int heightMeasureSpec) argument
958 measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) argument
1401 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
[all...]
H A DRatingBar.java279 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
280 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DAbsSpinner.java165 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
211 measureChild(view, widthMeasureSpec, heightMeasureSpec);
231 heightSize = resolveSizeAndState(preferredHeight, heightMeasureSpec, 0);
235 mHeightMeasureSpec = heightMeasureSpec;
H A DFrameLayout.java295 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
300 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY;
310 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0);
342 resolveSizeAndState(maxHeight, heightMeasureSpec,
372 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec,
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DSpace.java89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
92 getDefaultSize2(getSuggestedMinimumHeight(), heightMeasureSpec));
/frameworks/base/core/tests/coretests/src/android/widget/
H A DLabelView.java120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
122 measureHeight(heightMeasureSpec));
H A DListViewTest.java123 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
124 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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);
H A DDisplayListLayersActivity.java120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
122 MeasureSpec.getSize(heightMeasureSpec) / 3);
H A DTextPathActivity.java52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DIconMerger.java54 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
55 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DQuickSettingsContainerView.java62 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
65 int height = MeasureSpec.getSize(heightMeasureSpec);
H A DPanelView.java391 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
392 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
395 widthMeasureSpec, heightMeasureSpec, getMeasuredWidth(), getMeasuredHeight());
407 heightMeasureSpec = MeasureSpec.makeMeasureSpec(
408 (int) mExpandedHeight, MeasureSpec.AT_MOST); // MeasureSpec.getMode(heightMeasureSpec));
409 setMeasuredDimension(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java254 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
255 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) {
257 heightMeasureSpec = MeasureSpec.makeMeasureSpec(
258 MeasureSpec.getSize(heightMeasureSpec), MeasureSpec.EXACTLY);
266 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
277 heightMeasureSpec);

Completed in 225 milliseconds

1234