Searched refs:sectionIndex (Results 1 – 2 of 2) sorted by relevance
146 public int getPositionForSection(int sectionIndex) { in getPositionForSection() argument155 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()
301 int sectionIndex; in scrollTo() local309 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()