Searched refs:reverseLayout (Results 1 - 20 of 20) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseGridLayoutManagerTest.java65 for (boolean reverseLayout : new boolean[]{false, true}) {
67 variations.add(new Config(spanCount, orientation, reverseLayout));
119 public Config(int spanCount, int orientation, boolean reverseLayout) { argument
122 mReverseLayout = reverseLayout;
140 public Config reverseLayout(boolean reverseLayout) { argument
141 mReverseLayout = reverseLayout;
170 boolean reverseLayout) {
171 super(context, spanCount, orientation, reverseLayout);
169 WrappedGridLayoutManager(Context context, int spanCount, int orientation, boolean reverseLayout) argument
H A DGridLayoutManagerCachedBordersTest.java78 for (boolean reverseLayout : new boolean[]{false, true}) {
80 Config config = new Config(spanCounts[i], orientation, reverseLayout);
H A DLinearLayoutManagerWrapContentWithAspectRatioTest.java62 for (boolean reverseLayout : new boolean[]{false, true}) {
67 reverseLayout, stackFromBottom),
76 reverseLayout, stackFromBottom),
86 reverseLayout, stackFromBottom),
96 reverseLayout, stackFromBottom),
H A DLinearLayoutManagerWrapContentTest.java123 for (boolean reverseLayout : new boolean[]{false, true}) {
127 new BaseLinearLayoutManagerTest.Config(orientation, reverseLayout, stackFromBottom),
133 new BaseLinearLayoutManagerTest.Config(orientation, reverseLayout, stackFromBottom),
H A DBaseLinearLayoutManagerTest.java57 for (boolean reverseLayout : new boolean[]{false, true}) {
61 new Config(orientation, reverseLayout, stackFromBottom).wrap(wrap));
292 Config(int orientation, boolean reverseLayout, boolean stackFromEnd) { argument
294 mReverseLayout = reverseLayout;
322 Config reverseLayout(boolean reverseLayout) { argument
323 mReverseLayout = reverseLayout;
379 public WrappedLinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument
380 super(context, orientation, reverseLayout);
H A DGridLayoutManagerTest.java84 private void scrollToBadOffset(boolean reverseLayout) throws Throwable { argument
87 RecyclerView recyclerView = setupBasic(new Config(2, 100).reverseLayout(reverseLayout),
127 final RecyclerView recyclerView = setupBasic(new Config(3, 31).reverseLayout(!scrollDown)
323 .reverseLayout(true),
413 .reverseLayout(false),
503 .orientation(HORIZONTAL).reverseLayout(true),
593 .orientation(HORIZONTAL).reverseLayout(false),
1049 new Config(3, 0).orientation(VERTICAL).reverseLayout(false), 100, 0);
1055 new Config(3, 0).orientation(VERTICAL).reverseLayout(tru
[all...]
H A DLinearLayoutManagerTest.java246 setupByConfig(new Config(VERTICAL, false, false).adapter(adapter).reverseLayout(true),
417 setupByConfig(new Config(HORIZONTAL, false, false).adapter(adapter).reverseLayout(true),
654 new Config().orientation(VERTICAL).stackFromBottom(false).reverseLayout(
661 new Config().orientation(VERTICAL).stackFromBottom(false).reverseLayout(true), 100,
668 new Config().orientation(VERTICAL).stackFromBottom(true).reverseLayout(false), 100,
675 new Config().orientation(VERTICAL).stackFromBottom(true).reverseLayout(true), 100,
682 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout(
689 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout(true),
696 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(false),
703 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(tru
[all...]
H A DBaseStaggeredGridLayoutManagerTest.java71 for (boolean reverseLayout : new boolean[]{false, true}) {
76 variations.add(new Config(orientation, reverseLayout, spanCount,
425 Config(int orientation, boolean reverseLayout, int spanCount, int gapStrategy) { argument
427 mReverseLayout = reverseLayout;
441 Config reverseLayout(boolean reverseLayout) { argument
442 mReverseLayout = reverseLayout;
H A DAsyncListUtilLayoutTest.java317 public WrappedLinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument
318 super(context, orientation, reverseLayout);
H A DRecyclerViewFocusTest.java266 TestLinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument
267 super(context, orientation, reverseLayout);
H A DGridLayoutManagerWrapContentWithAspectRatioTest.java52 for (boolean reverseLayout : new boolean[]{false, true}) {
58 new BaseGridLayoutManagerTest.Config(3, orientation, reverseLayout),
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollbarHelper.java32 boolean smoothScrollbarEnabled, boolean reverseLayout) {
41 final int itemsBefore = reverseLayout
30 computeScrollOffset(RecyclerView.State state, OrientationHelper orientation, View startChild, View endChild, RecyclerView.LayoutManager lm, boolean smoothScrollbarEnabled, boolean reverseLayout) argument
H A DLinearLayoutManager.java160 * @param reverseLayout When set to true, layouts from end to start.
162 public LinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument
164 setReverseLayout(reverseLayout);
176 setReverseLayout(properties.reverseLayout);
375 public void setReverseLayout(boolean reverseLayout) { argument
377 if (reverseLayout == mReverseLayout) {
380 mReverseLayout = reverseLayout;
607 // TODO we can probably avoid this if neither stackFromEnd/reverseLayout/RTL values have
H A DRecyclerView.java9601 properties.reverseLayout = a.getBoolean(R.styleable.RecyclerView_reverseLayout, false);
9649 public boolean reverseLayout; field in class:RecyclerView.LayoutManager.Properties
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DScrollbarHelper.java31 boolean smoothScrollbarEnabled, boolean reverseLayout) {
40 final int itemsBefore = reverseLayout
29 computeScrollOffset(RecyclerView.State state, OrientationHelper orientation, View startChild, View endChild, RecyclerView.LayoutManager lm, boolean smoothScrollbarEnabled, boolean reverseLayout) argument
H A DPagerSnapHelper.java109 boolean reverseLayout = false;
115 reverseLayout = vectorForEnd.x < 0 || vectorForEnd.y < 0;
118 return reverseLayout
H A DStaggeredGridLayoutManager.java233 setReverseLayout(properties.reverseLayout);
474 * @param reverseLayout Whether layout should be in reverse or not
476 public void setReverseLayout(boolean reverseLayout) { argument
478 if (mPendingSavedState != null && mPendingSavedState.mReverseLayout != reverseLayout) {
479 mPendingSavedState.mReverseLayout = reverseLayout;
481 mReverseLayout = reverseLayout;
2615 void cacheReferenceLineAndClear(boolean reverseLayout, int offset) { argument
2617 if (reverseLayout) {
2626 if ((reverseLayout && reference < mPrimaryOrientation.getEndAfterPadding())
2627 || (!reverseLayout
[all...]
H A DLinearLayoutManager.java160 * @param reverseLayout When set to true, layouts from end to start.
163 boolean reverseLayout) {
165 setReverseLayout(reverseLayout);
180 setReverseLayout(properties.reverseLayout);
387 public void setReverseLayout(boolean reverseLayout) { argument
389 if (reverseLayout == mReverseLayout) {
392 mReverseLayout = reverseLayout;
636 // TODO we can probably avoid this if neither stackFromEnd/reverseLayout/RTL values have
162 LinearLayoutManager(Context context, @RecyclerView.Orientation int orientation, boolean reverseLayout) argument
H A DGridLayoutManager.java93 * @param reverseLayout When set to true, layouts from end to start.
96 @RecyclerView.Orientation int orientation, boolean reverseLayout) {
97 super(context, orientation, reverseLayout);
95 GridLayoutManager(Context context, int spanCount, @RecyclerView.Orientation int orientation, boolean reverseLayout) argument
H A DRecyclerView.java10334 properties.reverseLayout = a.getBoolean(R.styleable.RecyclerView_reverseLayout, false);
10382 public boolean reverseLayout; field in class:RecyclerView.LayoutManager.Properties

Completed in 280 milliseconds