/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | BaseGridLayoutManagerTest.java | 65 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 D | GridLayoutManagerCachedBordersTest.java | 78 for (boolean reverseLayout : new boolean[]{false, true}) { 80 Config config = new Config(spanCounts[i], orientation, reverseLayout);
|
H A D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 62 for (boolean reverseLayout : new boolean[]{false, true}) { 67 reverseLayout, stackFromBottom), 76 reverseLayout, stackFromBottom), 86 reverseLayout, stackFromBottom), 96 reverseLayout, stackFromBottom),
|
H A D | LinearLayoutManagerWrapContentTest.java | 123 for (boolean reverseLayout : new boolean[]{false, true}) { 127 new BaseLinearLayoutManagerTest.Config(orientation, reverseLayout, stackFromBottom), 133 new BaseLinearLayoutManagerTest.Config(orientation, reverseLayout, stackFromBottom),
|
H A D | BaseLinearLayoutManagerTest.java | 57 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 D | GridLayoutManagerTest.java | 84 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 D | LinearLayoutManagerTest.java | 246 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 D | BaseStaggeredGridLayoutManagerTest.java | 71 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 D | AsyncListUtilLayoutTest.java | 317 public WrappedLinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument 318 super(context, orientation, reverseLayout);
|
H A D | RecyclerViewFocusTest.java | 266 TestLinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument 267 super(context, orientation, reverseLayout);
|
H A D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 52 for (boolean reverseLayout : new boolean[]{false, true}) { 58 new BaseGridLayoutManagerTest.Config(3, orientation, reverseLayout),
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ScrollbarHelper.java | 32 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 D | LinearLayoutManager.java | 160 * @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 D | RecyclerView.java | 9601 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 D | ScrollbarHelper.java | 31 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 D | PagerSnapHelper.java | 109 boolean reverseLayout = false; 115 reverseLayout = vectorForEnd.x < 0 || vectorForEnd.y < 0; 118 return reverseLayout
|
H A D | StaggeredGridLayoutManager.java | 233 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 D | LinearLayoutManager.java | 160 * @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 D | GridLayoutManager.java | 93 * @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 D | RecyclerView.java | 10334 properties.reverseLayout = a.getBoolean(R.styleable.RecyclerView_reverseLayout, false); 10382 public boolean reverseLayout; field in class:RecyclerView.LayoutManager.Properties
|