Home
last modified time | relevance | path

Searched refs:sectionIndex (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactListAdapter.java78 public int getPositionForSection(final int sectionIndex) { in getPositionForSection() argument
79 return mSectionIndexer.getPositionForSection(sectionIndex); in getPositionForSection()
DContactSectionIndexer.java50 public int getPositionForSection(final int sectionIndex) { in getPositionForSection() argument
56 Math.max(Math.min(sectionIndex, mSectionStartingPositions.size() - 1), 0)); in getPositionForSection()
/packages/apps/Contacts/src/com/android/contacts/list/
DIndexerListAdapter.java109 public int getPositionForSection(int sectionIndex) { in getPositionForSection() argument
114 return mIndexer.getPositionForSection(sectionIndex); in getPositionForSection()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt412 override fun getPositionForSection(sectionIndex: Int): Int { in getPositionForSection()
413 return if (sections!!.isEmpty()) 0 else mSectionHeaderPositions!![sectionIndex] in getPositionForSection()
DCitySelectionActivity.java464 public int getPositionForSection(int sectionIndex) { in getPositionForSection() argument
465 return getSections().length == 0 ? 0 : mSectionHeaderPositions[sectionIndex]; in getPositionForSection()