Home
last modified time | relevance | path

Searched refs:sectionIndex (Results 1 – 4 of 4) 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.java526 int sectionIndex; in scrollTo() local
534 sectionIndex = section; in scrollTo()
559 sectionIndex = section; in scrollTo()
564 sectionIndex = 0; in scrollTo()
617 sectionIndex = -1; in scrollTo()
620 if (sectionIndex >= 0) { in scrollTo()
621 String text = mSectionText = sections[sectionIndex].toString(); in scrollTo()
623 sectionIndex < sections.length; in scrollTo()
/frameworks/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java58 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, in newView() argument
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp1036 ssize_t sectionIndex = mPSISections.indexOfKey(PID); in parsePID() local
1038 if (sectionIndex >= 0) { in parsePID()
1039 const sp<PSISection> &section = mPSISections.valueAt(sectionIndex); in parsePID()