Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
DIndexerListAdapter.java30 private SectionIndexer mIndexer; field in IndexerListAdapter
90 return mIndexer; in getIndexer()
94 mIndexer = indexer; in setIndexer()
99 if (mIndexer == null) { in getSections()
102 return mIndexer.getSections(); in getSections()
110 if (mIndexer == null) { in getPositionForSection()
114 return mIndexer.getPositionForSection(sectionIndex); in getPositionForSection()
121 if (mIndexer == null) { in getSectionForPosition()
125 return mIndexer.getSectionForPosition(position); in getSectionForPosition()
158 if (mIndexer == null || getCount() == 0) { in configurePinnedHeaders()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettings.java298 private AlphabetIndexer mIndexer; field in UserDictionarySettings.MyAdapter
331 mIndexer = new AlphabetIndexer(c, wordColIndex, alphabet); in MyAdapter()
338 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
343 return null == mIndexer ? 0 : mIndexer.getSectionForPosition(position); in getSectionForPosition()
348 return null == mIndexer ? null : mIndexer.getSections(); in getSections()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionarySettings.java252 private AlphabetIndexer mIndexer; field in UserDictionarySettings.MyAdapter
281 mIndexer = new AlphabetIndexer(c, wordColIndex, alphabet); in MyAdapter()
288 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
293 return null == mIndexer ? 0 : mIndexer.getSectionForPosition(position); in getSectionForPosition()
298 return null == mIndexer ? null : mIndexer.getSections(); in getSections()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettings.java252 private AlphabetIndexer mIndexer; field in UserDictionarySettings.MyAdapter
281 mIndexer = new AlphabetIndexer(c, wordColIndex, alphabet); in MyAdapter()
288 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
293 return null == mIndexer ? 0 : mIndexer.getSectionForPosition(position); in getSectionForPosition()
298 return null == mIndexer ? null : mIndexer.getSections(); in getSections()
/packages/apps/Calendar/src/com/android/calendar/
DStickyHeaderListView.java58 protected HeaderIndexer mIndexer = null; field in StickyHeaderListView
152 mIndexer = indexer; in setIndexer()
262 if (mAdapter != null && mIndexer != null && mDoHeaderReset) { in updateStickyHeader()
266 int sectionPos = mIndexer.getHeaderPositionFromItemPosition(firstVisibleItem); in updateStickyHeader()
283 sectionSize = mIndexer.getHeaderItemsNumber(sectionPos); in updateStickyHeader()