Searched refs:sectionIndex (Results 1 – 8 of 8) 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
1008 int sectionIndex; in scrollTo() local1014 sectionIndex = targetSection; in scrollTo()1040 sectionIndex = targetSection; in scrollTo()1045 sectionIndex = 0; in scrollTo()1103 sectionIndex = -1; in scrollTo()1106 if (mCurrentSection != sectionIndex) { in scrollTo()1107 mCurrentSection = sectionIndex; in scrollTo()1109 final boolean hasPreview = transitionPreviewLayout(sectionIndex); in scrollTo()1126 private boolean transitionPreviewLayout(int sectionIndex) { in transitionPreviewLayout() argument1129 if (sections != null && sectionIndex >= 0 && sectionIndex < sections.length) { in transitionPreviewLayout()[all …]
131 uint32_t tag, sectionIndex; in readFromParcel() local161 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(§ionIndex))) != OK) { in readFromParcel()166 maxSectionIndex = (maxSectionIndex >= sectionIndex) ? maxSectionIndex : sectionIndex; in readFromParcel()170 mTagToSectionMap.add(tag, sectionIndex); in readFromParcel()271 uint32_t tag, sectionIndex; in writeToParcel() local276 sectionIndex = mTagToSectionMap.valueFor(tag); in writeToParcel()281 if ((res = parcel->writeInt32(sectionIndex)) != OK) break; in writeToParcel()
789 size_t sectionIndex = 0; in getTagFromName() local807 sectionIndex = i; in getTagFromName()821 __FUNCTION__, section, sectionIndex); in getTagFromName()832 if (sectionIndex < ANDROID_SECTION_COUNT) { in getTagFromName()835 tagBegin = camera_metadata_section_bounds[sectionIndex][0]; in getTagFromName()836 tagEnd = camera_metadata_section_bounds[sectionIndex][1]; in getTagFromName()
86 for (int sectionIndex = 0; sectionIndex < sectionCount; sectionIndex++) { in make_metadata() local87 const IncidentMetadata::SectionStats& sectionStats = full.sections(sectionIndex); in make_metadata()
58 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, in newView() argument
2039 ssize_t sectionIndex = mPSISections.indexOfKey(PID); in parsePID() local2041 if (sectionIndex >= 0) { in parsePID()2042 sp<PSISection> section = mPSISections.valueAt(sectionIndex); in parsePID()