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
52 // TODO process sections/counts based on current locale and/or specific section titles
79 public int getPositionForSection(int section) { argument
80 if (section < 0 || section >= mSections.length) {
84 return mPositions[section];
95 * Consider this example: section positions are 0, 3, 5; the supplied
96 * position is 4. The section corresponding to position 4 starts at
112 // Since the section indexe
[all...]
/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DContactsSectionIndexer.java24 * A section indexer that is configured with precomputed section titles and their respective counts.
49 // TODO process sections/counts based on current locale and/or specific section titles
71 public int getPositionForSection(int section) { argument
72 if (section < 0 || section >= mSections.length) {
76 return mPositions[section];
87 * Consider this example: section positions are 0, 3, 5; the supplied
88 * position is 4. The section corresponding to position 4 starts at
104 // Since the section indexe
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpAdapter.java119 // If the position is the first in its section, then it corresponds to
164 public int getPositionForSection(int section) { argument
169 if (section >= numSections) {
170 section = numSections - 1;
172 return mModel.getFirstPositionForBucketNumber(section, mSortOrder);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionarySettings.java286 public int getPositionForSection(int section) { argument
287 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java263 public String section; field in class:NotificationBackend.Row
273 public boolean first; // first app in section
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionarySettings.java337 public int getPositionForSection(final int section) { argument
338 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
/packages/apps/Music/src/com/android/music/
H A DMusicPicker.java342 public int getPositionForSection(int section) { argument
345 // No cursor, the section doesn't exist so just return 0
349 return mIndexer.getPositionForSection(section);

Completed in 138 milliseconds