Home
last modified time | relevance | path

Searched refs:sectionIndex (Results 1 – 4 of 4) 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.kt411 override fun getPositionForSection(sectionIndex: Int): Int { in getPositionForSection()
412 return if (sections!!.isEmpty()) 0 else mSectionHeaderPositions!![sectionIndex] in getPositionForSection()