Searched defs:section (Results 1 - 8 of 8) sorted by relevance

/packages/experimental/BugReportSender/src/com/android/bugreportsender/
H A DBugReportParser.java16 private static final int MAX_LINES = 1000; // just in case we miss the end of the section.
21 public static String extractSystemLogs(InputStream in, String section) throws IOException { argument
22 final String sectionWithHeader = SECTION_HEADER + " " + section;
28 // read file contents. loop until we get to the appropriate section header.
29 // once we reach that header, accumulate all lines until we get to the next section.
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsSectionIndexer.java25 * A section indexer that is configured with precomputed section titles and
51 // TODO process sections/counts based on current locale and/or specific section titles
73 public int getPositionForSection(int section) { argument
74 if (section < 0 || section >= mSections.length) {
78 return mPositions[section];
89 * Consider this example: section positions are 0, 3, 5; the supplied
90 * position is 4. The section corresponding to position 4 starts at
106 // Since the section indexe
[all...]
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogQueryHandler.java68 * section.
114 /** Creates a cursor that contains a single row and maps the section to the given value. */
115 private Cursor createHeaderCursorFor(int section) { argument
119 // plus the section value.
122 section
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
H A DCallLogGroupBuilderTest.java257 /** Adds a set of calls with the given types, all from the same number, in the old section. */
264 /** Adds a call with the given number and type to the old section of the call log. */
269 /** Adds a call with the given number and type to the new section of the call log. */
275 private void addCallLogEntry(String number, int type, int section) { argument
276 if (section != CallLogQuery.SECTION_NEW_ITEM
277 && section != CallLogQuery.SECTION_OLD_ITEM) {
278 throw new IllegalArgumentException("not an item section: " + section);
285 values[CallLogQuery.SECTION] = section;
289 /** Adds the old section heade
300 addCallLogHeader(int section) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DUserDictionarySettings.java345 public int getPositionForSection(int section) { argument
346 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
/packages/apps/Music/src/com/android/music/
H A DAlbumBrowserActivity.java661 public int getPositionForSection(int section) { argument
662 return mIndexer.getPositionForSection(section);
H A DMusicPicker.java349 public int getPositionForSection(int section) { argument
352 // No cursor, the section doesn't exist so just return 0
356 return mIndexer.getPositionForSection(section);
H A DTrackBrowserActivity.java1568 public int getPositionForSection(int section) { argument
1570 return mIndexer.getPositionForSection(section);

Completed in 193 milliseconds