Home | History | Annotate | Download | only in settings

Lines Matching refs:Preference

28 import android.preference.Preference;
29 import android.preference.PreferenceGroup;
30 import android.preference.PreferenceScreen;
101 // Remove Safety information preference if PROPERTY_URL_SAFETYLEGAL is not set
105 // Remove Equipment id preference if FCC ID is not set by RIL
119 // These are contained in the "container" preference group
130 // These are contained by the root preference screen
162 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
163 if (preference.getKey().equals(KEY_FIRMWARE_VERSION)) {
176 } else if (preference.getKey().equals(KEY_BUILD_NUMBER)) {
211 return super.onPreferenceTreeClick(preferenceScreen, preference);
215 String preference, String property ) {
217 // Property is missing so remove preference from group
219 preferenceGroup.removePreference(findPreference(preference));
222 + preference + "' preference");
227 private void removePreferenceIfBoolFalse(String preference, int resId) {
229 Preference pref = findPreference(preference);
236 private void setStringSummary(String preference, String value) {
238 findPreference(preference).setSummary(value);
240 findPreference(preference).setSummary(
245 private void setValueSummary(String preference, String property) {
247 findPreference(preference).setSummary(