Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 100) sorted by relevance

1234

/packages/apps/Camera2/src/com/android/camera/util/
DXmpUtil.java111 for (Section section : sections) { in extractXMPMeta()
112 if (hasXMPHeader(section.data)) { in extractXMPMeta()
113 int end = getXMPContentEnd(section.data); in extractXMPMeta()
116 section.data, XMP_HEADER_SIZE, buffer, 0, buffer.length); in extractXMPMeta()
220 for (Section section : sections) { in writeJpegFile()
222 os.write(section.marker); in writeJpegFile()
223 if (section.length > 0) { in writeJpegFile()
225 int lh = section.length >> 8; in writeJpegFile()
226 int ll = section.length & 0xff; in writeJpegFile()
230 os.write(section.data); in writeJpegFile()
[all …]
/packages/modules/NeuralNetworks/tools/api/
DREADME.md59 Copy the *section* with the specified *name* from the specification file to the
60 output file. The section is defined by a `%section` directive in the
86 * A conditional region can enclose a section region.
87 * A section region can enclose a conditional region.
91 * A conditional region can be enclosed by a section region.
92 * A section region can be enclosed by a conditional region.
110 effect, and non-directive lines are added to the enclosing section region, if
115 #### section region
117 A *section region* is a sequence of lines immediately preceded by the `%section
118 *name*` directive and immediately followed by the `%/section` directive. Every
[all …]
Dgenerate_api.py50 self.section = None # name of current %section
59 assert self.section is None, "\"%section " + self.section + \
164 assert not self.section is None, directive + " outside %section at " + self.context()
169 …assert key != self.section, "Cannot insert section \"" + key + "\" into itself on " + self.context…
173 self.sections[self.section].extend(
181 assert self.section is None, "Nested %section is forbidden at " + self.context()
184 self.section = ""
189 self.section = key
196 assert not self.section is None, "%/section with no matching %section on " + self.context()
199 self.section = None
[all …]
Dtypes.spec25 %section AVAIL1
28 %/section
29 %section AVAIL1Short
32 %/section
33 %section AVAIL2
36 %/section
37 %section AVAIL3
40 %/section
41 %section AVAIL4
44 %/section
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DIndexerListAdapter.java164 int section = -1; in configurePinnedHeaders() local
169 section = getSectionForPosition(offset); in configurePinnedHeaders()
173 if (section == -1) { in configurePinnedHeaders()
181 setPinnedSectionTitle(mHeader, (String)mIndexer.getSections()[section]); in configurePinnedHeaders()
190 int nextSectionPosition = partitionStart + getPositionForSection(section + 1); in configurePinnedHeaders()
229 int section = getSectionForPosition(position); in getItemPlacementInSection() local
230 if (section != -1 && getPositionForSection(section) == position) { in getItemPlacementInSection()
232 mPlacementCache.sectionHeader = (String)getSections()[section]; in getItemPlacementInSection()
238 mPlacementCache.lastInSection = (getPositionForSection(section + 1) - 1 == position); in getItemPlacementInSection()
DContactsSectionIndexer.java79 public int getPositionForSection(int section) { in getPositionForSection() argument
80 if (section < 0 || section >= mSections.length) { in getPositionForSection()
84 return mPositions[section]; in getPositionForSection()
DPostalAddressListAdapter.java147 final int section = getSectionForPosition(position); in bindSectionHeaderAndDivider() local
148 if (getPositionForSection(section) == position) { in bindSectionHeaderAndDivider()
149 String title = (String)getSections()[section]; in bindSectionHeaderAndDivider()
DEmailAddressListAdapter.java156 final int section = getSectionForPosition(position); in bindSectionHeaderAndDivider() local
157 if (getPositionForSection(section) == position) { in bindSectionHeaderAndDivider()
158 String title = (String)getSections()[section]; in bindSectionHeaderAndDivider()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java765 private boolean isRelevantLifetime(PacketSection section) { in isRelevantLifetime() argument
766 return section.type == PacketSection.Type.LIFETIME in isRelevantLifetime()
767 && !shouldIgnoreLifetime(section.option, section.lifetime); in isRelevantLifetime()
870 for (PacketSection section : mPacketSections) { in matches()
871 if (section.type != PacketSection.Type.MATCH) continue; in matches()
872 for (int i = section.start; i < (section.start + section.length); i++) { in matches()
883 for (PacketSection section : mPacketSections) { in minLifetime()
884 if (isRelevantLifetime(section)) { in minLifetime()
885 minLifetime = Math.min(minLifetime, section.lifetime); in minLifetime()
915 for (PacketSection section : mPacketSections) { in generateFilterLocked()
[all …]
/packages/modules/DnsResolver/
Dres_debug.cpp142 static void do_section(ns_msg* handle, ns_sect section) { in do_section() argument
152 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section()
159 StringAppendF(&s, ";; %s SECTION:\n", p_section(section, opcode)); in do_section()
161 if (section == ns_s_qd) in do_section()
164 else if (section == ns_s_ar && ns_rr_type(rr) == ns_t_opt) { in do_section()
446 const char* p_section(int section, int opcode) { in p_section() argument
457 return (sym_ntos(symbols, section, (int*) 0)); in p_section()
Dres_debug.h27 const char* p_section(int section, int opcode);
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrHistoryRowAdapter.java90 ArrayList<ScheduledRecording> section = new ArrayList<>(); in start() local
92 section.add(recordingList.get(i++)); in start()
94 if (!section.isEmpty()) { in start()
101 section.size(), in start()
102 section.size()), in start()
103 section.size(), in start()
106 for (ScheduledRecording recording : section) { in start()
DScheduleRowAdapter.java97 ArrayList<ScheduledRecording> section = new ArrayList<>(); in start() local
99 section.add(recordingList.get(i++)); in start()
101 if (!section.isEmpty()) { in start()
108 section.size(), in start()
109 section.size()), in start()
110 section.size(), in start()
113 for (ScheduledRecording recording : section) { in start()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpAdapter.java164 public int getPositionForSection(int section) { in getPositionForSection() argument
169 if (section >= numSections) { in getPositionForSection()
170 section = numSections - 1; in getPositionForSection()
172 return mModel.getFirstPositionForBucketNumber(section, mSortOrder); in getPositionForSection()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactListAdapter.java51 final int section = mSectionIndexer.getSectionForPosition(position); in bindView() local
53 if (mSectionIndexer.getPositionForSection(section) == position) { in bindView()
54 alphabetHeader = (String) mSectionIndexer.getSections()[section]; in bindView()
DContactSectionIndexer.java144 final String section = TextUtils.isEmpty(sortKey) ? BLANK_HEADER_STRING : in buildIndexerFromDisplayNames() local
149 if (!TextUtils.equals(currentSection, section)) { in buildIndexerFromDisplayNames()
150 sections.add(section); in buildIndexerFromDisplayNames()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DReportDetails.java121 final RestrictedImagesDumpProto section = incident.getRestrictedImagesSection(); in parseImages() local
122 final int setsCount = section.getSetsCount(); in parseImages()
124 final RestrictedImageSetProto set = section.getSets(i); in parseImages()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java326 String section = ""; in readAdapterConfig() local
336 section = line.substring(1, line.length() - 1); in readAdapterConfig()
337 adapterConfig.put(section, new HashMap<>()); in readAdapterConfig()
340 adapterConfig.get(section).put(keyValue[0].trim(), in readAdapterConfig()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettings.java337 public int getPositionForSection(final int section) { in getPositionForSection() argument
338 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettings.java288 public int getPositionForSection(int section) { in getPositionForSection() argument
289 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/packages/modules/NeuralNetworks/extensions/
DREADME.md11 For more information, see the last section.
101 extension support. This section provides an overview of the C API.
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DREADME.md50 driver. In the section `“TODO: INSERT CUSTOM DEVICE HERE”`, replace
70 device image without any modifications. The next section
158 section below.
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java687 PsipSection section = PsipSection.create(data); in parseSection() local
688 if (section == null) { in parseSection()
693 if (!section.getCurrentNextIndicator()) { in parseSection()
697 Integer oldVersionNumber = mSectionVersionMap.get(section); in parseSection()
736 mSectionVersionMap.put(section, versionNumber); in parseSection()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md76 For a detail example, please check the example in [DOM's Encoding](doc/stream.md) section.
80 …ores a code unit, not a character (code point). As mentioned in previous section, a code point may…
DDoxyfile.in134 # doxygen will generate a detailed section even if there is only a brief
358 # type (e.g. under the Public Functions section). Set it to NO to prevent
367 # instead of on a separate page (for HTML and Man pages) or section (for LaTeX
381 # Man pages) or section (for LaTeX and RTF).
451 # which are defined in the implementation section but not in the interface are
470 # section is generated. This option has no effect if EXTRACT_ALL is enabled.
1091 # and then modify the file new_header.html. See also section "Doxygen usage"
1105 # section "Doxygen usage" for information on how to generate the default footer
1114 # See also section "Doxygen usage" for information on how to generate the style
1358 # project's filter section matches. Qt Help Project / Filter Attributes (see:
[all …]

1234