Home
last modified time | relevance | path

Searched refs:wSpec (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestedFrameLayout.java49 if (lp.wSpec == null && lp.hSpec == null) { in onMeasure()
54 if (lp.wSpec != null) { in onMeasure()
55 childWidthMeasureSpec = lp.wSpec; in onMeasure()
203 Integer wSpec; field in TestedFrameLayout.FullControlLayoutParams
DBaseWrapContentWithAspectRatioTest.java112 public void onMeasure(LoggingView view, int wSpec, in onMeasure() argument
114 super.onMeasure(view, wSpec, hSpec); in onMeasure()
150 public void onMeasure(LoggingView view, int wSpec, int hSpec) { in onMeasure() argument
151 measureSpecs.add(new Pair<>(wSpec, hSpec)); in onMeasure()
153 RecyclerView.LayoutManager.chooseSize(wSpec, desiredW, 0), in onMeasure()
DDefaultMeasureSpecTest.java105 int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) { in DefaultMeasureSpecTest() argument
106 mWSpec = wSpec; in DefaultMeasureSpecTest()
DWrapContentBasicTest.java119 int wSpec = View.MeasureSpec.makeMeasureSpec(111, View.MeasureSpec.EXACTLY); in setDimensionsFromChildrenAnsSpec2() local
120 mLayoutManager.setMeasuredDimensionFromChildren(wSpec, WRAP); in setDimensionsFromChildrenAnsSpec2()
DBaseWrapContentTest.java95 lp.wSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED); in unspecifiedWithHintTest()
99 lp.wSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.AT_MOST); in unspecifiedWithHintTest()
134 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in testScenerio()
591 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in toLayoutParams()
DStaggeredGridLayoutManagerWrapContentTest.java103 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in testUnspecifiedWidth()
DLinearLayoutManagerWrapContentWithAspectRatioTest.java120 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in wrapContentAffectsOtherOrientation()
DGridLayoutManagerWrapContentWithAspectRatioTest.java98 mUnlimited = lp.wSpec != null; in init()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java284 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { in setMeasuredDimension() argument
286 super.setMeasuredDimension(childrenBounds, wSpec, hSpec); in setMeasuredDimension()
294 width = chooseSize(wSpec, mCachedBorders[mCachedBorders.length - 1] + horizontalPadding, in setMeasuredDimension()
298 width = chooseSize(wSpec, usedWidth, getMinimumWidth()); in setMeasuredDimension()
DStaggeredGridLayoutManager.java576 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) {
584 width = chooseSize(wSpec, mSizePerSpan * mSpanCount + horizontalPadding,
588 width = chooseSize(wSpec, usedWidth, getMinimumWidth());
DRecyclerView.java6319 void setMeasureSpecs(int wSpec, int hSpec) { in setMeasureSpecs() argument
6320 mWidth = MeasureSpec.getSize(wSpec); in setMeasureSpecs()
6321 mWidthMode = MeasureSpec.getMode(wSpec); in setMeasureSpecs()
6398 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { in setMeasuredDimension() argument
6401 int width = chooseSize(wSpec, usedWidth, getMinimumWidth()); in setMeasuredDimension()