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

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DDefaultMeasureSpecTest.java94 int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) {
96 mHSpec = hSpec;
93 DefaultMeasureSpecTest(@uppressWarnings�) String ignored, int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) argument
H A DWrapContentBasicTest.java91 int hSpec = View.MeasureSpec.makeMeasureSpec(111, View.MeasureSpec.EXACTLY);
92 mLayoutManager.setMeasuredDimensionFromChildren(WRAP, hSpec);
209 public void setMeasureSpecs(int wSpec, int hSpec) { argument
210 super.setMeasureSpecs(wSpec, hSpec);
H A DBaseWrapContentWithAspectRatioTest.java115 int hSpec) {
116 super.onMeasure(view, wSpec, hSpec);
160 public void onMeasure(LoggingView view, int wSpec, int hSpec) { argument
161 measureSpecs.add(new Pair<>(wSpec, hSpec));
164 RecyclerView.LayoutManager.chooseSize(hSpec, desiredH, 0));
114 onMeasure(LoggingView view, int wSpec, int hSpec) argument
H A DTestedFrameLayout.java70 if (lp.wSpec == null && lp.hSpec == null) {
87 if (lp.hSpec != null) {
88 childHeightMeasureSpec = lp.hSpec;
266 Integer hSpec; field in class:TestedFrameLayout.FullControlLayoutParams
H A DBaseRecyclerViewInstrumentationTest.java732 public void setMeasureSpecs(int wSpec, int hSpec) { argument
733 super.setMeasureSpecs(wSpec, hSpec);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGridLayoutManager.java285 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
287 super.setMeasuredDimension(childrenBounds, wSpec, hSpec);
294 height = chooseSize(hSpec, usedHeight, getMinimumHeight());
300 height = chooseSize(hSpec, mCachedBorders[mCachedBorders.length - 1] + verticalPadding,
633 final int hSpec;
637 hSpec = View.MeasureSpec.makeMeasureSpec(maxSize - verticalInsets,
642 hSpec = getChildMeasureSpec(totalSpaceInOther, View.MeasureSpec.EXACTLY,
645 measureChildWithDecorationsAndMargin(view, wSpec, hSpec, true);
720 final int hSpec;
724 hSpec
[all...]
H A DStaggeredGridLayoutManager.java584 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
591 height = chooseSize(hSpec, usedHeight, getMinimumHeight());
597 height = chooseSize(hSpec, mSizePerSpan * mSpanCount + verticalPadding,
H A DRecyclerView.java7444 void setMeasureSpecs(int wSpec, int hSpec) { argument
7451 mHeight = MeasureSpec.getSize(hSpec);
7452 mHeightMode = MeasureSpec.getMode(hSpec);
7518 * @param hSpec The heightMeasureSpec that was passed into the RecyclerView.
7523 public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { argument
7527 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 81 milliseconds