Home
last modified time | relevance | path

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

123

/packages/apps/Contacts/src/com/android/contacts/widget/
DIndexerListAdapter.java174 int section = -1; in configurePinnedHeaders() local
179 section = getSectionForPosition(offset); in configurePinnedHeaders()
183 if (section == -1) { in configurePinnedHeaders()
186 setPinnedSectionTitle(mHeader, (String)mIndexer.getSections()[section]); in configurePinnedHeaders()
187 if (section == 0) { in configurePinnedHeaders()
199 int nextSectionPosition = partitionStart + getPositionForSection(section + 1); in configurePinnedHeaders()
218 int section = getSectionForPosition(position); in getItemPlacementInSection() local
219 if (section != -1 && getPositionForSection(section) == position) { in getItemPlacementInSection()
221 mPlacementCache.sectionHeader = (String)getSections()[section]; in getItemPlacementInSection()
227 mPlacementCache.lastInSection = (getPositionForSection(section + 1) - 1 == position); in getItemPlacementInSection()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactEntryAdapter.java110 ArrayList<E> section = mSections.get(i); in setSections() local
111 int sectionSize = section.size(); in setSections()
113 E e = section.get(j); in setSections()
150 ArrayList<E> section = mSections.get(i); in isEnabled() local
151 int sectionSize = section.size(); in isEnabled()
183 ArrayList<T> section = sections.get(i); in getEntry() local
184 int sectionSize = section.size(); in getEntry()
189 if (position < section.size()) { in getEntry()
190 return section.get(position); in getEntry()
192 position -= section.size(); in getEntry()
[all …]
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallLogQuery.java93 int section = cursor.getInt(CallLogQuery.SECTION); in isSectionHeader() local
94 return section == CallLogQuery.SECTION_NEW_HEADER in isSectionHeader()
95 || section == CallLogQuery.SECTION_OLD_HEADER; in isSectionHeader()
99 int section = cursor.getInt(CallLogQuery.SECTION); in isNewSection() local
100 return section == CallLogQuery.SECTION_NEW_ITEM in isNewSection()
101 || section == CallLogQuery.SECTION_NEW_HEADER; in isNewSection()
DCallLogAdapter.java503 final int section = c.getInt(CallLogQuery.SECTION); in bindView() local
506 if (section == CallLogQuery.SECTION_NEW_HEADER in bindView()
507 || section == CallLogQuery.SECTION_OLD_HEADER) { in bindView()
512 section == CallLogQuery.SECTION_NEW_HEADER in bindView()
620 final int section = c.getInt(CallLogQuery.SECTION); in isLastOfSection() local
624 return section != nextSection; in isLastOfSection()
DCallLogQueryHandler.java141 private Cursor createHeaderCursorFor(int section) { in createHeaderCursorFor() argument
148 section in createHeaderCursorFor()
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
DBugReportPreviewActivity.java40 String section = intent.getStringExtra("section"); in onCreate() local
41 if (section == null || section.length() == 0) { in onCreate()
42 section = "SYSTEM LOG"; in onCreate()
49 String text = BugReportParser.extractSystemLogs(in, section); in onCreate()
DBugReportParser.java21 public static String extractSystemLogs(InputStream in, String section) throws IOException { in extractSystemLogs() argument
22 final String sectionWithHeader = SECTION_HEADER + " " + section; in extractSystemLogs()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogGroupBuilderTest.java275 private void addCallLogEntry(String number, int type, int section) { in addCallLogEntry() argument
276 if (section != CallLogQuery.SECTION_NEW_ITEM in addCallLogEntry()
277 && section != CallLogQuery.SECTION_OLD_ITEM) { in addCallLogEntry()
278 throw new IllegalArgumentException("not an item section: " + section); in addCallLogEntry()
285 values[CallLogQuery.SECTION] = section; in addCallLogEntry()
300 private void addCallLogHeader(int section) { in addCallLogHeader() argument
301 if (section != CallLogQuery.SECTION_NEW_HEADER in addCallLogHeader()
302 && section != CallLogQuery.SECTION_OLD_HEADER) { in addCallLogHeader()
303 throw new IllegalArgumentException("not a header section: " + section); in addCallLogHeader()
308 values[CallLogQuery.SECTION] = section; in addCallLogHeader()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsSectionIndexer.java73 public int getPositionForSection(int section) { in getPositionForSection() argument
74 if (section < 0 || section >= mSections.length) { in getPositionForSection()
78 return mPositions[section]; in getPositionForSection()
DPostalAddressListAdapter.java139 final int section = getSectionForPosition(position); in bindSectionHeaderAndDivider() local
140 if (getPositionForSection(section) == position) { in bindSectionHeaderAndDivider()
141 String title = (String)getSections()[section]; in bindSectionHeaderAndDivider()
149 if (getPositionForSection(section + 1) - 1 == position) { in bindSectionHeaderAndDivider()
DEmailAddressListAdapter.java149 final int section = getSectionForPosition(position); in bindSectionHeaderAndDivider() local
150 if (getPositionForSection(section) == position) { in bindSectionHeaderAndDivider()
151 String title = (String)getSections()[section]; in bindSectionHeaderAndDivider()
159 if (getPositionForSection(section + 1) - 1 == position) { in bindSectionHeaderAndDivider()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java253 final KindSectionView section = (KindSectionView) mInflater.inflate( in setState() local
255 section.setTitleVisible(false); in setState()
256 section.setEnabled(isEnabled()); in setState()
257 section.setState(kind, state, false, vig); in setState()
260 if (!section.isEmpty()) { in setState()
261 mFields.addView(section); in setState()
272 organizationSectionViewContainer.addView(section); in setState()
290 final KindSectionView section = (KindSectionView)mInflater.inflate( in setState() local
292 section.setEnabled(isEnabled()); in setState()
293 section.setState(kind, state, false, vig); in setState()
[all …]
/packages/apps/Settings/src/com/android/settings/
DUserDictionarySettings.java276 public int getPositionForSection(int section) { in getPositionForSection() argument
277 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitiesActivity.java186 public int getPositionForSection(int section) { in getPositionForSection() argument
187 return (mSectionPositions != null) ? (Integer) mSectionPositions[section] : 0; in getPositionForSection()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java349 public int getPositionForSection(int section) { in getPositionForSection() argument
356 return mIndexer.getPositionForSection(section); in getPositionForSection()
DAlbumBrowserActivity.java661 public int getPositionForSection(int section) { in getPositionForSection() argument
662 return mIndexer.getPositionForSection(section); in getPositionForSection()
DTrackBrowserActivity.java1569 public int getPositionForSection(int section) {
1571 return mIndexer.getPositionForSection(section);
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile102 # Doxygen will generate a detailed section even if there is only a brief
270 # subgroup of that type (e.g. under the Public Functions section). Set it to
330 # methods, which are defined in the implementation section but not in
347 # various overviews, but no documentation section is generated.
962 # filter section matches.
1164 # the generated man pages (default is the subroutine's section .3)
1395 # toolkit from AT&T and Lucent Bell Labs. The other options in this section
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile102 # Doxygen will generate a detailed section even if there is only a brief
270 # subgroup of that type (e.g. under the Public Functions section). Set it to
330 # methods, which are defined in the implementation section but not in
347 # various overviews, but no documentation section is generated.
962 # filter section matches.
1164 # the generated man pages (default is the subroutine's section .3)
1395 # toolkit from AT&T and Lucent Bell Labs. The other options in this section
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile102 # Doxygen will generate a detailed section even if there is only a brief
270 # subgroup of that type (e.g. under the Public Functions section). Set it to
330 # methods, which are defined in the implementation section but not in
347 # various overviews, but no documentation section is generated.
962 # filter section matches.
1164 # the generated man pages (default is the subroutine's section .3)
1395 # toolkit from AT&T and Lucent Bell Labs. The other options in this section
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile102 # Doxygen will generate a detailed section even if there is only a brief
270 # subgroup of that type (e.g. under the Public Functions section). Set it to
330 # methods, which are defined in the implementation section but not in
347 # various overviews, but no documentation section is generated.
962 # filter section matches.
1164 # the generated man pages (default is the subroutine's section .3)
1395 # toolkit from AT&T and Lucent Bell Labs. The other options in this section
/packages/apps/Calendar/
DNOTICE89 (except as stated in this section) patent license to make, have made,
/packages/wallpapers/LivePicker/
DNOTICE89 (except as stated in this section) patent license to make, have made,
/packages/providers/ApplicationsProvider/
DNOTICE89 (except as stated in this section) patent license to make, have made,
/packages/apps/Settings/
DNOTICE89 (except as stated in this section) patent license to make, have made,

123