Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
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()
DContactsSectionIndexer.java79 public int getPositionForSection(int section) { in getPositionForSection() method in ContactsSectionIndexer
DPostalAddressListAdapter.java148 if (getPositionForSection(section) == position) { in bindSectionHeaderAndDivider()
DEmailAddressListAdapter.java157 if (getPositionForSection(section) == position) { in bindSectionHeaderAndDivider()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
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()
DContactSectionIndexer.java50 public int getPositionForSection(final int sectionIndex) { in getPositionForSection() method in ContactSectionIndexer
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpAdapter.java121 if (position == getPositionForSection(getSectionForPosition(position))) { in getItemViewType()
164 public int getPositionForSection(int section) { in getPositionForSection() method in MtpAdapter
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettings.java337 public int getPositionForSection(final int section) { in getPositionForSection() method in UserDictionarySettings.MyAdapter
338 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionarySettings.java287 public int getPositionForSection(int section) { in getPositionForSection() method in UserDictionarySettings.MyAdapter
288 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettings.java287 public int getPositionForSection(int section) { in getPositionForSection() method in UserDictionarySettings.MyAdapter
288 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt412 override fun getPositionForSection(sectionIndex: Int): Int { in getPositionForSection() method in com.android.deskclock.worldclock.CitySelectionActivity.CityAdapter
DCitySelectionActivity.java464 public int getPositionForSection(int sectionIndex) { in getPositionForSection() method in CitySelectionActivity.CityAdapter
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java146 int nextSectionStart = mAdapter.getPositionForSection(