/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | TestedFrameLayout.java | 49 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
|
D | BaseWrapContentWithAspectRatioTest.java | 112 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()
|
D | DefaultMeasureSpecTest.java | 105 int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) { in DefaultMeasureSpecTest() argument 106 mWSpec = wSpec; in DefaultMeasureSpecTest()
|
D | WrapContentBasicTest.java | 119 int wSpec = View.MeasureSpec.makeMeasureSpec(111, View.MeasureSpec.EXACTLY); in setDimensionsFromChildrenAnsSpec2() local 120 mLayoutManager.setMeasuredDimensionFromChildren(wSpec, WRAP); in setDimensionsFromChildrenAnsSpec2()
|
D | BaseWrapContentTest.java | 95 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()
|
D | StaggeredGridLayoutManagerWrapContentTest.java | 103 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in testUnspecifiedWidth()
|
D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 120 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in wrapContentAffectsOtherOrientation()
|
D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 98 mUnlimited = lp.wSpec != null; in init()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | GridLayoutManager.java | 284 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()
|
D | StaggeredGridLayoutManager.java | 576 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { 584 width = chooseSize(wSpec, mSizePerSpan * mSpanCount + horizontalPadding, 588 width = chooseSize(wSpec, usedWidth, getMinimumWidth());
|
D | RecyclerView.java | 6319 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()
|