Searched refs:SPAN_COUNT (Results 1 – 3 of 3) sorted by relevance
51 private static final int SPAN_COUNT = 6; field in OtherFragment71 if (gridLayoutManager.getSpanCount() != SPAN_COUNT) { in onCreateView()72 throw new IllegalArgumentException("Expected a span count of " + SPAN_COUNT + in onCreateView()181 mSpanSize.append(current++, SPAN_COUNT / 2); in recalculateSpans()182 mSpanSize.append(current++, SPAN_COUNT / 2); in recalculateSpans()185 mSpanSize.append(current++, SPAN_COUNT * 2 / 3); in recalculateSpans()186 mSpanSize.append(current++, SPAN_COUNT * 1 / 3); in recalculateSpans()189 mSpanSize.append(current++, SPAN_COUNT); in recalculateSpans()195 mSpanSize.append(current++, SPAN_COUNT * 1 / 3); in recalculateSpans()196 mSpanSize.append(current++, SPAN_COUNT * 2 / 3); in recalculateSpans()[all …]
19 import static com.android.settings.homepage.contextualcards.ContextualCardsAdapter.SPAN_COUNT;105 mLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT, in onCreateView()
41 static final int SPAN_COUNT = 2; field in ContextualCardsAdapter