Searched refs:sections (Results 1 - 4 of 4) sorted by relevance

/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactEntryAdapter.java78 ContactEntryAdapter(Context context, ArrayList<ArrayList<E>> sections, boolean separators) { argument
81 mSections = sections;
88 * @param sections the section data
90 public final void setSections(ArrayList<ArrayList<E>> sections, boolean separators) { argument
91 mSections = sections;
99 * @param sections the section data
103 public final int setSections(ArrayList<ArrayList<E>> sections, E entry) { argument
104 mSections = sections;
175 * @param sections the list of sections
179 getEntry(ArrayList<ArrayList<T>> sections, int position, boolean separators) argument
203 countEntries(ArrayList<ArrayList<T>> sections, boolean separators) argument
[all...]
H A DContactFragment.java169 // Build the list of sections. The order they're added to mSections dictates the
292 // Collapse similar data items in select sections.
659 ViewAdapter(Context context, ArrayList<ArrayList<ViewEntry>> sections) { argument
660 super(context, sections, SHOW_SEPARATORS);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsSectionIndexer.java38 * @param sections a non-null array
39 * @param counts a non-null array of the same size as <code>sections</code>
41 public ContactsSectionIndexer(String[] sections, int[] counts) { argument
42 if (sections == null || counts == null) {
46 if (sections.length != counts.length) {
48 "The sections and counts arrays must have the same length");
51 // TODO process sections/counts based on current locale and/or specific section titles
53 this.mSections = sections;
H A DContactEntryListAdapter.java434 String sections[] =
437 setIndexer(new ContactsSectionIndexer(sections, counts));

Completed in 115 milliseconds