Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 23 of 23) 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/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/Contacts/tests/src/com/android/contacts/group/
DGroupUtilTest.java51 final String[] sections = new String[]{"…", "A", "I", "T", "W", "Y", "Z", "#"}; in testUpdateBundle_smallSet() local
55 final ContactsSectionIndexer indexer = new ContactsSectionIndexer(sections, counts); in testUpdateBundle_smallSet()
57 GroupUtil.updateBundle(bundle, indexer, subscriptsList, sections, counts); in testUpdateBundle_smallSet()
73 final String[] sections = new String[]{"A", "B", "C", "D", "E", "F", "G", "H", "J", in testUpdateBundle_mediumSet() local
103 final ContactsSectionIndexer indexer = new ContactsSectionIndexer(sections, counts); in testUpdateBundle_mediumSet()
105 GroupUtil.updateBundle(bundle, indexer, subscriptsList, sections, counts); in testUpdateBundle_mediumSet()
/packages/modules/NeuralNetworks/tools/api/
Dgenerate_api.py49 self.sections = dict() # key is section name, value is array of strings (lines) in the section
168 assert key in self.sections, "Unknown section \"" + key + "\" on " + self.context()
173 self.sections[self.section].extend(
175 for line in self.sections[key])
187 … assert not key in self.sections, "Duplicate definition of \"" + key + "\" on " + self.context()
188 self.sections[key] = []
288 self.sections[self.section].append(self.macro_substitution())
316 assert key in specification.sections, "Unknown section \"" + key + "\" on " + self.context()
318 for line in specification.sections[key]:
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsSectionIndexer.java42 public ContactsSectionIndexer(String[] sections, int[] counts) { in ContactsSectionIndexer() argument
43 if (sections == null || counts == null) { in ContactsSectionIndexer()
47 if (sections.length != counts.length) { in ContactsSectionIndexer()
54 this.mSections = sections; in ContactsSectionIndexer()
DGroupMemberPickerFragment.java89 final String sections[] = bundle.getStringArray(Contacts in FilterCursorWrapper() local
92 final ContactsSectionIndexer indexer = (sections == null || counts == null) in FilterCursorWrapper()
93 ? null : new ContactsSectionIndexer(sections, counts); in FilterCursorWrapper()
106 GroupUtil.updateBundle(bundle, indexer, indicesToFilter, sections, counts); in FilterCursorWrapper()
DContactEntryListAdapter.java500 String sections[] = in updateIndexer() local
507 String allSections[] = new String[sections.length + 1]; in updateIndexer()
509 for (int i = 0; i < sections.length; i++) { in updateIndexer()
510 allSections[i + 1] = sections[i]; in updateIndexer()
517 setIndexer(new ContactsSectionIndexer(sections, counts)); in updateIndexer()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt380 val sections: MutableList<String> = ArrayList(approximateSectionCount) in getSections() constant
385 sections.add("+") in getSections()
395 DataModel.CitySort.NAME -> sections.add(city.indexString.orEmpty()) in getSections()
398 sections.add(Utils.getGMTHourOffset(timezone, Utils.isPreL)) in getSections()
405 mSectionHeaders = sections.toTypedArray() in getSections()
412 return if (sections!!.isEmpty()) 0 else mSectionHeaderPositions!![sectionIndex] in getPositionForSection()
416 if (sections!!.isEmpty()) { in getSectionForPosition()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java250 List<Integer> subscripts, String[] sections, int[] counts) { in updateBundle() argument
256 sections[filteredContact] = ""; in updateBundle()
260 final String[] newSections = clearEmptyString(sections); in updateBundle()
DGroupMembersFragment.java115 final String sections[] = bundle.getStringArray(Contacts in FilterCursorWrapper() local
118 final ContactsSectionIndexer indexer = (sections == null || counts == null) in FilterCursorWrapper()
119 ? null : new ContactsSectionIndexer(sections, counts); in FilterCursorWrapper()
134 GroupUtil.updateBundle(bundle, indexer, indicesToFilter, sections, counts); in FilterCursorWrapper()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCustomizationPickerFragment.java187 CustomizationSections sections = InjectorProvider.getInjector().getCustomizationSections(); in initSections() local
189 sections.getAllSectionControllers(getActivity(), getViewLifecycleOwner(), in initSections()
/packages/services/Car/tests/SampleCustomInputService/
Dreadme.md22 1. Build and install SampleCustomInputService.apk (see above sections).
/packages/modules/adb/
DREADME.md29 …contained in the same executable and both run on the Host machine. Code sections specific to the H…
Dprotocol.txt45 The following sections describe the six defined message types in
/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/apps/TV/res/raw/
Dthird_party_licenses3050 identifiable sections of that work are not derived from the Library,
3053 sections when you distribute them as separate works. But when you
3054 distribute the same sections as part of a whole which is a work based
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...