Searched refs:mSections (Results 1 - 7 of 7) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactsSectionIndexer.java30 private String[] mSections; field in class:ContactsSectionIndexer
53 this.mSections = sections;
57 if (TextUtils.isEmpty(mSections[i])) {
58 mSections[i] = BLANK_HEADER_STRING;
59 } else if (!mSections[i].equals(BLANK_HEADER_STRING)) {
60 mSections[i] = mSections[i].trim();
70 return mSections;
74 if (section < 0 || section >= mSections.length) {
100 if (mSections !
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSeparatedFolderListAdapter.java29 private final ArrayList<FolderSelectorAdapter> mSections = field in class:SeparatedFolderListAdapter
34 mSections.add(adapter);
38 mSections.clear();
43 for (FolderSelectorAdapter adapter : mSections) {
60 for (FolderSelectorAdapter adapter : mSections) {
70 for (Adapter adapter : mSections)
78 for (FolderSelectorAdapter adapter : mSections) {
95 for (FolderSelectorAdapter adapter : mSections) {
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactSectionIndexer.java36 private String[] mSections; field in class:ContactSectionIndexer
46 return mSections;
113 this.mSections = sections;
117 if (TextUtils.isEmpty(mSections[i])) {
118 mSections[i] = BLANK_HEADER_STRING;
119 } else if (!mSections[i].equals(BLANK_HEADER_STRING)) {
120 mSections[i] = mSections[i].trim();
156 mSections = new String[sections.size()];
157 sections.toArray(mSections);
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactEntryAdapter.java32 protected ArrayList<ArrayList<E>> mSections; field in class:ContactEntryAdapter
81 mSections = sections;
91 mSections = sections;
104 mSections = sections;
107 int numSections = mSections.size();
110 ArrayList<E> section = mSections.get(i);
128 return countEntries(mSections, mSeparators);
148 int numSections = mSections.size();
150 ArrayList<E> section = mSections.get(i);
169 return getEntry(mSections, positio
[all...]
H A DContactFragment.java111 /* package */ ArrayList<ArrayList<ViewEntry>> mSections = new ArrayList<ArrayList<ViewEntry>>(); field in class:ContactFragment
169 // Build the list of sections. The order they're added to mSections dictates the
171 mSections.add(mPhoneEntries);
172 mSections.add(mSmsEntries);
173 mSections.add(mEmailEntries);
174 mSections.add(mImEntries);
175 mSections.add(mPostalEntries);
176 mSections.add(mNicknameEntries);
177 mSections.add(mOrganizationEntries);
178 mSections
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAlphabeticalAppsList.java193 private List<SectionInfo> mSections = new ArrayList<>(); field in class:AlphabeticalAppsList
247 return mSections;
416 mSections.clear();
457 mSections.add(lastSectionInfo);
487 mSections.add(lastSectionInfo);
608 for (int i = 0; i < mSections.size() - 1; i++) {
609 SectionInfo section = mSections.get(i);
614 while (i < (mSections.size() - 1) &&
615 mMergeAlgorithm.continueMerging(section, mSections.get(i + 1),
617 SectionInfo nextSection = mSections
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DManageApplications.java749 private SectionInfo[] mSections = EMPTY_SECTIONS; field in class:ManageApplications.ApplicationsAdapter
947 mSections = EMPTY_SECTIONS;
998 mSections = sections.toArray(EMPTY_SECTIONS);
1000 mSections = EMPTY_SECTIONS;
1212 return mSections;
1217 return mSections[sectionIndex].position;

Completed in 436 milliseconds