Home
last modified time | relevance | path

Searched refs:sectionCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/camera/
DVendorTagDescriptor.cpp209 size_t sectionCount = 0; in createFromParcel() local
211 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&sectionCount))) != OK) { in createFromParcel()
215 if (sectionCount < (maxSectionIndex + 1)) { in createFromParcel()
217 __FUNCTION__, sectionCount, (maxSectionIndex + 1)); in createFromParcel()
220 LOG_ALWAYS_FATAL_IF(desc->mSections.setCapacity(sectionCount) <= 0, in createFromParcel()
222 for (size_t i = 0; i < sectionCount; ++i) { in createFromParcel()
/frameworks/base/core/java/android/widget/
DFastScroller.java944 final int sectionCount = sections == null ? 0 : sections.length; in scrollTo() local
946 if (sections != null && sectionCount > 1) { in scrollTo()
948 (int) (position * sectionCount), 0, sectionCount - 1); in scrollTo()
965 if (targetSection < sectionCount - 1) { in scrollTo()
994 while (nextNextSection < sectionCount && in scrollTo()
1004 final float prevPosition = (float) prevSection / sectionCount; in scrollTo()
1005 final float nextPosition = (float) nextSection / sectionCount; in scrollTo()
1253 final int sectionCount = mSections.length; in getPosFromItemCount() local
1255 if (section < sectionCount - 1) { in getPosFromItemCount()
1257 if (section + 1 < sectionCount) { in getPosFromItemCount()
[all …]