Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 83) 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/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java154 CustomizationSection section = mSections.get(mBottomNav.getSelectedItemId()); in onResume() local
155 if (section == null) { in onResume()
159 if (section instanceof WallpaperSection) { in onResume()
160 switchFragment(section); in onResume()
161 section.onVisible(); in onResume()
248 CustomizationSection section = mSections.get(id); in setUpBottomNavView()
249 switchFragment(section); in setUpBottomNavView()
250 section.onVisible(); in setUpBottomNavView()
316 private void switchFragment(CustomizationSection section) { in switchFragment() argument
319 Fragment fragment = section.getFragment(); in switchFragment()
[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.java764 private boolean isRelevantLifetime(PacketSection section) { in isRelevantLifetime() argument
765 return section.type == PacketSection.Type.LIFETIME in isRelevantLifetime()
766 && !shouldIgnoreLifetime(section.option, section.lifetime); in isRelevantLifetime()
869 for (PacketSection section : mPacketSections) { in matches()
870 if (section.type != PacketSection.Type.MATCH) continue; in matches()
871 for (int i = section.start; i < (section.start + section.length); i++) { in matches()
882 for (PacketSection section : mPacketSections) { in minLifetime()
883 if (isRelevantLifetime(section)) { in minLifetime()
884 minLifetime = Math.min(minLifetime, section.lifetime); in minLifetime()
914 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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java290 String section = ""; in readAdapterConfig() local
300 section = line.substring(1, line.length() - 1); in readAdapterConfig()
301 adapterConfig.put(section, new HashMap<>()); in readAdapterConfig()
304 adapterConfig.get(section).put(keyValue[0].trim(), in readAdapterConfig()
/packages/apps/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionarySettings.java287 public int getPositionForSection(int section) { in getPositionForSection() argument
288 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/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.java287 public int getPositionForSection(int section) { in getPositionForSection() argument
288 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRowViewHolder.java34 title = v.findViewById(R.id.section); in WidgetsRowViewHolder()
/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 …]
Dinternals.md3 This section records some design and implementation details.
27 `Value` (actually a typedef of `GenericValue<UTF8<>>`) is the core of DOM API. This section describ…
161 1. User supplied buffer if it is available. (See [User Buffer section in DOM](dom.md))
/packages/services/Car/evs/apps/default/
Dconfig.json.readme15 "car" : { // This section describes the geometry of the car

1234