Home | History | Annotate | Download | only in phone

Lines Matching refs:Preference

39 import android.preference.EditTextPreference;
40 import android.preference.Preference;
41 import android.preference.PreferenceActivity;
118 // Preference keys for the 4 "canned responses"; see RespondViaSmsManager$Settings.
647 implements Preference.OnPreferenceChangeListener {
655 // This preference screen is ultra-simple; it's just 4 plain
659 // each of those EditTextPreferences and use it as the preference's
692 // Preference.OnPreferenceChangeListener implementation
694 public boolean onPreferenceChange(Preference preference, Object newValue) {
695 if (DBG) log("onPreferenceChange: key = " + preference.getKey());
696 if (VDBG) log(" preference = '" + preference + "'");
699 EditTextPreference pref = (EditTextPreference) preference;
703 // Preference itself gets updated, so we need to use newValue here
707 return true; // means it's OK to update the state of the Preference with the new value