Lines Matching refs:Preference
30 import android.preference.CheckBoxPreference;
31 import android.preference.ListPreference;
32 import android.preference.Preference;
33 import android.preference.Preference.OnPreferenceClickListener;
34 import android.preference.PreferenceScreen;
45 Preference.OnPreferenceChangeListener, OnPreferenceClickListener {
66 private Preference mScreenSaverPreference;
128 ListPreference preference = mScreenTimeoutPreference;
134 final CharSequence[] entries = preference.getEntries();
135 final CharSequence[] values = preference.getEntryValues();
146 summary = preference.getContext().getString(R.string.screen_timeout_summary,
150 preference.setSummary(summary);
286 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
287 if (preference == mAccelerometer) {
290 } else if (preference == mNotificationPulse) {
296 return super.onPreferenceTreeClick(preferenceScreen, preference);
300 public boolean onPreferenceChange(Preference preference, Object objValue) {
301 final String key = preference.getKey();
319 public boolean onPreferenceClick(Preference preference) {
320 if (preference == mFontSizePref) {