Home
last modified time | relevance | path

Searched refs:mSections (Results 1 – 3 of 3) 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()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java97 private static final Map<Integer, CustomizationSection> mSections = new HashMap<>(); field in CustomizationPickerActivity
153 CustomizationSection section = mSections.get(mBottomNav.getSelectedItemId()); in onResume()
181 && mSections.size() > 1; in supportsCustomization()
185 mSections.clear(); in initSections()
205 mSections.put(R.id.nav_theme, new ThemeSection(R.id.nav_theme, themeManager)); in initSections()
213 mSections.put(R.id.nav_clock, new ClockSection(R.id.nav_clock, clockManager)); in initSections()
223 mSections.put(R.id.nav_grid, new GridSection(R.id.nav_grid, gridManager)); in initSections()
227 mSections.put(R.id.nav_wallpaper, new WallpaperSection(R.id.nav_wallpaper)); in initSections()
238 if (!mSections.containsKey(id)) { in setUpBottomNavView()
247 CustomizationSection section = mSections.get(id); in setUpBottomNavView()
[all …]