/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | DefaultMeasureSpecTest.java | 105 int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) { 107 mHSpec = hSpec; 104 DefaultMeasureSpecTest(@uppressWarnings�) String ignored, int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) argument
|
H A D | TestedFrameLayout.java | 45 if (lp.wSpec == null && lp.hSpec == null) { 62 if (lp.hSpec != null) { 63 childHeightMeasureSpec = lp.hSpec; 225 Integer hSpec; field in class:TestedFrameLayout.FullControlLayoutParams
|
H A D | WrapContentBasicTest.java | 93 int hSpec = View.MeasureSpec.makeMeasureSpec(111, View.MeasureSpec.EXACTLY); 94 mLayoutManager.setMeasuredDimensionFromChildren(WRAP, hSpec); 211 public void setMeasureSpecs(int wSpec, int hSpec) { argument 212 super.setMeasureSpecs(wSpec, hSpec);
|
H A D | BaseWrapContentWithAspectRatioTest.java | 113 int hSpec) { 114 super.onMeasure(view, wSpec, hSpec); 158 public void onMeasure(LoggingView view, int wSpec, int hSpec) { argument 159 measureSpecs.add(new Pair<>(wSpec, hSpec)); 162 RecyclerView.LayoutManager.chooseSize(hSpec, desiredH, 0)); 112 onMeasure(LoggingView view, int wSpec, int hSpec) argument
|
H A D | BaseRecyclerViewInstrumentationTest.java | 724 public void setMeasureSpecs(int wSpec, int hSpec) { argument 725 super.setMeasureSpecs(wSpec, hSpec);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 284 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument 286 super.setMeasuredDimension(childrenBounds, wSpec, hSpec); 293 height = chooseSize(hSpec, usedHeight, getMinimumHeight()); 299 height = chooseSize(hSpec, mCachedBorders[mCachedBorders.length - 1] + verticalPadding, 632 final int hSpec; 636 hSpec = View.MeasureSpec.makeMeasureSpec(maxSize - verticalInsets, 641 hSpec = getChildMeasureSpec(totalSpaceInOther, View.MeasureSpec.EXACTLY, 644 measureChildWithDecorationsAndMargin(view, wSpec, hSpec, true); 719 final int hSpec; 723 hSpec [all...] |
H A D | StaggeredGridLayoutManager.java | 583 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument 590 height = chooseSize(hSpec, usedHeight, getMinimumHeight()); 596 height = chooseSize(hSpec, mSizePerSpan * mSpanCount + verticalPadding,
|
H A D | RecyclerView.java | 7203 void setMeasureSpecs(int wSpec, int hSpec) { argument 7210 mHeight = MeasureSpec.getSize(hSpec); 7211 mHeightMode = MeasureSpec.getMode(hSpec); 7277 * @param hSpec The heightMeasureSpec that was passed into the RecyclerView. 7281 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument 7285 int height = chooseSize(hSpec, usedHeight, getMinimumHeight());
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerView.java | 6895 void setMeasureSpecs(int wSpec, int hSpec) { argument 6902 mHeight = MeasureSpec.getSize(hSpec); 6903 mHeightMode = MeasureSpec.getMode(hSpec); 6969 * @param hSpec The heightMeasureSpec that was passed into the RecyclerView. 6973 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument 6977 int height = chooseSize(hSpec, usedHeight, getMinimumHeight());
|