Home
last modified time | relevance | path

Searched refs:getPositionForSection (Results 1 – 17 of 17) sorted by relevance

/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DIndexerListAdapter.java109 public int getPositionForSection(int sectionIndex) { in getPositionForSection() method in IndexerListAdapter
114 return mIndexer.getPositionForSection(sectionIndex); in getPositionForSection()
190 int nextSectionPosition = partitionStart + getPositionForSection(section + 1); in configurePinnedHeaders()
230 if (section != -1 && getPositionForSection(section) == position) { in getItemPlacementInSection()
238 mPlacementCache.lastInSection = (getPositionForSection(section + 1) - 1 == position); in getItemPlacementInSection()
H A DContactsSectionIndexer.java79 public int getPositionForSection(int section) { in getPositionForSection() method in ContactsSectionIndexer
H A DPostalAddressListAdapter.java148 if (getPositionForSection(section) == position) { in bindSectionHeaderAndDivider()
H A DEmailAddressListAdapter.java157 if (getPositionForSection(section) == position) { in bindSectionHeaderAndDivider()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactListAdapter.java53 if (mSectionIndexer.getPositionForSection(section) == position) { in bindView()
78 public int getPositionForSection(final int sectionIndex) { in getPositionForSection() method in ContactListAdapter
79 return mSectionIndexer.getPositionForSection(sectionIndex); in getPositionForSection()
H A DContactSectionIndexer.java50 public int getPositionForSection(final int sectionIndex) { in getPositionForSection() method in ContactSectionIndexer
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpAdapter.java121 if (position == getPositionForSection(getSectionForPosition(position))) { in getItemViewType()
164 public int getPositionForSection(int section) { in getPositionForSection() method in MtpAdapter
/aosp12/frameworks/base/core/java/android/widget/
H A DSectionIndexer.java59 int getPositionForSection(int sectionIndex); in getPositionForSection() method
H A DFastScroller.java1013 int targetIndex = mSectionIndexer.getPositionForSection(targetSection); in scrollTo()
1029 nextIndex = mSectionIndexer.getPositionForSection(targetSection + 1); in scrollTo()
1037 prevIndex = mSectionIndexer.getPositionForSection(targetSection); in scrollTo()
1058 mSectionIndexer.getPositionForSection(nextNextSection) == nextIndex) { in scrollTo()
1302 final int sectionPos = sectionIndexer.getPositionForSection(section); in getPosFromItemCount()
1308 nextSectionPos = sectionIndexer.getPositionForSection(section + 1); in getPosFromItemCount()
H A DAlphabetIndexer.java146 public int getPositionForSection(int sectionIndex) { in getPositionForSection() method in AlphabetIndexer
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionarySettings.java337 public int getPositionForSection(final int section) { in getPositionForSection() method in UserDictionarySettings.MyAdapter
338 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/aosp12/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionarySettings.java288 public int getPositionForSection(int section) { in getPositionForSection() method in UserDictionarySettings.MyAdapter
289 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCitySelectionActivity.kt411 override fun getPositionForSection(sectionIndex: Int): Int {
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
H A DIngestActivity.java146 int nextSectionStart = mAdapter.getPositionForSection(
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt54227 method public int getPositionForSection(int);
55939 method public int getPositionForSection(int);
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt36913 method public int getPositionForSection(int);
38392 method public abstract int getPositionForSection(int);