Searched defs:sections (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsSectionIndexer.java39 * @param sections a non-null array
40 * @param counts a non-null array of the same size as <code>sections</code>
42 public ContactsSectionIndexer(String[] sections, int[] counts) { argument
43 if (sections == null || counts == null) {
47 if (sections.length != counts.length) {
49 "The sections and counts arrays must have the same length");
52 // TODO process sections/counts based on current locale and/or specific section titles
54 this.mSections = sections;
58 // Enforce that there will be no null or empty sections.
/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DContactsSectionIndexer.java36 * @param sections a non-null array
37 * @param counts a non-null array of the same size as <code>sections</code>
39 public ContactsSectionIndexer(String[] sections, int[] counts) { argument
40 if (sections == null || counts == null) {
44 if (sections.length != counts.length) {
46 "The sections and counts arrays must have the same length");
49 // TODO process sections/counts based on current locale and/or specific section titles
51 this.mSections = sections;
/packages/apps/Camera2/src/com/android/camera/util/
H A DXmpUtil.java61 // Jpeg file is composed of many sections and image data. This class is used
106 List<Section> sections = parse(is, true);
107 if (sections == null) {
111 for (Section section : sections) {
153 List<Section> sections = null;
155 sections = parse(new FileInputStream(filename), false);
156 sections = insertXMPSection(sections, meta);
157 if (sections == null) {
168 writeJpegFile(os, sections);
215 writeJpegFile(OutputStream os, List<Section> sections) argument
234 insertXMPSection( List<Section> sections, XMPMeta meta) argument
[all...]
/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/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DSectionedAlbumDataAdapter.java41 private int[] sections; field in class:SectionedAlbumDataAdapter
81 sections = new int[numSections];
89 sections[numSections] = i;
94 for (int i = 0; i < sections.length; i++) {
95 sections[i] += i;
96 if (DEBUG) Log.i(TAG, i + ": " + sections[i]);
125 return mAlbumData.getCount() + sections.length;
201 return (Arrays.binarySearch(sections, position) >= 0);
205 int offset = Arrays.binarySearch(sections, position);
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupUtil.java252 List<Integer> subscripts, String[] sections, int[] counts) {
258 sections[filteredContact] = "";
262 final String[] newSections = clearEmptyString(sections);
251 updateBundle(Bundle bundle, ContactsSectionIndexer indexer, List<Integer> subscripts, String[] sections, int[] counts) argument

Completed in 202 milliseconds