Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DLockScreenNotificationPreferenceController.java62 private RestrictedListPreference mLockscreen; field in LockScreenNotificationPreferenceController
95 mLockscreen = screen.findPreference(mSettingKey); in displayPreference()
96 if (mLockscreen == null) { in displayPreference()
141 mLockscreen.setEntries(entries.toArray(new CharSequence[entries.size()])); in initLockScreenNotificationPrefDisplay()
142 mLockscreen.setEntryValues(values.toArray(new CharSequence[values.size()])); in initLockScreenNotificationPrefDisplay()
145 if (mLockscreen.getEntries().length > 1) { in initLockScreenNotificationPrefDisplay()
146 mLockscreen.setOnPreferenceChangeListener(this); in initLockScreenNotificationPrefDisplay()
149 mLockscreen.setEnabled(false); in initLockScreenNotificationPrefDisplay()
252 if (admin != null && mLockscreen != null) { in setRestrictedIfNotificationFeaturesDisabled()
255 mLockscreen.addRestrictedItem(item); in setRestrictedIfNotificationFeaturesDisabled()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DLockScreenNotificationPreferenceController.java62 private RestrictedListPreference mLockscreen; field in LockScreenNotificationPreferenceController
95 mLockscreen = screen.findPreference(mSettingKey); in displayPreference()
96 if (mLockscreen == null) { in displayPreference()
141 mLockscreen.setEntries(entries.toArray(new CharSequence[entries.size()])); in initLockScreenNotificationPrefDisplay()
142 mLockscreen.setEntryValues(values.toArray(new CharSequence[values.size()])); in initLockScreenNotificationPrefDisplay()
145 if (mLockscreen.getEntries().length > 1) { in initLockScreenNotificationPrefDisplay()
146 mLockscreen.setOnPreferenceChangeListener(this); in initLockScreenNotificationPrefDisplay()
149 mLockscreen.setEnabled(false); in initLockScreenNotificationPrefDisplay()
252 if (admin != null && mLockscreen != null) { in setRestrictedIfNotificationFeaturesDisabled()
255 mLockscreen.addRestrictedItem(item); in setRestrictedIfNotificationFeaturesDisabled()
[all …]