/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseGridLayoutManagerTest.java | 64 for (boolean reverseLayout : new boolean[]{false, true}) { 66 variations.add(new Config(spanCount, orientation, reverseLayout)); 118 public Config(int spanCount, int orientation, boolean reverseLayout) { argument 121 mReverseLayout = reverseLayout; 139 public Config reverseLayout(boolean reverseLayout) { argument 140 mReverseLayout = reverseLayout; 169 boolean reverseLayout) { 170 super(context, spanCount, orientation, reverseLayout); 168 WrappedGridLayoutManager(Context context, int spanCount, int orientation, boolean reverseLayout) argument
|
H A D | GridLayoutManagerCachedBordersTest.java | 73 for (boolean reverseLayout : new boolean[]{false, true}) { 75 Config config = new Config(spanCounts[i], orientation, reverseLayout);
|
H A D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 60 for (boolean reverseLayout : new boolean[]{false, true}) { 65 reverseLayout, stackFromBottom), 74 reverseLayout, stackFromBottom), 84 reverseLayout, stackFromBottom), 94 reverseLayout, stackFromBottom),
|
H A D | LinearLayoutManagerWrapContentTest.java | 123 for (boolean reverseLayout : new boolean[]{false, true}) { 127 new Config(orientation, reverseLayout, stackFromBottom), 133 new Config(orientation, reverseLayout, stackFromBottom),
|
H A D | BaseLinearLayoutManagerTest.java | 56 for (boolean reverseLayout : new boolean[]{false, true}) { 60 new Config(orientation, reverseLayout, stackFromBottom).wrap(wrap)); 291 Config(int orientation, boolean reverseLayout, boolean stackFromEnd) { argument 293 mReverseLayout = reverseLayout; 321 Config reverseLayout(boolean reverseLayout) { argument 322 mReverseLayout = reverseLayout; 378 public WrappedLinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument 379 super(context, orientation, reverseLayout);
|
H A D | LinearLayoutManagerTest.java | 55 new Config().orientation(VERTICAL).stackFromBottom(false).reverseLayout( 62 new Config().orientation(VERTICAL).stackFromBottom(false).reverseLayout(true), 100, 69 new Config().orientation(VERTICAL).stackFromBottom(true).reverseLayout(false), 100, 76 new Config().orientation(VERTICAL).stackFromBottom(true).reverseLayout(true), 100, 83 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout( 90 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout(true), 97 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(false), 104 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(true), 100,
|
H A D | GridLayoutManagerTest.java | 78 private void scrollToBadOffset(boolean reverseLayout) throws Throwable { argument 81 RecyclerView recyclerView = setupBasic(new Config(2, 100).reverseLayout(reverseLayout), 121 final RecyclerView recyclerView = setupBasic(new Config(3, 31).reverseLayout(!scrollDown) 547 new Config(3, 0).orientation(VERTICAL).reverseLayout(false), 100, 0); 553 new Config(3, 0).orientation(VERTICAL).reverseLayout(true), 100, 560 new Config(3, 0).orientation(HORIZONTAL).reverseLayout( 567 new Config(3, 0).orientation(HORIZONTAL).reverseLayout(true),
|
H A D | BaseStaggeredGridLayoutManagerTest.java | 47 for (boolean reverseLayout : new boolean[]{false, true}) { 52 variations.add(new Config(orientation, reverseLayout, spanCount, 401 Config(int orientation, boolean reverseLayout, int spanCount, int gapStrategy) { argument 403 mReverseLayout = reverseLayout; 417 Config reverseLayout(boolean reverseLayout) { argument 418 mReverseLayout = reverseLayout;
|
H A D | AsyncListUtilLayoutTest.java | 311 public WrappedLinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument 312 super(context, orientation, reverseLayout);
|
H A D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 52 for (boolean reverseLayout : new boolean[]{false, true}) { 58 new Config(3, orientation, reverseLayout),
|
/frameworks/support/v7/recyclerview/src/android/support/v7/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 | StaggeredGridLayoutManager.java | 232 setReverseLayout(properties.reverseLayout); 468 * @param reverseLayout Whether layout should be in reverse or not 470 public void setReverseLayout(boolean reverseLayout) { argument 472 if (mPendingSavedState != null && mPendingSavedState.mReverseLayout != reverseLayout) { 473 mPendingSavedState.mReverseLayout = reverseLayout; 475 mReverseLayout = reverseLayout; 2511 void cacheReferenceLineAndClear(boolean reverseLayout, int offset) { argument 2513 if (reverseLayout) { 2522 if ((reverseLayout && reference < mPrimaryOrientation.getEndAfterPadding()) || 2523 (!reverseLayout [all...] |
H A D | LinearLayoutManager.java | 159 * @param reverseLayout When set to true, layouts from end to start. 161 public LinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument 163 setReverseLayout(reverseLayout); 179 setReverseLayout(properties.reverseLayout); 380 public void setReverseLayout(boolean reverseLayout) { argument 382 if (reverseLayout == mReverseLayout) { 385 mReverseLayout = reverseLayout; 604 // TODO we can probably avoid this if neither stackFromEnd/reverseLayout/RTL values have
|
H A D | GridLayoutManager.java | 92 * @param reverseLayout When set to true, layouts from end to start. 95 boolean reverseLayout) { 96 super(context, orientation, reverseLayout); 94 GridLayoutManager(Context context, int spanCount, int orientation, boolean reverseLayout) argument
|
H A D | RecyclerView.java | 9284 properties.reverseLayout = a.getBoolean(R.styleable.RecyclerView_reverseLayout, false); 9332 public boolean reverseLayout; field in class:RecyclerView.LayoutManager.Properties
|