/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | GridLayoutManagerTest.java | 176 final int spanCount = 3; in topUnfocusableViewsVisibility() local 180 * spanCount; in topUnfocusableViewsVisibility() 182 final RecyclerView recyclerView = setupBasic(new Config(spanCount, itemCount) in topUnfocusableViewsVisibility() 210 if (position < spanCount * consecutiveFocusableRowsCount) { in topUnfocusableViewsVisibility() 235 int maxFocusIndex = (consecutiveFocusableRowsCount - 1) * spanCount + focusIndex; in topUnfocusableViewsVisibility() 237 * spanCount + visibleIndex; in topUnfocusableViewsVisibility() 243 int pos = focusIndex + spanCount; in topUnfocusableViewsVisibility() 247 focusIndex = Math.min(maxFocusIndex, (focusIndex + spanCount)); in topUnfocusableViewsVisibility() 249 visibleIndex = Math.min(maxVisibleIndex, (visibleIndex + spanCount)); in topUnfocusableViewsVisibility() 258 pos += spanCount; in topUnfocusableViewsVisibility() [all …]
|
D | BaseGridLayoutManagerTest.java | 66 for (int spanCount : new int[]{1, 3, 4}) { in createBaseVariations() 67 variations.add(new Config(spanCount, orientation, reverseLayout)); in createBaseVariations() 114 Config(int spanCount, int itemCount) { in Config() argument 115 mSpanCount = spanCount; in Config() 119 public Config(int spanCount, int orientation, boolean reverseLayout) { in Config() argument 120 mSpanCount = spanCount; in Config() 165 public WrappedGridLayoutManager(Context context, int spanCount) { in WrappedGridLayoutManager() argument 166 super(context, spanCount); in WrappedGridLayoutManager() 169 public WrappedGridLayoutManager(Context context, int spanCount, int orientation, in WrappedGridLayoutManager() argument 171 super(context, spanCount, orientation, reverseLayout); in WrappedGridLayoutManager()
|
D | BaseStaggeredGridLayoutManagerTest.java | 53 for (int spanCount : new int[]{1, 3}) { in createBaseVariations() 57 variations.add(new Config(orientation, reverseLayout, spanCount, in createBaseVariations() 283 VisibleChildren(int spanCount) { in VisibleChildren() argument 284 firstFullyVisiblePositions = new int[spanCount]; in VisibleChildren() 285 firstVisiblePositions = new int[spanCount]; in VisibleChildren() 286 lastVisiblePositions = new int[spanCount]; in VisibleChildren() 287 lastFullyVisiblePositions = new int[spanCount]; in VisibleChildren() 288 for (int i = 0; i < spanCount; i++) { in VisibleChildren() 406 Config(int orientation, boolean reverseLayout, int spanCount, int gapStrategy) { in Config() argument 409 mSpanCount = spanCount; in Config() [all …]
|
D | StaggeredGridLayoutManagerTest.java | 409 final int spanCount = 3; in topUnfocusableViewsVisibility() local 412 setupByConfig(new Config(VERTICAL, true, spanCount, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS), in topUnfocusableViewsVisibility() 523 final int spanCount = 3; in bottomUnfocusableViewsVisibility() local 526 setupByConfig(new Config(VERTICAL, false, spanCount, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS), in bottomUnfocusableViewsVisibility() 636 final int spanCount = 3; in leftUnfocusableViewsVisibility() local 640 setupByConfig(new Config(HORIZONTAL, true, spanCount, in leftUnfocusableViewsVisibility() 745 final int spanCount = 3; in rightUnfocusableViewsVisibility() local 748 setupByConfig(new Config(HORIZONTAL, false, spanCount, in rightUnfocusableViewsVisibility() 916 Config config = new Config().spanCount(2).itemCount(40); in moveGapHandling() 938 setupByConfig(new Config().spanCount(2).itemCount(500)); in temporaryGapHandling() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | GridLayoutManager.java | 73 setSpanCount(properties.spanCount); in GridLayoutManager() 82 public GridLayoutManager(Context context, int spanCount) { in GridLayoutManager() argument 84 setSpanCount(spanCount); in GridLayoutManager() 94 public GridLayoutManager(Context context, int spanCount, int orientation, in GridLayoutManager() argument 97 setSpanCount(spanCount); in GridLayoutManager() 319 static int[] calculateItemBorders(int[] cachedBorders, int spanCount, int totalSpace) { in calculateItemBorders() argument 320 if (cachedBorders == null || cachedBorders.length != spanCount + 1 in calculateItemBorders() 322 cachedBorders = new int[spanCount + 1]; in calculateItemBorders() 325 int sizePerSpan = totalSpace / spanCount; in calculateItemBorders() 326 int sizePerSpanRemainder = totalSpace % spanCount; in calculateItemBorders() [all …]
|
D | StaggeredGridLayoutManager.java | 235 setSpanCount(properties.spanCount); in StaggeredGridLayoutManager() 249 public StaggeredGridLayoutManager(int spanCount, int orientation) { in StaggeredGridLayoutManager() argument 251 setSpanCount(spanCount); in StaggeredGridLayoutManager() 426 public void setSpanCount(int spanCount) { 428 if (spanCount != mSpanCount) { 430 mSpanCount = spanCount; 3048 int spanCount = in.readInt(); 3049 if (spanCount > 0) { 3050 mGapPerSpan = new int[spanCount]; 3242 int spanCount = spans.length; [all …]
|
D | RecyclerView.java | 9989 properties.spanCount = a.getInt(R.styleable.RecyclerView_spanCount, 1); in getProperties() 10036 public int spanCount; field in RecyclerView.LayoutManager.Properties
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 294 int spanCount = mSpanCount; in getSpans() local 300 for (int i = 0; i < spanCount; i++) { in getSpans() 330 ret = (Object[]) Array.newInstance(kind, spanCount - i + 1); in getSpans()
|
/frameworks/base/media/java/android/media/ |
D | WebVttRenderer.java | 1846 final int spanCount = spans.length; in update() local 1847 for (int i = 0; i < spanCount; i++) { in update()
|
/frameworks/support/api/ |
D | 22.2.0.txt | 7595 field public static int spanCount; 8108 field public int spanCount;
|
D | 22.2.1.txt | 7684 field public static int spanCount; 8201 field public int spanCount;
|
D | 23.0.0.txt | 9093 field public static int spanCount; 9644 field public int spanCount;
|
D | 23.2.1.txt | 9954 field public static int spanCount; 10531 field public int spanCount;
|
D | 23.2.0.txt | 9952 field public static int spanCount; 10529 field public int spanCount;
|
D | 23.1.1.txt | 9443 field public static int spanCount; 10003 field public int spanCount;
|
D | 23.4.0.txt | 9970 field public static int spanCount; 10547 field public int spanCount;
|
D | 23.1.0.txt | 9474 field public static int spanCount; 10034 field public int spanCount;
|
D | 24.0.0.txt | 10758 field public static int spanCount; 11344 field public int spanCount;
|
D | 24.1.0.txt | 10768 field public static int spanCount; 11354 field public int spanCount;
|
D | 25.1.0.txt | 10300 field public int spanCount;
|
D | 25.0.0.txt | 9838 field public int spanCount;
|
D | 25.2.0.txt | 10300 field public int spanCount;
|
D | 24.2.0.txt | 9749 field public int spanCount;
|
D | 26.0.0-alpha1.txt | 11207 field public int spanCount;
|
D | 25.3.0.txt | 10737 field public int spanCount;
|