Home
last modified time | relevance | path

Searched refs:KEY_IMPORTANT (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenPrioritySendersHelper.java65 static final String KEY_IMPORTANT = "conversations_important"; field in ZenPrioritySendersHelper
117 makeSelectorPreference(KEY_IMPORTANT, in displayPreference()
180 case KEY_IMPORTANT: in keyToSettingEndState()
205 case KEY_IMPORTANT: in keyToSettingEndState()
268 if (preference.getKey() == KEY_IMPORTANT in settingsToSaveOnClick()
290 case KEY_IMPORTANT: in getSummary()
351 if (!KEY_CONTACTS.equals(key) && !KEY_STARRED.equals(key) && !KEY_IMPORTANT.equals(key)) { in getWidgetClickListener()
372 } else if (KEY_IMPORTANT.equals(key)) { in getWidgetClickListener()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModePrioritySendersPreferenceController.java72 static final String KEY_IMPORTANT = "conversations_important"; field in ZenModePrioritySendersPreferenceController
118 makeSelectorPreference(KEY_IMPORTANT, in displayPreference()
213 if (!KEY_CONTACTS.equals(key) && !KEY_STARRED.equals(key) && !KEY_IMPORTANT.equals(key)) { in getWidgetClickListener()
232 } else if (KEY_IMPORTANT.equals(key)) { in getWidgetClickListener()
283 case KEY_IMPORTANT:
308 case KEY_IMPORTANT:
371 if (key.equals(KEY_IMPORTANT)
393 case KEY_IMPORTANT:
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModePrioritySendersPreferenceControllerTest.java33 …c com.android.settings.notification.modes.ZenModePrioritySendersPreferenceController.KEY_IMPORTANT;
138 assertThat((Comparable<?>) mCallsPrefCategory.findPreference(KEY_IMPORTANT)).isNull(); in testDisplayPreferences_makeCallsPrefs()
179 endState = mMessagesController.keyToSettingEndState(KEY_IMPORTANT, true); in testKeyToSettingEndState_messagesCheck()
208 endState = mMessagesController.keyToSettingEndState(KEY_IMPORTANT, false); in testKeyToSettingEndState_messagesUncheck()
292 KEY_IMPORTANT, true, PEOPLE_TYPE_NONE, CONVERSATION_SENDERS_NONE); in testSettingsToSaveOnClick_messagesCheck()
326 KEY_IMPORTANT, false, PEOPLE_TYPE_CONTACTS, CONVERSATION_SENDERS_IMPORTANT); in testSettingsToSaveOnClick_messagesUncheck()
412 KEY_IMPORTANT, true, PEOPLE_TYPE_CONTACTS, CONVERSATION_SENDERS_IMPORTANT); in testSettingsToSave_messages_noChange()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/zen/
DZenPrioritySendersHelperTest.java29 import static com.android.settings.notification.zen.ZenPrioritySendersHelper.KEY_IMPORTANT;
182 .addPreference(argThat(new PrefKeyMatcher(KEY_IMPORTANT))); in testDisplayPreferences_makeCallsPrefs()
233 endState = messagesHelper.keyToSettingEndState(KEY_IMPORTANT, true); in testKeyToSettingEndState_messagesCheck()
263 endState = messagesHelper.keyToSettingEndState(KEY_IMPORTANT, false); in testKeyToSettingEndState_messagesUncheck()
473 SelectorWithWidgetPreference convsPref = makePreference(KEY_IMPORTANT, true); in testSettingsToSave_messagesConversations()