Searched defs:spanCount (Results 1 - 4 of 4) sorted by relevance
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerTest.java | 57 for (int spanCount : new int[]{1, 3, 4}) { 58 mBaseVariations.add(new Config(spanCount, orientation, reverseLayout)); 594 public WrappedGridLayoutManager(Context context, int spanCount) { argument 595 super(context, spanCount); 598 public WrappedGridLayoutManager(Context context, int spanCount, int orientation, argument 600 super(context, spanCount, orientation, reverseLayout); 635 Config(int spanCount, int itemCount) { argument 636 mSpanCount = spanCount; 640 public Config(int spanCount, int orientation, boolean reverseLayout) { argument 641 mSpanCount = spanCount; [all...] |
H A D | StaggeredGridLayoutManagerTest.java | 68 for (int spanCount : new int[]{1, 3}) { 71 mBaseVariations.add(new Config(orientation, reverseLayout, spanCount, 527 Config config = new Config().spanCount(2).itemCount(40); 546 setupByConfig(new Config().spanCount(2).itemCount(500)); 576 setupByConfig(new Config().spanCount(2).itemCount(100)); 609 Config config = new Config().spanCount(3).itemCount(500); 644 Config config = new Config().spanCount(5).itemCount(30); 727 Config config = new Config().spanCount(5).itemCount(100); 765 Config config = new Config().spanCount(5); 1621 public WrappedLayoutManager(int spanCount, in argument 1759 VisibleChildren(int spanCount) argument 1916 Config(int orientation, boolean reverseLayout, int spanCount, int gapStrategy) argument 1937 spanCount(int spanCount) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 65 * @param spanCount The number of columns in the grid 67 public GridLayoutManager(Context context, int spanCount) { argument 69 setSpanCount(spanCount); 74 * @param spanCount The number of columns or rows in the grid 79 public GridLayoutManager(Context context, int spanCount, int orientation, argument 82 setSpanCount(spanCount); 549 * @param spanCount The total number of spans in the grid 552 public void setSpanCount(int spanCount) { argument 553 if (spanCount == mSpanCount) { 556 if (spanCount < 613 getCachedSpanIndex(int position, int spanCount) argument 649 getSpanIndex(int position, int spanCount) argument 710 getSpanGroupIndex(int adapterPosition, int spanCount) argument 749 getSpanIndex(int position, int spanCount) argument [all...] |
H A D | StaggeredGridLayoutManager.java | 202 * @param spanCount If orientation is vertical, spanCount is number of columns. If 203 * orientation is horizontal, spanCount is number of rows. 206 public StaggeredGridLayoutManager(int spanCount, int orientation) { argument 208 setSpanCount(spanCount); 359 * Calling this method will automatically result in a new layout request unless the spanCount 362 * @param spanCount Number of spans to layout 364 public void setSpanCount(int spanCount) { argument 366 if (spanCount != mSpanCount) { 368 mSpanCount = spanCount; [all...] |
Completed in 105 milliseconds