Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/util/
DXmpUtil.java106 List<Section> sections = parse(is, true); in extractXMPMeta() local
107 if (sections == null) { in extractXMPMeta()
111 for (Section section : sections) { in extractXMPMeta()
153 List<Section> sections = null; in writeXMPMeta() local
155 sections = parse(new FileInputStream(filename), false); in writeXMPMeta()
156 sections = insertXMPSection(sections, meta); in writeXMPMeta()
157 if (sections == null) { in writeXMPMeta()
168 writeJpegFile(os, sections); in writeXMPMeta()
189 List<Section> sections = parse(inputStream, false); in writeXMPMeta() local
190 sections = insertXMPSection(sections, meta); in writeXMPMeta()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactEntryAdapter.java78 ContactEntryAdapter(Context context, ArrayList<ArrayList<E>> sections, boolean separators) { in ContactEntryAdapter() argument
81 mSections = sections; in ContactEntryAdapter()
90 public final void setSections(ArrayList<ArrayList<E>> sections, boolean separators) { in setSections() argument
91 mSections = sections; in setSections()
103 public final int setSections(ArrayList<ArrayList<E>> sections, E entry) { in setSections() argument
104 mSections = sections; in setSections()
179 public final static <T extends Entry> T getEntry(ArrayList<ArrayList<T>> sections, in getEntry() argument
181 int numSections = sections.size(); in getEntry()
183 ArrayList<T> section = sections.get(i); in getEntry()
203 public static <T extends Entry> int countEntries(ArrayList<ArrayList<T>> sections, in countEntries() argument
[all …]
DContactFragment.java659 ViewAdapter(Context context, ArrayList<ArrayList<ViewEntry>> sections) { in ViewAdapter() argument
660 super(context, sections, SHOW_SEPARATORS); in ViewAdapter()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactSectionIndexer.java102 final String[] sections = cursorExtras.getStringArray( in buildIndexerFromCursorExtras() local
105 if (sections == null || counts == null) { in buildIndexerFromCursorExtras()
109 if (sections.length != counts.length) { in buildIndexerFromCursorExtras()
113 this.mSections = sections; in buildIndexerFromCursorExtras()
134 final ArrayList<String> sections = new ArrayList<String>(); in buildIndexerFromDisplayNames() local
147 final int lastIndex = sections.size() - 1; in buildIndexerFromDisplayNames()
148 final String currentSection = lastIndex >= 0 ? sections.get(lastIndex) : null; in buildIndexerFromDisplayNames()
150 sections.add(section); in buildIndexerFromDisplayNames()
156 mSections = new String[sections.size()]; in buildIndexerFromDisplayNames()
157 sections.toArray(mSections); in buildIndexerFromDisplayNames()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DSectionedAlbumDataAdapter.java41 private int[] sections; field in SectionedAlbumDataAdapter
81 sections = new int[numSections]; in onChanged()
89 sections[numSections] = i; in onChanged()
94 for (int i = 0; i < sections.length; i++) { in onChanged()
95 sections[i] += i; in onChanged()
96 if (DEBUG) Log.i(TAG, i + ": " + sections[i]); in onChanged()
125 return mAlbumData.getCount() + sections.length; in getCount()
201 return (Arrays.binarySearch(sections, position) >= 0); in isHeader()
205 int offset = Arrays.binarySearch(sections, position); in internalPosition()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactsSectionIndexer.java41 public ContactsSectionIndexer(String[] sections, int[] counts) { in ContactsSectionIndexer() argument
42 if (sections == null || counts == null) { in ContactsSectionIndexer()
46 if (sections.length != counts.length) { in ContactsSectionIndexer()
53 this.mSections = sections; in ContactsSectionIndexer()
DContactEntryListAdapter.java502 String sections[] = in updateIndexer() local
509 String allSections[] = new String[sections.length + 1]; in updateIndexer()
511 for (int i = 0; i < sections.length; i++) { in updateIndexer()
512 allSections[i + 1] = sections[i]; in updateIndexer()
519 setIndexer(new ContactsSectionIndexer(sections, counts)); in updateIndexer()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.java384 final List<String> sections = new ArrayList<>(approximateSectionCount); in getSections() local
389 sections.add("+"); in getSections()
399 sections.add(city.getIndexString()); in getSections()
403 sections.add(Utils.getGMTHourOffset(timezone, Utils.isPreL())); in getSections()
410 mSectionHeaders = sections.toArray(new String[sections.size()]); in getSections()
/packages/apps/Settings/src/com/android/settings/applications/
DManageApplications.java997 ArrayList<SectionInfo> sections = new ArrayList<>(); in rebuildSections() local
1007 sections.add(new SectionInfo(mIndex.getBucket(secId).getLabel(), pos)); in rebuildSections()
1009 mPositionToSectionIndex[pos] = sections.size() - 1; in rebuildSections()
1011 mSections = sections.toArray(EMPTY_SECTIONS); in rebuildSections()
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile470 # documentation sections, marked by \if sectionname ... \endif.
848 # documentation will contain sections that can be hidden and shown after the
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile470 # documentation sections, marked by \if sectionname ... \endif.
848 # documentation will contain sections that can be hidden and shown after the
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in627 # sections, marked by \if <section_label> ... \endif and \cond <section_label>
1183 # documentation will contain sections that can be hidden and shown after the
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz