Lines Matching full:preference
39 import android.preference.EditTextPreference;
40 import android.preference.Preference;
41 import android.preference.PreferenceActivity;
86 // Preference keys for the 4 "canned responses"; see RespondViaSmsManager$Settings.
103 implements Preference.OnPreferenceChangeListener {
111 // This preference screen is ultra-simple; it's just 4 plain
115 // each of those EditTextPreferences and use it as the preference's
148 // Preference.OnPreferenceChangeListener implementation
150 public boolean onPreferenceChange(Preference preference, Object newValue) {
151 if (DBG) log("onPreferenceChange: key = " + preference.getKey());
152 if (VDBG) log(" preference = '" + preference + "'");
155 EditTextPreference pref = (EditTextPreference) preference;
159 // Preference itself gets updated, so we need to use newValue here
163 return true; // means it's OK to update the state of the Preference with the new value