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

1 2

  /frameworks/base/core/java/android/widget/
SectionIndexer.java 59 int getPositionForSection(int sectionIndex);
AlphabetIndexer.java 31 * cursor changes. {@link #getPositionForSection} method does the binary search for the starting
146 public int getPositionForSection(int sectionIndex) {
FastScroller.java     [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
AlphabetIndexerTest.java 57 // test getPositionForSection
60 assertEquals(INDEX_OF_ARGENTINA, indexer.getPositionForSection(index));
64 assertEquals(INDEX_OF_CHINA, indexer.getPositionForSection(index));
68 assertEquals(INDEX_OF_UNITED_STATES, indexer.getPositionForSection(index));
72 assertEquals(COUNTRIES_LIST.length, indexer.getPositionForSection(index));
85 // test getPositionForSection in Name Cursor
88 assertEquals(INDEX_OF_BERGKAMP, indexer.getPositionForSection(index));
92 assertEquals(INDEX_OF_MESSI, indexer.getPositionForSection(index));
96 assertEquals(INDEX_OF_STEVEN, indexer.getPositionForSection(index));
100 assertEquals(NAMES_LIST.length, indexer.getPositionForSection(index))
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactListAdapter.java 53 if (mSectionIndexer.getPositionForSection(section) == position) {
78 public int getPositionForSection(final int sectionIndex) {
79 return mSectionIndexer.getPositionForSection(sectionIndex);
ContactSectionIndexer.java 50 public int getPositionForSection(final int sectionIndex) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
IndexerListAdapter.java 109 public int getPositionForSection(int sectionIndex) {
114 return mIndexer.getPositionForSection(sectionIndex);
190 int nextSectionPosition = partitionStart + getPositionForSection(section + 1);
210 if (section != -1 && getPositionForSection(section) == position) {
218 mPlacementCache.lastInSection = (getPositionForSection(section + 1) - 1 == position);
ContactsSectionIndexer.java 73 public int getPositionForSection(int section) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
MtpAdapter.java 121 if (position == getPositionForSection(getSectionForPosition(position))) {
164 public int getPositionForSection(int section) {
  /packages/apps/Settings/src/com/android/settings/
UserDictionarySettings.java 267 public int getPositionForSection(int section) {
268 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionarySettings.java 337 public int getPositionForSection(final int section) {
338 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ApiBrowser.java 330 public int getPositionForSection(int section) {
331 return mIndexer.getPositionForSection(section);
  /packages/apps/Contacts/src/com/android/contacts/list/
EmailAddressListAdapter.java 159 if (getPositionForSection(section) == position) {
PostalAddressListAdapter.java 150 if (getPositionForSection(section) == position) {
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactsListFragment.java     [all...]
  /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...]
  /packages/apps/DeskClock/src/com/android/deskclock/worldclock/
CitySelectionActivity.java 417 public int getPositionForSection(int sectionIndex) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/
IngestActivity.java 146 int nextSectionStart = mAdapter.getPositionForSection(
  /packages/apps/Settings/src/com/android/settings/applications/
ManageApplications.java     [all...]
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 

Completed in 1214 milliseconds

1 2