Home
last modified time | relevance | path

Searched refs:heightMeasureSpec (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientsActivity.java105 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
106 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
130 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
131 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
155 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
156 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
179 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
180 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DDisplayListLayersActivity.java120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
122 MeasureSpec.getSize(heightMeasureSpec) / 3); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DDialogTitle.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
47 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
69 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DWeightedLinearLayout.java57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
64 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
88 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DActionBarContainer.java172 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
173 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
182 final int mode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
184 final int maxHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
DScrollingTabContainerView.java82 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
99 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mContentHeight, MeasureSpec.EXACTLY); in onMeasure()
105 mTabLayout.measure(MeasureSpec.UNSPECIFIED, heightMeasureSpec); in onMeasure()
116 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
381 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
382 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
387 heightMeasureSpec); in onMeasure() local
/frameworks/base/core/java/android/widget/
DTabWidget.java156 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
160 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mImposedTabsHeight, in measureChildBeforeLayout()
165 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
169 void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) { in measureHorizontal() argument
171 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); in measureHorizontal()
178 super.measureHorizontal(unspecifiedWidth, heightMeasureSpec); in measureHorizontal()
211 super.measureHorizontal(widthMeasureSpec, heightMeasureSpec); in measureHorizontal()
DSpace.java89 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
92 getDefaultSize2(getSuggestedMinimumHeight(), heightMeasureSpec)); in onMeasure() local
DTableLayout.java429 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
431 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure()
449 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
457 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
464 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument
468 super.measureVertical(widthMeasureSpec, heightMeasureSpec); in measureVertical()
DTableRow.java110 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
112 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure()
191 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
217 int childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, in measureChildBeforeLayout()
246 totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DAbsoluteLayout.java56 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
63 measureChildren(widthMeasureSpec, heightMeasureSpec); in onMeasure()
92 resolveSizeAndState(maxHeight, heightMeasureSpec, 0)); in onMeasure()
DAnalogClock.java130 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
134 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
135 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
151 resolveSizeAndState((int) (mDialHeight * scale), heightMeasureSpec, 0)); in onMeasure() local
DLinearLayout.java551 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
553 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure()
555 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure()
595 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument
607 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical()
661 child, i, widthMeasureSpec, 0, heightMeasureSpec, in measureVertical()
766 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0); in measureVertical()
885 forceUniformWidth(count, heightMeasureSpec); in measureVertical()
889 private void forceUniformWidth(int count, int heightMeasureSpec) { in forceUniformWidth() argument
905 measureChildWithMargins(child, uniformMeasureSpec, 0, heightMeasureSpec, 0); in forceUniformWidth()
[all …]
DActivityChooserView.java409 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
415 heightMeasureSpec = MeasureSpec.makeMeasureSpec(MeasureSpec.getSize(heightMeasureSpec), in onMeasure()
418 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure()
737 final int heightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureContentWidth() local
742 itemView.measure(widthMeasureSpec, heightMeasureSpec); in measureContentWidth()
DFrameLayout.java278 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
283 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
293 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure()
325 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
355 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, in onMeasure()
DAbsSpinner.java164 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
206 measureChild(view, widthMeasureSpec, heightMeasureSpec); in onMeasure()
226 heightSize = resolveSizeAndState(preferredHeight, heightMeasureSpec, 0); in onMeasure()
230 mHeightMeasureSpec = heightMeasureSpec; in onMeasure()
DRatingBar.java276 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
277 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
DSpinner.java269 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
270 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
480 final int heightMeasureSpec = in measureContentWidth() local
501 itemView.measure(widthMeasureSpec, heightMeasureSpec); in measureContentWidth()
DSwitch.java306 public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
308 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
310 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
359 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuView.java79 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
97 onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec); in onMeasure()
99 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
103 private void onMeasureExactFormat(int widthMeasureSpec, int heightMeasureSpec) { in onMeasureExactFormat() argument
105 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat()
107 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasureExactFormat()
163 heightMeasureSpec, heightPadding); in onMeasureExactFormat()
DListMenuItemView.java224 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
233 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java120 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
122 measureHeight(heightMeasureSpec)); in onMeasure()
DListViewTest.java123 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
124 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java175 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
186 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure()
203 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java100 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument
103 measureHeight(heightMeasureSpec)); in onMeasure()

123