Searched defs:section (Results 1 - 11 of 11) 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/ContactsCommon/src/com/android/contacts/common/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/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/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogGroupBuilderTest.java244 /** Adds a set of calls with the given types, all from the same number, in the old section. */
261 private void addCallLogHeader(int section) { argument
/packages/apps/Settings/src/com/android/settings/
H A DUserDictionarySettings.java272 public int getPositionForSection(int section) { argument
273 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionarySettings.java327 public int getPositionForSection(int section) { argument
328 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCitiesActivity.java183 // If the search query is empty, add section headers.
187 // different than the previous city's letter, insert a section header.
199 // the previous city's gmt offset, insert a section header.
415 public int getPositionForSection(int section) { argument
416 return !isEmpty(mSectionPositions) ? mSectionPositions[section] : 0;
/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.java1570 public int getPositionForSection(int section) { argument
1572 return mIndexer.getPositionForSection(section);
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationAppList.java278 // it's a section row
280 tv.setText(r.section);
329 final String section = mSections.get(sectionIndex);
333 if (r.section.equals(section)) {
343 return mSections.indexOf(row.section);
348 public String section; field in class:NotificationAppList.Row
360 public boolean first; // first app in section
478 String section = null;
480 r.section
[all...]

Completed in 305 milliseconds