Home | History | Annotate | Download | only in widget

Lines Matching defs:spanCount

188         final int spanCount = 3;
196 Config config = new Config(spanCount, itemCount);
232 focusIndex = (focusIndex / spanCount) * spanCount + 1;
286 focusIndex = (focusIndex / spanCount) * spanCount + (spanCount - 1);
316 final int spanCount = 3;
320 * spanCount;
322 final RecyclerView recyclerView = setupBasic(new Config(spanCount, itemCount)
350 if (position < spanCount * consecutiveFocusableRowsCount) {
375 int maxFocusIndex = (consecutiveFocusableRowsCount - 1) * spanCount + focusIndex;
377 * spanCount + visibleIndex;
383 int pos = focusIndex + spanCount;
387 focusIndex = Math.min(maxFocusIndex, (focusIndex + spanCount));
389 visibleIndex = Math.min(maxVisibleIndex, (visibleIndex + spanCount));
398 pos += spanCount;
406 final int spanCount = 3;
410 * spanCount;
412 final RecyclerView recyclerView = setupBasic(new Config(spanCount, itemCount)
440 if (position < spanCount * consecutiveFocusableRowsCount) {
465 int maxFocusIndex = (consecutiveFocusableRowsCount - 1) * spanCount + focusIndex;
467 * spanCount + visibleIndex;
473 int pos = focusIndex + spanCount;
477 focusIndex = Math.min(maxFocusIndex, (focusIndex + spanCount));
479 visibleIndex = Math.min(maxVisibleIndex, (visibleIndex + spanCount));
488 pos += spanCount;
496 final int spanCount = 3;
500 * spanCount;
502 final RecyclerView recyclerView = setupBasic(new Config(spanCount, itemCount)
530 if (position < spanCount * consecutiveFocusableColsCount) {
555 int maxFocusIndex = (consecutiveFocusableColsCount - 1) * spanCount + focusIndex;
557 * spanCount + visibleIndex;
563 int pos = focusIndex + spanCount;
567 focusIndex = Math.min(maxFocusIndex, (focusIndex + spanCount));
569 visibleIndex = Math.min(maxVisibleIndex, (visibleIndex + spanCount));
578 pos += spanCount;
586 final int spanCount = 3;
590 * spanCount;
592 final RecyclerView recyclerView = setupBasic(new Config(spanCount, itemCount)
620 if (position < spanCount * consecutiveFocusableColsCount) {
645 int maxFocusIndex = (consecutiveFocusableColsCount - 1) * spanCount + focusIndex;
647 * spanCount + visibleIndex;
653 int pos = focusIndex + spanCount;
657 focusIndex = Math.min(maxFocusIndex, (focusIndex + spanCount));
659 visibleIndex = Math.min(maxVisibleIndex, (visibleIndex + spanCount));
668 pos += spanCount;
729 public int getSpanIndex(int position, int spanCount) {
735 return super.getSpanIndex(position, spanCount);