Lines Matching refs:Preference
25 import android.preference.ListPreference;
26 import android.preference.Preference;
27 import android.preference.Preference.OnPreferenceChangeListener;
28 import android.preference.Preference.OnPreferenceClickListener;
29 import android.preference.PreferenceScreen;
58 private Preference mEngineSettingsPreference;
59 private Preference mInstallVoicesPreference;
108 // Remove this preference unless voices are indeed available to install.
110 // Remove this preference unless locales are indeed available.
271 public boolean onPreferenceClick(Preference preference) {
272 if (preference == mInstallVoicesPreference) {
275 } else if (preference == mEngineSettingsPreference) {
284 public boolean onPreferenceChange(Preference preference, Object newValue) {
285 if (preference == mLocalePreference) {