Searched defs:sections (Results 1 - 4 of 4) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactsSectionIndexer.java | 38 * @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;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactEntryAdapter.java | 78 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 D | ContactFragment.java | 169 // 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/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | SectionedAlbumDataAdapter.java | 43 private int[] sections; field in class:SectionedAlbumDataAdapter 74 sections = new int[numSections]; 82 sections[numSections] = i; 87 for (int i = 0; i < sections.length; i++) { 88 sections[i] += i; 89 if (DEBUG) Log.i(TAG, i + ": " + sections[i]); 118 return mAlbumData.getCount() + sections.length; 194 return (Arrays.binarySearch(sections, position) >= 0); 198 int offset = Arrays.binarySearch(sections, position);
|
Completed in 270 milliseconds