/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
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) { 210 super.setMeasureSpecs(wSpec, hSpec);
|
BaseWrapContentWithAspectRatioTest.java | 114 public void onMeasure(LoggingView view, int wSpec, 116 super.onMeasure(view, wSpec, hSpec); 160 public void onMeasure(LoggingView view, int wSpec, int hSpec) { 161 measureSpecs.add(new Pair<>(wSpec, hSpec)); 163 RecyclerView.LayoutManager.chooseSize(wSpec, desiredW, 0),
|
TestedFrameLayout.java | 70 if (lp.wSpec == null && lp.hSpec == null) { 75 if (lp.wSpec != null) { 76 childWidthMeasureSpec = lp.wSpec; 265 Integer wSpec;
|
DefaultMeasureSpecTest.java | 94 int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) { 95 mWSpec = wSpec;
|
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);
|
StaggeredGridLayoutManagerWrapContentTest.java | 109 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
|
LinearLayoutManagerWrapContentWithAspectRatioTest.java | 122 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
|
GridLayoutManagerWrapContentWithAspectRatioTest.java | 98 mUnlimited = lp.wSpec != null;
|
BaseRecyclerViewInstrumentationTest.java | 732 public void setMeasureSpecs(int wSpec, int hSpec) { 733 super.setMeasureSpecs(wSpec, hSpec); [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
GridLayoutManager.java | 285 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { 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 = getChildMeasureSpec(availableSpaceInOther, otherDirParentSpecMode [all...] |
StaggeredGridLayoutManager.java | 584 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { 592 width = chooseSize(wSpec, mSizePerSpan * mSpanCount + horizontalPadding, 596 width = chooseSize(wSpec, usedWidth, getMinimumWidth()); [all...] |
RecyclerView.java | [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Utils.java | 399 final int wSpec = ViewGroup.getChildMeasureSpec(parentWSpec, 403 child.measure(wSpec, hSpec); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
RecyclerView.java | [all...] |