Home
last modified time | relevance | path

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

/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
H A DAppsDividerView.java134 int sectionCount = 0; in updateDividerType() local
139 sectionCount++; in updateDividerType()
143 if (mShowAllAppsLabel && sectionCount > 0) { in updateDividerType()
145 } else if (sectionCount == 1) { in updateDividerType()
/aosp12/frameworks/base/libs/incident/src/
H A DIncidentReportArgs.cpp121 int32_t sectionCount; in readFromParcel() local
122 err = in->readInt32(&sectionCount); in readFromParcel()
126 for (int i=0; i<sectionCount; i++) { in readFromParcel()
/aosp12/frameworks/base/core/java/android/widget/
H A DFastScroller.java1007 final int sectionCount = sections == null ? 0 : sections.length; in scrollTo() local
1009 if (sections != null && sectionCount > 1) { in scrollTo()
1011 (int) (position * sectionCount), 0, sectionCount - 1); in scrollTo()
1028 if (targetSection < sectionCount - 1) { in scrollTo()
1057 while (nextNextSection < sectionCount && in scrollTo()
1067 final float prevPosition = (float) prevSection / sectionCount; in scrollTo()
1068 final float nextPosition = (float) nextSection / sectionCount; in scrollTo()
1303 final int sectionCount = mSections.length; in getPosFromItemCount() local
1305 if (section < sectionCount - 1) { in getPosFromItemCount()
1307 if (section + 1 < sectionCount) { in getPosFromItemCount()
[all …]
/aosp12/frameworks/av/camera/
H A DVendorTagDescriptor.cpp178 size_t sectionCount = 0; in readFromParcel() local
180 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&sectionCount))) != OK) { in readFromParcel()
184 if (sectionCount < (maxSectionIndex + 1)) { in readFromParcel()
186 __FUNCTION__, sectionCount, (maxSectionIndex + 1)); in readFromParcel()
189 LOG_ALWAYS_FATAL_IF(mSections.setCapacity(sectionCount) <= 0, in readFromParcel()
191 for (size_t i = 0; i < sectionCount; ++i) { in readFromParcel()
/aosp12/frameworks/base/cmds/incidentd/src/
H A DWorkDirectory.cpp133 const size_t sectionCount = report.section_size(); in has_section() local
134 for (int i = 0; i < sectionCount; i++) { in has_section()
855 const int sectionCount = report.section_size(); in get_args_from_report() local
856 for (int i = 0; i < sectionCount; i++) { in get_args_from_report()
H A DReporter.cpp89 size_t sectionCount = full.sections_size(); in make_metadata() local
90 for (int sectionIndex = 0; sectionIndex < sectionCount; sectionIndex++) { in make_metadata()
/aosp12/frameworks/base/core/java/android/os/
H A DIncidentReportArgs.java193 public int sectionCount() { in sectionCount() method in IncidentReportArgs
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt8415 method public int sectionCount();