Searched defs:hSpec (Results 1 - 9 of 9) 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.java45 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 DWrapContentBasicTest.java93 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 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.java724 public void setMeasureSpecs(int wSpec, int hSpec) { argument
725 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,
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 DStaggeredGridLayoutManager.java583 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 DRecyclerView.java7203 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 DRecyclerView.java6895 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());

Completed in 169 milliseconds