Searched refs:restoreValue (Results 1 - 5 of 5) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
H A DVersionedPrefs.java227 final Object restoreValue = getRestoreValue(key, value);
229 if (restoreValue instanceof Boolean) {
230 getEditor().putBoolean(key, (Boolean) restoreValue);
232 } else if (restoreValue instanceof Float) {
233 getEditor().putFloat(key, (Float) restoreValue);
235 } else if (restoreValue instanceof Integer) {
236 getEditor().putInt(key, (Integer) restoreValue);
238 } else if (restoreValue instanceof Long) {
239 getEditor().putLong(key, (Long) restoreValue);
241 } else if (restoreValue instanceo
[all...]
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
H A DAutoCompleteEditTextPreference.java191 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument
192 setText(restoreValue ? getPersistedString(mText) : (String) defaultValue);
/packages/apps/Settings/src/com/android/settings/
H A DSeekBarPreference.java92 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument
93 setProgress(restoreValue ? getPersistedInt(mProgress)
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DListDialogPreference.java229 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument
230 setValue(restoreValue ? getPersistedInt(mValue) : (Integer) defaultValue);
/packages/services/Telephony/src/com/android/phone/
H A DEditPhoneNumberPreference.java392 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument
393 setValueFromString(restoreValue ? getPersistedString(getStringValue())

Completed in 194 milliseconds