Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactsSectionIndexer.java30 private String[] mSections; field in ContactsSectionIndexer
53 this.mSections = sections; in ContactsSectionIndexer()
57 if (TextUtils.isEmpty(mSections[i])) { in ContactsSectionIndexer()
58 mSections[i] = BLANK_HEADER_STRING; in ContactsSectionIndexer()
59 } else if (!mSections[i].equals(BLANK_HEADER_STRING)) { in ContactsSectionIndexer()
60 mSections[i] = mSections[i].trim(); in ContactsSectionIndexer()
70 return mSections; in getSections()
74 if (section < 0 || section >= mSections.length) { in getPositionForSection()
100 if (mSections != null) { in setProfileHeader()
102 if (mSections.length > 0 && header.equals(mSections[0])) { in setProfileHeader()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactEntryAdapter.java32 protected ArrayList<ArrayList<E>> mSections; field in ContactEntryAdapter
81 mSections = sections; in ContactEntryAdapter()
91 mSections = sections; in setSections()
104 mSections = sections; in setSections()
107 int numSections = mSections.size(); in setSections()
110 ArrayList<E> section = mSections.get(i); in setSections()
128 return countEntries(mSections, mSeparators); in getCount()
148 int numSections = mSections.size(); in isEnabled()
150 ArrayList<E> section = mSections.get(i); in isEnabled()
169 return getEntry(mSections, position, mSeparators); in getItem()
[all …]
DContactFragment.java111 /* package */ ArrayList<ArrayList<ViewEntry>> mSections = new ArrayList<ArrayList<ViewEntry>>(); field in ContactFragment
171 mSections.add(mPhoneEntries); in onCreateView()
172 mSections.add(mSmsEntries); in onCreateView()
173 mSections.add(mEmailEntries); in onCreateView()
174 mSections.add(mImEntries); in onCreateView()
175 mSections.add(mPostalEntries); in onCreateView()
176 mSections.add(mNicknameEntries); in onCreateView()
177 mSections.add(mOrganizationEntries); in onCreateView()
178 mSections.add(mGroupEntries); in onCreateView()
179 mSections.add(mOtherEntries); in onCreateView()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSeparatedFolderListAdapter.java29 private final ArrayList<FolderSelectorAdapter> mSections = field in SeparatedFolderListAdapter
34 mSections.add(adapter); in addSection()
38 mSections.clear(); in clearSections()
43 for (FolderSelectorAdapter adapter : mSections) { in getItem()
60 for (FolderSelectorAdapter adapter : mSections) { in getCount()
70 for (Adapter adapter : mSections) in getViewTypeCount()
78 for (FolderSelectorAdapter adapter : mSections) { in getItemViewType()
95 for (FolderSelectorAdapter adapter : mSections) { in getView()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAppList.java88 private final ArrayList<String> mSections = new ArrayList<String>(); field in NotificationAppList
328 return mSections.toArray(new Object[mSections.size()]); in getSections()
333 final String section = mSections.get(sectionIndex); in getPositionForSection()
347 return mSections.indexOf(row.section); in getSectionForPosition()
481 mSections.clear();
487 mSections.add(section);