/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/ |
H A D | StickyHeaderRecyclerView.java | 75 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 D | WrapContentBasicTest.java | 214 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 D | BaseRecyclerViewInstrumentationTest.java | 737 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 D | ClosedCaptionWidget.java | 96 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); 98 measure(widthSpec, heightSpec);
|
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 635 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 D | GridLayout.java | 1022 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 D | ListPopupWindow.java | 668 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 D | NotificationShadeActivity.java | 132 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 133 child.measure(widthSpec, heightSpec);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 200 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 D | StaggeredGridView.java | 780 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 D | TransitionUtils.java | 108 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 D | TransitionUtils.java | 69 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 D | NotificationContentView.java | 208 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 D | ActivityTransitionCoordinator.java | 556 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 D | GridLayoutManager.java | 751 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 D | RecyclerView.java | 3259 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 D | StaggeredGridLayoutManager.java | 1192 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 D | RecyclerView.java | 2950 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 D | ResolverDrawerLayout.java | 803 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 D | NotificationHeaderView.java | 164 private int shrinkViewForOverflow(int heightSpec, int overFlow, View targetView, argument 171 targetView.measure(childWidthSpec, heightSpec);
|
/frameworks/base/media/java/android/media/ |
H A D | TtmlRenderer.java | 708 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); 710 measure(widthSpec, heightSpec);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskView.java | 276 int heightSpec = MeasureSpec.makeMeasureSpec(heightWithoutPadding, MeasureSpec.EXACTLY); 279 measureChildren(widthSpec, heightSpec);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GridLayoutManager.java | 1285 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 D | GridLayout.java | 915 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 D | CoordinatorLayoutTest.java | 457 int heightSpec = MeasureSpec.makeMeasureSpec(col.getHeight(), MeasureSpec.EXACTLY); 459 col.measure(widthSpec, heightSpec);
|