/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/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | HierarchicalMove.java | 100 int widthSpec = wide ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT; 101 LayoutParams params = new LayoutParams(widthSpec, LayoutParams.WRAP_CONTENT);
|
/frameworks/support/media/src/main/java/androidx/media/subtitle/ |
H A D | ClosedCaptionWidget.java | 95 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); 98 measure(widthSpec, heightSpec);
|
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 624 final int widthSpec; 628 widthSpec = -1; 630 widthSpec = getAnchorView().getWidth(); 632 widthSpec = mDropDownWidth; 658 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, 662 final int widthSpec; 664 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; 667 widthSpec = getAnchorView().getWidth(); 669 widthSpec [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 1064 int widthSpecSansPadding = adjust( widthSpec, -hPadding); 1087 resolveSizeAndState(measuredWidth, widthSpec, 0),
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ListPopupWindow.java | 657 final int widthSpec; 661 widthSpec = -1; 663 widthSpec = getAnchorView().getWidth(); 665 widthSpec = mDropDownWidth; 691 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, 694 final int widthSpec; 696 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; 699 widthSpec = getAnchorView().getWidth(); 701 widthSpec [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | NotificationShadeActivity.java | 131 int widthSpec = MeasureSpec.makeMeasureSpec(getWidth(), MeasureSpec.AT_MOST); 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 201 final int widthMode = MeasureSpec.getMode(widthSpec); 204 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + 212 final int widthSize = MeasureSpec.getSize(widthSpec);
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 107 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); 109 copy.measure(widthSpec, heightSpec);
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | TransitionUtils.java | 68 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); 70 copy.measure(widthSpec, heightSpec);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 220 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); 222 if (computeMeasurements(widthSpec)) {
|
H A D | RecyclerView.java | 2950 protected void onMeasure(int widthSpec, int heightSpec) { argument 2952 defaultOnMeasure(widthSpec, heightSpec); 2956 final int widthMode = MeasureSpec.getMode(widthSpec); 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, in 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 | 802 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 817 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed); 829 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
|
H A D | ViewPager.java | 1416 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode); 1418 child.measure(widthSpec, heightSpec); 1447 final int widthSpec = MeasureSpec.makeMeasureSpec( 1449 child.measure(widthSpec, mChildHeightMeasureSpec); 1583 final int widthSpec = MeasureSpec.makeMeasureSpec( 1589 child.measure(widthSpec, heightSpec);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 787 child.measure(widthSpec, heightSpec); 906 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 944 child.measure(widthSpec, heightSpec); 1020 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 1058 child.measure(widthSpec, heightSpec);
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityTransitionCoordinator.java | 555 int widthSpec = View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY); 557 view.measure(widthSpec, heightSpec); 717 int widthSpec = View.MeasureSpec.makeMeasureSpec(state.mMeasuredWidth, 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); 3265 final int widthMode = MeasureSpec.getMode(widthSpec); 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, in 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 | 1191 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, argument 1195 widthSpec = updateSpecWithExtra(widthSpec, lp.leftMargin + mTmpRect.left, 1200 ? shouldReMeasureChild(child, widthSpec, heightSpec, lp) 1201 : shouldMeasureChild(child, widthSpec, heightSpec, lp); 1203 child.measure(widthSpec, heightSpec);
|
/frameworks/base/media/java/android/media/ |
H A D | TtmlRenderer.java | 707 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); 710 measure(widthSpec, heightSpec);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskView.java | 275 int widthSpec = MeasureSpec.makeMeasureSpec(widthWithoutPadding, 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 1294 int childWidthSpec = ViewGroup.getChildMeasureSpec(widthSpec, 1438 public void onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) { argument 1444 sizePrimary = MeasureSpec.getSize(widthSpec); 1449 sizeSecondary = MeasureSpec.getSize(widthSpec); 1451 modeSecondary = MeasureSpec.getMode(widthSpec); 1455 Log.v(getTag(), "onMeasure widthSpec " + Integer.toHexString(widthSpec) 1556 int widthSpec, heightSpec; 1559 widthSpec [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 957 int widthSpecSansPadding = adjust( widthSpec, -hPadding); 980 View.resolveSizeAndState(measuredWidth, widthSpec, 0),
|