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

/frameworks/base/core/java/android/widget/
H A DSectionIndexer.java42 int getPositionForSection(int section); 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.java535 int index = mSectionIndexer.getPositionForSection(section);
548 nextIndex = mSectionIndexer.getPositionForSection(section + 1);
556 prevIndex = mSectionIndexer.getPositionForSection(section);
563 // Assuming mSectionIndexer.getPositionForSection(0) == 0.
576 mSectionIndexer.getPositionForSection(nextNextSection) == nextIndex) {
648 final int sectionPos = mSectionIndexer.getPositionForSection(section);
649 final int nextSectionPos = mSectionIndexer.getPositionForSection(section + 1);

Completed in 61 milliseconds