Searched defs:section (Results 1 - 10 of 10) sorted by relevance
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
H A D | BugReportParser.java | 16 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 D | ContactsSectionIndexer.java | 25 * 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 D | MtpAdapter.java | 112 // If the position is the first in its section, then it corresponds to 156 public int getPositionForSection(int section) { argument 161 if (section >= numSections) { 162 section = numSections - 1; 164 return mModel.getFirstPositionForBucketNumber(section, mSortOrder);
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
H A D | CallLogGroupBuilderTest.java | 244 /** 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 D | UserDictionarySettings.java | 273 public int getPositionForSection(int section) { argument 274 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
H A D | UserDictionarySettings.java | 322 public int getPositionForSection(int section) { argument 323 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
H A D | CitiesActivity.java | 175 // If the search query is empty, add section headers. 180 // different than the previous city's letter, insert a section header. 190 // the previous city's gmt offset, insert a section header. 419 public int getPositionForSection(int section) { argument 420 return !isEmpty(mSectionPositions) ? mSectionPositions[section] : 0;
|
/packages/apps/Music/src/com/android/music/ |
H A D | AlbumBrowserActivity.java | 661 public int getPositionForSection(int section) { argument 662 return mIndexer.getPositionForSection(section);
|
H A D | MusicPicker.java | 349 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 D | TrackBrowserActivity.java | 1569 public int getPositionForSection(int section) { argument 1571 return mIndexer.getPositionForSection(section);
|
Completed in 307 milliseconds