Searched defs:hSpec (Results 1 - 8 of 8) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DDefaultMeasureSpecTest.java105 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 DTestedFrameLayout.java49 if (lp.wSpec == null && lp.hSpec == null) {
66 if (lp.hSpec != null) {
67 childHeightMeasureSpec = lp.hSpec;
204 Integer hSpec; field in class:TestedFrameLayout.FullControlLayoutParams
H A DWrapContentBasicTest.java96 int hSpec = View.MeasureSpec.makeMeasureSpec(111, View.MeasureSpec.EXACTLY);
97 mLayoutManager.setMeasuredDimensionFromChildren(WRAP, hSpec);
214 public void setMeasureSpecs(int wSpec, int hSpec) { argument
215 super.setMeasureSpecs(wSpec, hSpec);
H A DBaseWrapContentWithAspectRatioTest.java113 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 DBaseRecyclerViewInstrumentationTest.java730 public void setMeasureSpecs(int wSpec, int hSpec) { argument
731 super.setMeasureSpecs(wSpec, hSpec);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java284 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,
638 final int hSpec;
642 hSpec = View.MeasureSpec.makeMeasureSpec(maxSize - verticalInsets,
647 hSpec = getChildMeasureSpec(totalSpaceInOther, View.MeasureSpec.EXACTLY,
650 measureChildWithDecorationsAndMargin(view, wSpec, hSpec, true);
725 final int hSpec;
729 hSpec
[all...]
H A DStaggeredGridLayoutManager.java579 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
586 height = chooseSize(hSpec, usedHeight, getMinimumHeight());
592 height = chooseSize(hSpec, mSizePerSpan * mSpanCount + verticalPadding,
H A DRecyclerView.java6624 void setMeasureSpecs(int wSpec, int hSpec) { argument
6631 mHeight = MeasureSpec.getSize(hSpec);
6632 mHeightMode = MeasureSpec.getMode(hSpec);
6699 * @param hSpec The heightMeasureSpec that was passed into the RecyclerView.
6703 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
6707 int height = chooseSize(hSpec, usedHeight, getMinimumHeight());

Completed in 246 milliseconds