/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | WrapContentBasicTest.java | 99 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 D | BaseWrapContentWithAspectRatioTest.java | 114 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 D | TestedFrameLayout.java | 70 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 D | DefaultMeasureSpecTest.java | 94 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 D | BaseWrapContentTest.java | 87 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 D | StaggeredGridLayoutManagerWrapContentTest.java | 109 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
|
H A D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 122 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
|
H A D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 98 mUnlimited = lp.wSpec != null;
|
H A D | BaseRecyclerViewInstrumentationTest.java | 732 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 D | GridLayoutManager.java | 285 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 D | StaggeredGridLayoutManager.java | 584 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 D | RecyclerView.java | 7444 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 D | RecyclerView.java | 6895 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());
|