Home
last modified time | relevance | path

Searched refs:mSections (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
DContactsSectionIndexer.java32 private String[] mSections; field in ContactsSectionIndexer
54 this.mSections = sections; in ContactsSectionIndexer()
59 if (TextUtils.isEmpty(mSections[i])) { in ContactsSectionIndexer()
60 mSections[i] = BLANK_HEADER_STRING; in ContactsSectionIndexer()
61 } else if (!mSections[i].equals(BLANK_HEADER_STRING)) { in ContactsSectionIndexer()
62 mSections[i] = mSections[i].trim(); in ContactsSectionIndexer()
72 return mSections; in getSections()
80 if (section < 0 || section >= mSections.length) { in getPositionForSection()
106 if (mSections != null) { in setFavoritesHeader()
108 if (mSections.length > 0 && mSections[0].isEmpty()) { in setFavoritesHeader()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactSectionIndexer.java36 private String[] mSections; field in ContactSectionIndexer
46 return mSections; in getSections()
113 this.mSections = sections; in buildIndexerFromCursorExtras()
117 if (TextUtils.isEmpty(mSections[i])) { in buildIndexerFromCursorExtras()
118 mSections[i] = BLANK_HEADER_STRING; in buildIndexerFromCursorExtras()
119 } else if (!mSections[i].equals(BLANK_HEADER_STRING)) { in buildIndexerFromCursorExtras()
120 mSections[i] = mSections[i].trim(); in buildIndexerFromCursorExtras()
156 mSections = new String[sections.size()]; in buildIndexerFromDisplayNames()
157 sections.toArray(mSections); in buildIndexerFromDisplayNames()