Searched refs:sectionCount (Results 1 – 2 of 2) sorted by relevance
209 size_t sectionCount = 0; in createFromParcel() local211 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(§ionCount))) != 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()
944 final int sectionCount = sections == null ? 0 : sections.length; in scrollTo() local946 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() local1255 if (section < sectionCount - 1) { in getPosFromItemCount()1257 if (section + 1 < sectionCount) { in getPosFromItemCount()[all …]