Searched defs:heightSpec (Results 1 - 13 of 13) sorted by relevance

/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
H A DStickyHeaderRecyclerView.java75 protected void onMeasure(int widthSpec, int heightSpec) { argument
76 super.onMeasure(widthSpec, heightSpec);
78 measureChild(getHeader(), widthSpec, heightSpec);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java191 protected void onMeasure(int widthSpec, int heightSpec) { argument
193 final int heightMode = MeasureSpec.getMode(heightSpec);
199 Log.w(TAG, "onMeasure: heightSpec " + MeasureSpec.toString(heightSpec) +
204 final int heightSize = MeasureSpec.getSize(heightSpec);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DWrapContentBasicTest.java216 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { argument
217 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
221 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, argument
223 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp);
227 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, argument
229 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
H A DBaseRecyclerViewInstrumentationTest.java729 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { argument
730 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
734 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, argument
736 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp);
740 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, argument
742 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
/frameworks/support/design/src/android/support/design/widget/
H A DNavigationView.java213 protected void onMeasure(int widthSpec, int heightSpec) { argument
227 super.onMeasure(widthSpec, heightSpec);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java750 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, argument
755 measure = shouldReMeasureChild(child, widthSpec, heightSpec, lp);
757 measure = shouldMeasureChild(child, widthSpec, heightSpec, lp);
760 child.measure(widthSpec, heightSpec);
H A DStaggeredGridLayoutManager.java1153 int heightSpec, boolean alreadyMeasured) {
1158 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + mTmpRect.top,
1161 ? shouldReMeasureChild(child, widthSpec, heightSpec, lp)
1162 : shouldMeasureChild(child, widthSpec, heightSpec, lp);
1164 child.measure(widthSpec, heightSpec);
1152 measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, boolean alreadyMeasured) argument
H A DRecyclerView.java3114 protected void onMeasure(int widthSpec, int heightSpec) { argument
3116 defaultOnMeasure(widthSpec, heightSpec);
3121 final int heightMode = MeasureSpec.getMode(heightSpec);
3124 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3133 mLayout.setMeasureSpecs(widthSpec, heightSpec);
3138 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
3149 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
3153 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3188 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3197 void defaultOnMeasure(int widthSpec, int heightSpec) { argument
7230 setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) argument
8699 shouldReMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
8713 shouldMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
9646 onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java1020 * @param heightSpec an explicit height measure spec mode, either
1028 public void setWindowLayoutMode(int widthSpec, int heightSpec) { argument
1030 mHeightMode = heightSpec;
H A DGridLayout.java1016 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
1022 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
1033 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
1035 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
1048 protected void onMeasure(int widthSpec, int heightSpec) { argument
1059 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
1082 resolveSizeAndState(measuredHeight, heightSpec, 0));
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java912 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
918 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
929 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
931 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
944 protected void onMeasure(int widthSpec, int heightSpec) { argument
955 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
978 View.resolveSizeAndState(measuredHeight, heightSpec, 0));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java1246 private void measureScrapChild(int position, int widthSpec, int heightSpec, argument
1257 int childHeightSpec = ViewGroup.getChildMeasureSpec(heightSpec,
1398 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { argument
1405 sizeSecondary = MeasureSpec.getSize(heightSpec);
1406 modeSecondary = MeasureSpec.getMode(heightSpec);
1410 sizePrimary = MeasureSpec.getSize(heightSpec);
1416 + " heightSpec " + Integer.toHexString(heightSpec)
1516 int widthSpec, heightSpec;
1521 heightSpec
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java2950 protected void onMeasure(int widthSpec, int heightSpec) { argument
2952 defaultOnMeasure(widthSpec, heightSpec);
2957 final int heightMode = MeasureSpec.getMode(heightSpec);
2960 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
2969 mLayout.setMeasureSpecs(widthSpec, heightSpec);
2974 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
2985 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
2989 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3016 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3025 void defaultOnMeasure(int widthSpec, int heightSpec) { argument
6922 setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) argument
8390 shouldReMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
8404 shouldMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
9227 onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) argument
[all...]

Completed in 7817 milliseconds