Searched refs:heightSpec (Results 1 - 25 of 33) sorted by relevance

12

/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/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DWrapContentBasicTest.java214 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { argument
215 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
219 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, argument
221 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp);
225 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, argument
227 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
H A DBaseRecyclerViewInstrumentationTest.java737 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) { argument
738 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
742 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec, argument
744 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp);
748 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec, argument
750 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
/frameworks/support/media/src/main/java/androidx/media/subtitle/
H A DClosedCaptionWidget.java96 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
98 measure(widthSpec, heightSpec);
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java635 final int heightSpec;
639 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT;
650 heightSpec = height;
652 heightSpec = mDropDownHeight;
659 (heightSpec < 0)? -1 : heightSpec);
673 final int heightSpec;
675 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT;
678 heightSpec = height;
680 heightSpec
[all...]
H A DGridLayout.java1022 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
1028 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
1039 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
1041 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
1054 protected void onMeasure(int widthSpec, int heightSpec) { argument
1065 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
1088 resolveSizeAndState(measuredHeight, heightSpec, 0));
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DListPopupWindow.java668 final int heightSpec;
672 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT;
683 heightSpec = height;
685 heightSpec = mDropDownHeight;
692 (heightSpec < 0)? -1 : heightSpec);
705 final int heightSpec;
707 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT;
710 heightSpec = height;
712 heightSpec
[all...]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DNotificationShadeActivity.java132 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
133 child.measure(widthSpec, heightSpec);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java200 protected void onMeasure(int widthSpec, int heightSpec) { argument
202 final int heightMode = MeasureSpec.getMode(heightSpec);
208 Log.w(TAG, "onMeasure: heightSpec " + MeasureSpec.toString(heightSpec) +
213 final int heightSize = MeasureSpec.getSize(heightSpec);
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java780 final int heightSpec;
782 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
784 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY);
787 child.measure(widthSpec, heightSpec);
938 final int heightSpec;
940 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
942 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY);
944 child.measure(widthSpec, heightSpec);
1052 final int heightSpec;
1054 heightSpec
[all...]
/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java108 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY);
109 copy.measure(widthSpec, heightSpec);
/frameworks/support/transition/src/main/java/androidx/transition/
H A DTransitionUtils.java69 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY);
70 copy.measure(widthSpec, heightSpec);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java208 int heightSpec;
218 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY);
220 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST);
222 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0);
225 heightSpec = MeasureSpec.makeMeasureSpec(mMinContractedHeight, MeasureSpec.EXACTLY);
226 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0);
230 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0);
235 heightSpec = MeasureSpec.makeMeasureSpec(mContractedChild.getMeasuredHeight(),
237 measureChildWithMargins(mExpandedChild, widthMeasureSpec, 0, heightSpec, 0);
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java556 int heightSpec = View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY);
557 view.measure(widthSpec, heightSpec);
719 int heightSpec = View.MeasureSpec.makeMeasureSpec(state.mMeasuredHeight,
721 view.measure(widthSpec, heightSpec);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGridLayoutManager.java751 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, argument
756 measure = shouldReMeasureChild(child, widthSpec, heightSpec, lp);
758 measure = shouldMeasureChild(child, widthSpec, heightSpec, lp);
761 child.measure(widthSpec, heightSpec);
H A DRecyclerView.java3259 protected void onMeasure(int widthSpec, int heightSpec) { argument
3261 defaultOnMeasure(widthSpec, heightSpec);
3266 final int heightMode = MeasureSpec.getMode(heightSpec);
3275 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3288 mLayout.setMeasureSpecs(widthSpec, heightSpec);
3293 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
3304 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
3308 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3343 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec);
3353 void defaultOnMeasure(int widthSpec, int heightSpec) { argument
7471 setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) argument
8981 shouldReMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
8995 shouldMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
9947 onMeasure(@onNull Recycler recycler, @NonNull State state, int widthSpec, int heightSpec) argument
[all...]
H A DStaggeredGridLayoutManager.java1192 int heightSpec, boolean alreadyMeasured) {
1197 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + mTmpRect.top,
1200 ? shouldReMeasureChild(child, widthSpec, heightSpec, lp)
1201 : shouldMeasureChild(child, widthSpec, heightSpec, lp);
1203 child.measure(widthSpec, heightSpec);
1191 measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, boolean alreadyMeasured) argument
/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...]
H A DResolverDrawerLayout.java803 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY);
817 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
829 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java164 private int shrinkViewForOverflow(int heightSpec, int overFlow, View targetView, argument
171 targetView.measure(childWidthSpec, heightSpec);
/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java708 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
710 measure(widthSpec, heightSpec);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java276 int heightSpec = MeasureSpec.makeMeasureSpec(heightWithoutPadding, MeasureSpec.EXACTLY);
279 measureChildren(widthSpec, heightSpec);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGridLayoutManager.java1285 private void measureScrapChild(int position, int widthSpec, int heightSpec, argument
1296 int childHeightSpec = ViewGroup.getChildMeasureSpec(heightSpec,
1438 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { argument
1445 sizeSecondary = MeasureSpec.getSize(heightSpec);
1446 modeSecondary = MeasureSpec.getMode(heightSpec);
1450 sizePrimary = MeasureSpec.getSize(heightSpec);
1456 + " heightSpec " + Integer.toHexString(heightSpec)
1556 int widthSpec, heightSpec;
1561 heightSpec
[all...]
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java915 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { argument
921 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
932 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
934 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
947 protected void onMeasure(int widthSpec, int heightSpec) { argument
958 int heightSpecSansPadding = adjust(heightSpec, -vPadding);
981 View.resolveSizeAndState(measuredHeight, heightSpec, 0));
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
H A DCoordinatorLayoutTest.java457 int heightSpec = MeasureSpec.makeMeasureSpec(col.getHeight(), MeasureSpec.EXACTLY);
459 col.measure(widthSpec, heightSpec);

Completed in 384 milliseconds

12