Searched refs:getPositionForSection (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DSectionIndexer.java59 int getPositionForSection(int sectionIndex); method in interface:SectionIndexer
H A DAlphabetIndexer.java31 * cursor changes. {@link #getPositionForSection} method does the binary search for the starting
146 public int getPositionForSection(int sectionIndex) { method in class:AlphabetIndexer
H A DFastScroller.java899 int targetIndex = mSectionIndexer.getPositionForSection(targetSection);
915 nextIndex = mSectionIndexer.getPositionForSection(targetSection + 1);
923 prevIndex = mSectionIndexer.getPositionForSection(targetSection);
930 // Assuming mSectionIndexer.getPositionForSection(0) == 0.
944 mSectionIndexer.getPositionForSection(nextNextSection) == nextIndex) {
1174 final int sectionPos = mSectionIndexer.getPositionForSection(section);
1180 nextSectionPos = mSectionIndexer.getPositionForSection(section + 1);

Completed in 68 milliseconds