Lines Matching refs:Preference
29 import android.preference.CheckBoxPreference;
30 import android.preference.ListPreference;
31 import android.preference.Preference;
32 import android.preference.Preference.OnPreferenceClickListener;
33 import android.preference.PreferenceGroup;
34 import android.preference.PreferenceScreen;
58 final Preference preference = findPreference(preferenceKey);
59 if (preference != null) {
60 preference.setEnabled(enabled);
68 final Preference preference = parent.findPreference(preferenceKey);
69 if (preference != null) {
70 parent.removePreference(preference);
112 final Preference debugSettings = findPreference(Settings.PREF_DEBUG_SETTINGS);
124 final Preference feedbackSettings = findPreference(Settings.PREF_SEND_FEEDBACK);
125 final Preference aboutSettings = findPreference(Settings.PREF_ABOUT_KEYBOARD);
130 public boolean onPreferenceClick(final Preference pref) {
199 final Preference editPersonalDictionary =
415 private void updateUserDictionaryPreference(Preference userDictionaryPreference) {
420 // not present or disabled. In this case we need to remove the preference.