Lines Matching refs:Preference
21 import android.preference.ListPreference;
22 import android.preference.Preference;
23 import android.preference.PreferenceActivity;
30 // Preference key for whether to enable emergency notifications (default enabled).
42 // Preference category for ETWS related settings.
48 // Preference category for CMAS related settings.
61 // Preference category for Brazil specific settings.
64 // Preference key for whether to enable channel 50 notifications
85 duration.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
86 public boolean onPreferenceChange(Preference pref, Object newValue) {
94 Preference.OnPreferenceChangeListener startConfigServiceListener =
95 new Preference.OnPreferenceChangeListener() {
96 public boolean onPreferenceChange(Preference pref, Object newValue) {
101 Preference enablePwsAlerts = findPreference(KEY_ENABLE_EMERGENCY_ALERTS);
105 Preference enableChannel50Alerts = findPreference(KEY_ENABLE_CHANNEL_50_ALERTS);