HomeSort by relevance Sort by last modified time
    Searched refs:getPositionForSection (Results 1 - 15 of 15) sorted by null

  /frameworks/base/core/java/android/widget/
SectionIndexer.java 42 int getPositionForSection(int section);
FastScroller.java 311 int index = mSectionIndexer.getPositionForSection(section);
324 nextIndex = mSectionIndexer.getPositionForSection(section + 1);
332 prevIndex = mSectionIndexer.getPositionForSection(section);
339 // Assuming mSectionIndexer.getPositionForSection(0) == 0.
352 mSectionIndexer.getPositionForSection(nextNextSection) == nextIndex) {
AlphabetIndexer.java 31 * cursor changes. {@link #getPositionForSection} method does the binary search for the starting
146 public int getPositionForSection(int sectionIndex) {
  /cts/tests/tests/widget/src/android/widget/cts/
AlphabetIndexerTest.java 57 method = "getPositionForSection",
92 // test getPositionForSection
95 assertEquals(INDEX_OF_ARGENTINA, indexer.getPositionForSection(index));
99 assertEquals(INDEX_OF_CHINA, indexer.getPositionForSection(index));
103 assertEquals(INDEX_OF_UNITED_STATES, indexer.getPositionForSection(index));
107 assertEquals(COUNTRIES_LIST.length, indexer.getPositionForSection(index));
120 // test getPositionForSection in Name Cursor
123 assertEquals(INDEX_OF_BERGKAMP, indexer.getPositionForSection(index));
127 assertEquals(INDEX_OF_MESSI, indexer.getPositionForSection(index));
131 assertEquals(INDEX_OF_STEVEN, indexer.getPositionForSection(index))
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactsSectionIndexer.java 71 public int getPositionForSection(int section) {
ContactsListActivity.java     [all...]
  /packages/apps/Settings/src/com/android/settings/
UserDictionarySettings.java 274 public int getPositionForSection(int section) {
275 return mIndexer.getPositionForSection(section);
  /packages/apps/Music/src/com/android/music/
MusicPicker.java 349 public int getPositionForSection(int section) {
356 return mIndexer.getPositionForSection(section);
AlbumBrowserActivity.java 661 public int getPositionForSection(int section) {
662 return mIndexer.getPositionForSection(section);
ArtistAlbumBrowserActivity.java     [all...]
TrackBrowserActivity.java     [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 

Completed in 289 milliseconds