Home
last modified time | relevance | path

Searched refs:objValue (Results 1 – 14 of 14) sorted by relevance

/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java153 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument
155 writeAnimationPreference(0, objValue); in onPreferenceChange()
157 writeAnimationPreference(1, objValue); in onPreferenceChange()
159 writeFontSizePreference(objValue); in onPreferenceChange()
161 writeEndButtonPreference(objValue); in onPreferenceChange()
178 public void writeAnimationPreference(int which, Object objValue) { in writeAnimationPreference() argument
180 float val = Float.parseFloat(objValue.toString()); in writeAnimationPreference()
187 public void writeFontSizePreference(Object objValue) { in writeFontSizePreference() argument
189 mCurConfig.fontScale = Float.parseFloat(objValue.toString()); in writeFontSizePreference()
195 public void writeEndButtonPreference(Object objValue) { in writeEndButtonPreference() argument
[all …]
/packages/apps/Settings/src/com/android/settings/
DDisplaySettings.java342 public void writeFontSizePreference(Object objValue) {
344 mCurConfig.fontScale = Float.parseFloat(objValue.toString());
357 public boolean onPreferenceChange(Preference preference, Object objValue) {
361 int value = Integer.parseInt((String) objValue);
369 writeFontSizePreference(objValue);
372 boolean auto = (Boolean) objValue;
377 boolean value = (Boolean) objValue;
381 boolean value = (Boolean) objValue;
/packages/apps/Browser/src/com/android/browser/preferences/
DGeneralPreferencesFragment.java82 public boolean onPreferenceChange(Preference pref, Object objValue) { in onPreferenceChange() argument
92 if (CURRENT.equals(objValue)) { in onPreferenceChange()
95 if (BLANK.equals(objValue)) { in onPreferenceChange()
98 if (DEFAULT.equals(objValue)) { in onPreferenceChange()
102 if (MOST_VISITED.equals(objValue)) { in onPreferenceChange()
105 if (OTHER.equals(objValue)) { in onPreferenceChange()
DAccessibilityPreferencesFragment.java97 public boolean onPreferenceChange(Preference pref, Object objValue) { in onPreferenceChange() argument
106 .getAdjustedMinimumFontSize((Integer) objValue)); in onPreferenceChange()
111 .getAdjustedTextZoom((Integer) objValue)); in onPreferenceChange()
116 .getAdjustedDoubleTapZoom((Integer) objValue)); in onPreferenceChange()
120 (int) ((10 + (Integer) objValue) * 10)); in onPreferenceChange()
DAdvancedPreferencesFragment.java107 public boolean onPreferenceChange(Preference pref, Object objValue) { in onPreferenceChange() argument
116 pref.setSummary(getVisualDefaultZoomName((String) objValue)); in onPreferenceChange()
119 pref.setSummary((String) objValue); in onPreferenceChange()
122 Boolean value = (Boolean) objValue; in onPreferenceChange()
131 lp.setValue((String) objValue); in onPreferenceChange()
DPrivacySecurityPreferencesFragment.java48 public boolean onPreferenceChange(Preference pref, Object objValue) { in onPreferenceChange() argument
50 && ((Boolean) objValue).booleanValue() == true) { in onPreferenceChange()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java397 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument
398 if (DBG) log("onPreferenceChange: \"" + preference + "\" changed to \"" + objValue + "\""); in onPreferenceChange()
401 int index = mButtonDTMF.findIndexOfValue((String) objValue); in onPreferenceChange()
405 final String newProviderKey = (String) objValue; in onPreferenceChange()
436 mPhone, Boolean.TRUE.equals(objValue)); in onPreferenceChange()
439 PhoneGlobals.getInstance().phoneMgr.enableVideoCalling((boolean) objValue); in onPreferenceChange()
DMobileNetworkSettings.java764 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument
769 mButtonPreferredNetworkMode.setValue((String) objValue); in onPreferenceChange()
771 buttonNetworkMode = Integer.valueOf((String) objValue).intValue(); in onPreferenceChange()
809 mButtonEnabledNetworks.setValue((String) objValue); in onPreferenceChange()
811 buttonNetworkMode = Integer.valueOf((String) objValue).intValue(); in onPreferenceChange()
DCellBroadcastSms.java324 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument
328 mListLanguage.findIndexOfValue((String) objValue) + 1); in onPreferenceChange()
/packages/services/Telephony/src/com/android/phone/settings/
DTtyModeListPreference.java52 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument
55 buttonTtyMode = Integer.valueOf((String) objValue).intValue(); in onPreferenceChange()
DPhoneAccountSettingsFragment.java171 public boolean onPreferenceChange(Preference pref, Object objValue) { in onPreferenceChange() argument
173 String option = objValue.toString(); in onPreferenceChange()
/packages/apps/Dialer/src/com/android/dialer/settings/
DGeneralSettingsFragment.java124 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument
126 boolean doVibrate = (Boolean) objValue; in onPreferenceChange()
/packages/apps/Calendar/src/com/android/calendar/
DOtherPreferences.java140 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument
144 String value = String.valueOf(objValue); in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java442 public boolean onPreferenceChange(Preference preference, Object objValue) { in onPreferenceChange() argument
445 mDefaultRate = Integer.parseInt((String) objValue); in onPreferenceChange()