Home
last modified time | relevance | path

Searched refs:sectionIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DAlphabetIndexer.java146 public int getPositionForSection(int sectionIndex) { in getPositionForSection() argument
155 if (sectionIndex <= 0) { in getPositionForSection()
158 if (sectionIndex >= mAlphabetLength) { in getPositionForSection()
159 sectionIndex = mAlphabetLength - 1; in getPositionForSection()
169 char letter = mAlphabet.charAt(sectionIndex); in getPositionForSection()
187 if (sectionIndex > 0) { in getPositionForSection()
189 mAlphabet.charAt(sectionIndex - 1); in getPositionForSection()
DFastScroller.java301 int sectionIndex; in scrollTo() local
309 sectionIndex = section; in scrollTo()
334 sectionIndex = section; in scrollTo()
339 sectionIndex = 0; in scrollTo()
389 sectionIndex = -1; in scrollTo()
392 if (sectionIndex >= 0) { in scrollTo()
393 String text = mSectionText = sections[sectionIndex].toString(); in scrollTo()
395 sectionIndex < sections.length; in scrollTo()