Home | History | Annotate | Download | only in spare_parts

Lines Matching refs:Preference

31 import android.preference.CheckBoxPreference;
32 import android.preference.ListPreference;
33 import android.preference.Preference;
34 import android.preference.PreferenceActivity;
35 import android.preference.PreferenceGroup;
36 import android.preference.PreferenceScreen;
46 implements Preference.OnPreferenceChangeListener,
77 Preference preference = parentPreferenceGroup.findPreference(preferenceKey);
78 if (preference == null) {
82 Intent intent = preference.getIntent();
94 preference.setIntent(new Intent().setClassName(
103 // Did not find a matching activity, so remove the preference
104 parentPreferenceGroup.removePreference(preference);
153 public boolean onPreferenceChange(Preference preference, Object objValue) {
154 if (preference == mWindowAnimationsPref) {
156 } else if (preference == mTransitionAnimationsPref) {
158 } else if (preference == mFontSizePref) {
160 } else if (preference == mEndButtonPref) {
163 // always let the preference setting proceed.
168 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
169 if (preference == mCompatibilityMode) {