Home
last modified time | relevance | path

Searched refs:SPAN_COUNT (Results 1 – 3 of 3) sorted by relevance

/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DOtherFragment.java51 private static final int SPAN_COUNT = 6; field in OtherFragment
71 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 …]
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardsFragment.java19 import static com.android.settings.homepage.contextualcards.ContextualCardsAdapter.SPAN_COUNT;
105 mLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT, in onCreateView()
DContextualCardsAdapter.java41 static final int SPAN_COUNT = 2; field in ContextualCardsAdapter