Searched refs:sectionIndex (Results 1 – 7 of 7) 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()
59 int getPositionForSection(int sectionIndex); in getPositionForSection() argument
945 int sectionIndex; in scrollTo() local951 sectionIndex = targetSection; in scrollTo()977 sectionIndex = targetSection; in scrollTo()982 sectionIndex = 0; in scrollTo()1040 sectionIndex = -1; in scrollTo()1043 if (mCurrentSection != sectionIndex) { in scrollTo()1044 mCurrentSection = sectionIndex; in scrollTo()1046 final boolean hasPreview = transitionPreviewLayout(sectionIndex); in scrollTo()1063 private boolean transitionPreviewLayout(int sectionIndex) { in transitionPreviewLayout() argument1066 if (sections != null && sectionIndex >= 0 && sectionIndex < sections.length) { in transitionPreviewLayout()[all …]
162 uint32_t tag, sectionIndex; in createFromParcel() local192 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(§ionIndex))) != OK) { in createFromParcel()197 maxSectionIndex = (maxSectionIndex >= sectionIndex) ? maxSectionIndex : sectionIndex; in createFromParcel()201 desc->mTagToSectionMap.add(tag, sectionIndex); in createFromParcel()303 uint32_t tag, sectionIndex; in writeToParcel() local308 sectionIndex = mTagToSectionMap.valueFor(tag); in writeToParcel()313 if ((res = parcel->writeInt32(sectionIndex)) != OK) break; in writeToParcel()
647 size_t sectionIndex = 0; in CameraMetadata_getTagFromKey() local664 sectionIndex = i; in CameraMetadata_getTagFromKey()680 __FUNCTION__, section, sectionIndex); in CameraMetadata_getTagFromKey()693 if (sectionIndex < ANDROID_SECTION_COUNT) { in CameraMetadata_getTagFromKey()696 tagBegin = camera_metadata_section_bounds[sectionIndex][0]; in CameraMetadata_getTagFromKey()697 tagEnd = camera_metadata_section_bounds[sectionIndex][1]; in CameraMetadata_getTagFromKey()
58 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, in newView() argument
1094 ssize_t sectionIndex = mPSISections.indexOfKey(PID); in parsePID() local1096 if (sectionIndex >= 0) { in parsePID()1097 sp<PSISection> section = mPSISections.valueAt(sectionIndex); in parsePID()