Searched defs:sectionIndex (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DSectionIndexer.java54 * @param sectionIndex the index of the section within the array of section
59 int getPositionForSection(int sectionIndex); argument
H A DAlphabetIndexer.java140 * @param sectionIndex the section to search for
146 public int getPositionForSection(int sectionIndex) { argument
155 if (sectionIndex <= 0) {
158 if (sectionIndex >= mAlphabetLength) {
159 sectionIndex = mAlphabetLength - 1;
169 char letter = mAlphabet.charAt(sectionIndex);
187 if (sectionIndex > 0) {
189 mAlphabet.charAt(sectionIndex - 1);
H A DFastScroller.java995 int sectionIndex;
1001 sectionIndex = targetSection;
1027 sectionIndex = targetSection;
1030 // When section reaches 0 here, sectionIndex must follow it.
1032 sectionIndex = 0;
1090 sectionIndex = -1;
1093 if (mCurrentSection != sectionIndex) {
1094 mCurrentSection = sectionIndex;
1096 final boolean hasPreview = transitionPreviewLayout(sectionIndex);
1109 * @param sectionIndex Th
1113 transitionPreviewLayout(int sectionIndex) argument
[all...]
/frameworks/ex/common/tests/src/com/android/common/widget/
H A DCompositeCursorAdapterTest.java58 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, argument
/frameworks/av/camera/
H A DVendorTagDescriptor.cpp131 uint32_t tag, sectionIndex; local
161 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&sectionIndex))) != OK) {
166 maxSectionIndex = (maxSectionIndex >= sectionIndex) ? maxSectionIndex : sectionIndex;
170 mTagToSectionMap.add(tag, sectionIndex);
271 uint32_t tag, sectionIndex; local
276 sectionIndex = mTagToSectionMap.valueFor(tag);
281 if ((res = parcel->writeInt32(sectionIndex)) != OK) break;
H A DCameraMetadata.cpp717 size_t sectionIndex = 0; local
735 sectionIndex = i;
749 __FUNCTION__, section, sectionIndex);
760 if (sectionIndex < ANDROID_SECTION_COUNT) {
763 tagBegin = camera_metadata_section_bounds[sectionIndex][0];
764 tagEnd = camera_metadata_section_bounds[sectionIndex][1];
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp1785 ssize_t sectionIndex = mPSISections.indexOfKey(PID); local
1787 if (sectionIndex >= 0) {
1788 sp<PSISection> section = mPSISections.valueAt(sectionIndex);

Completed in 218 milliseconds