/aosp12/frameworks/base/core/java/android/widget/ |
H A D | AlphabetIndexer.java | 146 public int getPositionForSection(int sectionIndex) { in getPositionForSection() argument 155 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()
|
H A D | FastScroller.java | 1008 int sectionIndex; in scrollTo() local 1014 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() argument 1129 if (sections != null && sectionIndex >= 0 && sectionIndex < sections.length) { in transitionPreviewLayout() [all …]
|
H A D | SectionIndexer.java | 59 int getPositionForSection(int sectionIndex); in getPositionForSection() argument
|
/aosp12/hardware/interfaces/camera/common/1.0/default/ |
H A D | CameraMetadata.cpp | 482 size_t sectionIndex = 0; in getTagFromName() local 500 sectionIndex = i; in getTagFromName() 512 __FUNCTION__, section, sectionIndex); in getTagFromName() 523 if (sectionIndex < ANDROID_SECTION_COUNT) { in getTagFromName() 526 tagBegin = camera_metadata_section_bounds[sectionIndex][0]; in getTagFromName() 527 tagEnd = camera_metadata_section_bounds[sectionIndex][1]; in getTagFromName()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
H A D | ContactListAdapter.java | 78 public int getPositionForSection(final int sectionIndex) { in getPositionForSection() argument 79 return mSectionIndexer.getPositionForSection(sectionIndex); in getPositionForSection()
|
H A D | ContactSectionIndexer.java | 50 public int getPositionForSection(final int sectionIndex) { in getPositionForSection() argument 56 Math.max(Math.min(sectionIndex, mSectionStartingPositions.size() - 1), 0)); in getPositionForSection()
|
/aosp12/frameworks/av/camera/ |
H A D | VendorTagDescriptor.cpp | 131 uint32_t tag, sectionIndex; in readFromParcel() local 161 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() local 276 sectionIndex = mTagToSectionMap.valueFor(tag); in writeToParcel() 281 if ((res = parcel->writeInt32(sectionIndex)) != OK) break; in writeToParcel()
|
H A D | CameraMetadata.cpp | 806 size_t sectionIndex = 0; in getTagFromName() local 824 sectionIndex = i; in getTagFromName() 838 __FUNCTION__, section, sectionIndex); in getTagFromName() 849 if (sectionIndex < ANDROID_SECTION_COUNT) { in getTagFromName() 852 tagBegin = camera_metadata_section_bounds[sectionIndex][0]; in getTagFromName() 853 tagEnd = camera_metadata_section_bounds[sectionIndex][1]; in getTagFromName()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | IndexerListAdapter.java | 109 public int getPositionForSection(int sectionIndex) { in getPositionForSection() argument 114 return mIndexer.getPositionForSection(sectionIndex); in getPositionForSection()
|
/aosp12/frameworks/base/cmds/incidentd/src/ |
H A D | Reporter.cpp | 90 for (int sectionIndex = 0; sectionIndex < sectionCount; sectionIndex++) { in make_metadata() local 91 const IncidentMetadata::SectionStats& sectionStats = full.sections(sectionIndex); in make_metadata()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
H A D | CitySelectionActivity.kt | 411 override fun getPositionForSection(sectionIndex: Int): Int { 412 return if (sections!!.isEmpty()) 0 else mSectionHeaderPositions!![sectionIndex]
|
/aosp12/frameworks/ex/common/tests/src/com/android/common/widget/ |
H A D | CompositeCursorAdapterTest.java | 58 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, in newView() argument
|
/aosp12/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 2039 ssize_t sectionIndex = mPSISections.indexOfKey(PID); in parsePID() local 2041 if (sectionIndex >= 0) { in parsePID() 2042 sp<PSISection> section = mPSISections.valueAt(sectionIndex); in parsePID()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |