Searched refs:wSpec (Results 1 - 13 of 13) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DWrapContentBasicTest.java99 int wSpec = View.MeasureSpec.makeMeasureSpec(111, View.MeasureSpec.EXACTLY);
100 mLayoutManager.setMeasuredDimensionFromChildren(wSpec, WRAP);
209 public void setMeasureSpecs(int wSpec, int hSpec) { argument
210 super.setMeasureSpecs(wSpec, hSpec);
H A DBaseWrapContentWithAspectRatioTest.java114 public void onMeasure(LoggingView view, int wSpec, argument
116 super.onMeasure(view, wSpec, hSpec);
160 public void onMeasure(LoggingView view, int wSpec, int hSpec) { argument
161 measureSpecs.add(new Pair<>(wSpec, hSpec));
163 RecyclerView.LayoutManager.chooseSize(wSpec, desiredW, 0),
H A DTestedFrameLayout.java70 if (lp.wSpec == null && lp.hSpec == null) {
75 if (lp.wSpec != null) {
76 childWidthMeasureSpec = lp.wSpec;
265 Integer wSpec; field in class:TestedFrameLayout.FullControlLayoutParams
H A DDefaultMeasureSpecTest.java94 int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) {
95 mWSpec = wSpec;
93 DefaultMeasureSpecTest(@uppressWarnings�) String ignored, int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) argument
H A DBaseWrapContentTest.java87 lp.wSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED);
91 lp.wSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.AT_MOST);
128 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
551 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
H A DStaggeredGridLayoutManagerWrapContentTest.java109 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
H A DLinearLayoutManagerWrapContentWithAspectRatioTest.java122 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
H A DGridLayoutManagerWrapContentWithAspectRatioTest.java98 mUnlimited = lp.wSpec != null;
H A DBaseRecyclerViewInstrumentationTest.java732 public void setMeasureSpecs(int wSpec, int hSpec) { argument
733 super.setMeasureSpecs(wSpec, hSpec);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGridLayoutManager.java285 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
287 super.setMeasuredDimension(childrenBounds, wSpec, hSpec);
295 width = chooseSize(wSpec, mCachedBorders[mCachedBorders.length - 1] + horizontalPadding,
299 width = chooseSize(wSpec, usedWidth, getMinimumWidth());
632 final int wSpec;
635 wSpec = getChildMeasureSpec(totalSpaceInOther, View.MeasureSpec.EXACTLY,
640 wSpec = View.MeasureSpec.makeMeasureSpec(maxSize - horizontalInsets,
645 measureChildWithDecorationsAndMargin(view, wSpec, hSpec, true);
719 final int wSpec;
722 wSpec
[all...]
H A DStaggeredGridLayoutManager.java584 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
592 width = chooseSize(wSpec, mSizePerSpan * mSpanCount + horizontalPadding,
596 width = chooseSize(wSpec, usedWidth, getMinimumWidth());
H A DRecyclerView.java7444 void setMeasureSpecs(int wSpec, int hSpec) { argument
7445 mWidth = MeasureSpec.getSize(wSpec);
7446 mWidthMode = MeasureSpec.getMode(wSpec);
7517 * @param wSpec The widthMeasureSpec that was passed into the RecyclerView.
7523 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
7526 int width = chooseSize(wSpec, usedWidth, getMinimumWidth());
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java6895 void setMeasureSpecs(int wSpec, int hSpec) { argument
6896 mWidth = MeasureSpec.getSize(wSpec);
6897 mWidthMode = MeasureSpec.getMode(wSpec);
6968 * @param wSpec The widthMeasureSpec that was passed into the RecyclerView.
6973 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
6976 int width = chooseSize(wSpec, usedWidth, getMinimumWidth());

Completed in 570 milliseconds