/packages/apps/Settings/src/com/android/settings/ |
D | AccessibilitySettings.java | 24 import android.preference.CheckBoxPreference; 25 import android.preference.Preference; 26 import android.preference.PreferenceActivity; 27 import android.preference.PreferenceGroup; 28 import android.preference.PreferenceScreen; 87 CheckBoxPreference preference = (CheckBoxPreference) findPreference(key); in onResume() local 88 if (preference != null) { in onResume() 89 preference.setChecked(enabled.contains(key)); in onResume() 138 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 139 final String key = preference.getKey(); in onPreferenceTreeClick() [all …]
|
D | PhysicalKeyboardSettings.java | 21 import android.preference.CheckBoxPreference; 22 import android.preference.Preference; 23 import android.preference.PreferenceActivity; 24 import android.preference.PreferenceScreen; 69 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 73 if (mSettingsUiKey[i].equals(preference.getKey())) { in onPreferenceTreeClick() 75 ((CheckBoxPreference)preference).isChecked()? 1 : 0); in onPreferenceTreeClick() 80 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()
|
D | Utils.java | 24 import android.preference.Preference; 25 import android.preference.PreferenceGroup; 54 Preference preference = parentPreferenceGroup.findPreference(preferenceKey); in updatePreferenceToSpecificActivityOrRemove() local 55 if (preference == null) { in updatePreferenceToSpecificActivityOrRemove() 59 Intent intent = preference.getIntent(); in updatePreferenceToSpecificActivityOrRemove() 71 preference.setIntent(new Intent().setClassName( in updatePreferenceToSpecificActivityOrRemove() 77 preference.setTitle(resolveInfo.loadLabel(pm)); in updatePreferenceToSpecificActivityOrRemove() 86 parentPreferenceGroup.removePreference(preference); in updatePreferenceToSpecificActivityOrRemove()
|
D | SoundAndDisplaySettings.java | 32 import android.preference.ListPreference; 33 import android.preference.Preference; 34 import android.preference.PreferenceActivity; 35 import android.preference.PreferenceScreen; 36 import android.preference.CheckBoxPreference; 226 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 228 if (preference == mSilent || preference == mVibrate) { in onPreferenceTreeClick() 230 if (preference == mSilent) updateState(false); in onPreferenceTreeClick() 231 } else if (preference == mPlayMediaNotificationSounds) { in onPreferenceTreeClick() 236 } else if (preference == mDtmfTone) { in onPreferenceTreeClick() [all …]
|
D | ApplicationSettings.java | 23 import android.preference.CheckBoxPreference; 24 import android.preference.Preference; 25 import android.preference.PreferenceActivity; 26 import android.preference.PreferenceScreen; 64 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 65 if (preference == mToggleAppInstallation) { in onPreferenceTreeClick() 74 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()
|
D | DevelopmentSettings.java | 24 import android.preference.Preference; 25 import android.preference.PreferenceActivity; 26 import android.preference.PreferenceScreen; 27 import android.preference.CheckBoxPreference; 72 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 80 if (preference == mEnableAdb) { in onPreferenceTreeClick() 94 } else if (preference == mKeepScreenOn) { in onPreferenceTreeClick() 98 } else if (preference == mAllowMockLocation) { in onPreferenceTreeClick()
|
D | DeviceInfoSettings.java | 26 import android.preference.Preference; 27 import android.preference.PreferenceActivity; 28 import android.preference.PreferenceGroup; 89 private void setStringSummary(String preference, String value) { in setStringSummary() argument 91 findPreference(preference).setSummary(value); in setStringSummary() 93 findPreference(preference).setSummary( in setStringSummary() 98 private void setValueSummary(String preference, String property) { in setValueSummary() argument 100 findPreference(preference).setSummary( in setValueSummary()
|
D | LanguageSettings.java | 29 import android.preference.CheckBoxPreference; 30 import android.preference.Preference; 31 import android.preference.PreferenceActivity; 32 import android.preference.PreferenceGroup; 33 import android.preference.PreferenceScreen; 206 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 215 if (preference instanceof CheckBoxPreference) { in onPreferenceTreeClick() 216 final CheckBoxPreference chkPref = (CheckBoxPreference) preference; in onPreferenceTreeClick() 228 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick() 234 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick() [all …]
|
D | ApnSettings.java | 35 import android.preference.Preference; 36 import android.preference.PreferenceActivity; 37 import android.preference.PreferenceGroup; 38 import android.preference.PreferenceScreen; 191 for (Preference preference : mmsApnList) { in fillList() 192 apnList.addPreference(preference); in fillList() 227 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 228 int pos = Integer.parseInt(preference.getKey()); in onPreferenceTreeClick() 234 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 235 Log.d(TAG, "onPreferenceChange(): Preference - " + preference in onPreferenceChange()
|
D | TextToSpeechSettings.java | 32 import android.preference.ListPreference; 33 import android.preference.Preference; 34 import android.preference.PreferenceActivity; 35 import android.preference.CheckBoxPreference; 296 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument 297 if (KEY_TTS_USE_DEFAULT.equals(preference.getKey())) { in onPreferenceChange() 303 } else if (KEY_TTS_DEFAULT_RATE.equals(preference.getKey())) { in onPreferenceChange() 316 } else if (KEY_TTS_DEFAULT_LANG.equals(preference.getKey())) { in onPreferenceChange() 337 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() argument 338 if (preference == mPlayExample) { in onPreferenceClick() [all …]
|
D | IccLockSettings.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.Preference; 27 import android.preference.PreferenceActivity; 28 import android.preference.PreferenceScreen; 212 public void onPinEntered(EditPinPreference preference, boolean positiveResult) { in onPinEntered() argument 218 mPin = preference.getText(); in onPinEntered() 256 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 257 if (preference == mPinToggle) { in onPreferenceTreeClick()
|
/packages/apps/Phone/src/com/android/phone/ |
D | CellBroadcastSms.java | 21 import android.preference.CheckBoxPreference; 22 import android.preference.ListPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceScreen; 25 import android.preference.PreferenceActivity; 181 Preference preference) { in onPreferenceTreeClick() argument 182 if (preference == mButtonBcSms) { in onPreferenceTreeClick() 199 } else if (preference == mListLanguage) { in onPreferenceTreeClick() 201 } else if (preference == mButtonEmergencyBroadcast) { in onPreferenceTreeClick() 206 } else if (preference == mButtonAdministrative) { in onPreferenceTreeClick() [all …]
|
D | CdmaOptions.java | 24 import android.preference.ListPreference; 25 import android.preference.Preference; 26 import android.preference.PreferenceActivity; 27 import android.preference.PreferenceScreen; 82 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 83 if (preference == mButtonCdmaRoam) { in onPreferenceTreeClick() 91 else if (preference == mButtonCdmaNwPreference) { in onPreferenceTreeClick() 95 else if (preference == mButtonCdmaSubscription) { in onPreferenceTreeClick() 177 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument 179 if (preference == mButtonCdmaRoam) { in onPreferenceChange() [all …]
|
D | Settings.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.ListPreference; 27 import android.preference.Preference; 28 import android.preference.PreferenceActivity; 29 import android.preference.PreferenceScreen; 101 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 102 if (preference == mButtonPreferredNetworkMode) { in onPreferenceTreeClick() 110 else if (preference == mButtonDataRoam) { in onPreferenceTreeClick() 131 else if (preference == mButtonCdmaRoam) { in onPreferenceTreeClick() 140 else if (preference == mButtonPrefer2g) { in onPreferenceTreeClick() [all …]
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | SettingsActivity.java | 22 import android.preference.CheckBoxPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceActivity; 25 import android.preference.PreferenceGroup; 26 import android.preference.PreferenceManager; 27 import android.preference.PreferenceScreen; 91 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 102 Preference preference = parentPref.findPreference(prefKey); in updatePreference() local 103 if (preference == null) { in updatePreference() 106 Intent intent = preference.getIntent(); in updatePreference() [all …]
|
/packages/apps/GoogleSearch/src/com/android/googlesearch/ |
D | Settings.java | 20 import android.preference.CheckBoxPreference; 21 import android.preference.Preference; 22 import android.preference.PreferenceActivity; 23 import android.preference.PreferenceScreen; 24 import android.preference.Preference.OnPreferenceClickListener; 46 public synchronized boolean onPreferenceClick(Preference preference) { in onPreferenceClick() argument 47 if (preference == mShowWebSuggestionsPreference) { in onPreferenceClick()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothSettings.java | 32 import android.preference.CheckBoxPreference; 33 import android.preference.Preference; 34 import android.preference.PreferenceActivity; 35 import android.preference.PreferenceScreen; 177 Preference preference) { in onPreferenceTreeClick() argument 179 if (KEY_BT_SCAN.equals(preference.getKey())) { in onPreferenceTreeClick() 184 if (preference instanceof BluetoothDevicePreference) { in onPreferenceTreeClick() 185 BluetoothDevicePreference btPreference = (BluetoothDevicePreference) preference; in onPreferenceTreeClick() 190 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick() 236 BluetoothDevicePreference preference = new BluetoothDevicePreference(this, device); in createDevicePreference() local [all …]
|
D | ConnectSpecificProfilesActivity.java | 24 import android.preference.CheckBoxPreference; 25 import android.preference.Preference; 26 import android.preference.PreferenceActivity; 27 import android.preference.PreferenceGroup; 152 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 153 String key = preference.getKey(); in onPreferenceChange() 160 Profile profile = getProfileOf(preference); in onPreferenceChange()
|
/packages/apps/AlarmClock/src/com/android/alarmclock/ |
D | SettingsActivity.java | 21 import android.preference.CheckBoxPreference; 22 import android.preference.Preference; 23 import android.preference.PreferenceActivity; 24 import android.preference.PreferenceScreen; 57 Preference preference) { in onPreferenceTreeClick() argument 59 if (preference == mAlarmInSilentModePref) { in onPreferenceTreeClick() 78 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()
|
/packages/apps/IM/src/com/android/im/app/ |
D | SettingActivity.java | 22 import android.preference.Preference; 23 import android.preference.PreferenceScreen; 24 import android.preference.CheckBoxPreference; 31 public class SettingActivity extends android.preference.PreferenceActivity { 72 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 73 if (preference instanceof CheckBoxPreference) { in onPreferenceTreeClick() 77 String key = preference.getKey(); in onPreferenceTreeClick() 78 boolean value = ((CheckBoxPreference) preference).isChecked(); in onPreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AdvancedSettings.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.EditTextPreference; 27 import android.preference.ListPreference; 28 import android.preference.Preference; 29 import android.preference.PreferenceActivity; 69 Preference preference = findPreference(mPreferenceKeys[i]); in onCreate() local 70 preference.setOnPreferenceChangeListener(this); in onCreate() 136 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 137 String key = preference.getKey(); in onPreferenceChange() 172 preference.setSummary(value); in onPreferenceChange() [all …]
|
D | WifiSettings.java | 28 import android.preference.Preference; 29 import android.preference.PreferenceActivity; 30 import android.preference.PreferenceScreen; 31 import android.preference.CheckBoxPreference; 340 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument 341 super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick() 343 if (preference == mAddOtherNetwork) { in onPreferenceTreeClick() 345 } else if (preference == mOpenNetworkNotificationsEnabled) { in onPreferenceTreeClick() 349 } else if (preference instanceof AccessPointPreference) { in onPreferenceTreeClick() 350 AccessPointState state = ((AccessPointPreference) preference).getAccessPointState(); in onPreferenceTreeClick()
|
/packages/apps/GlobalSearch/src/com/android/globalsearch/ |
D | SearchSettings.java | 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; 37 import android.preference.Preference.OnPreferenceChangeListener; 38 import android.preference.Preference.OnPreferenceClickListener; 232 public synchronized boolean onPreferenceClick(Preference preference) { in onPreferenceClick() argument 233 if (preference == mClearShortcutsPreference) { in onPreferenceClick() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettings.java | 31 import android.preference.CheckBoxPreference; 32 import android.preference.EditTextPreference; 33 import android.preference.ListPreference; 34 import android.preference.Preference; 35 import android.preference.PreferenceActivity; 36 import android.preference.PreferenceCategory; 37 import android.preference.RingtonePreference; 89 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 101 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() 121 public boolean onPreferenceChange(Preference preference, Object newValue) { in onCreate() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarPreferenceActivity.java | 22 import android.preference.ListPreference; 23 import android.preference.PreferenceActivity; 24 import android.preference.PreferenceScreen; 25 import android.preference.CheckBoxPreference; 26 import android.preference.RingtonePreference;
|