Home
last modified time | relevance | path

Searched refs:mIndexer (Results 1 – 4 of 4) 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/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettings.java253 private AlphabetIndexer mIndexer; field in UserDictionarySettings.MyAdapter
282 mIndexer = new AlphabetIndexer(c, wordColIndex, alphabet); in MyAdapter()
289 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section); in getPositionForSection()
294 return null == mIndexer ? 0 : mIndexer.getSectionForPosition(position); in getSectionForPosition()
299 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()