Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperRestoreTest.java62 mSettingsHelper.restoreValue( in restoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestore()
89 mSettingsHelper.restoreValue( in restoreAccessibilityDisplayMagnificationNavbarEnabled_notAlreadyConfigured_restores()
/frameworks/support/preference/src/main/java/androidx/preference/
DEditTextPreference.java92 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
93 setText(restoreValue ? getPersistedString(mText) : (String) defaultValue); in onSetInitialValue()
DTwoStatePreference.java189 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
190 setChecked(restoreValue ? getPersistedBoolean(mChecked) in onSetInitialValue()
DListPreference.java259 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
260 setValue(restoreValue ? getPersistedString(mValue) : (String) defaultValue); in onSetInitialValue()
DMultiSelectListPreference.java210 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
211 setValues(restoreValue ? getPersistedStringSet(mValues) : (Set<String>) defaultValue); in onSetInitialValue()
DSeekBarPreference.java184 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
185 setValue(restoreValue ? getPersistedInt(mSeekBarValue) in onSetInitialValue()
/frameworks/base/core/java/android/preference/
DTwoStatePreference.java187 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
188 setChecked(restoreValue ? getPersistedBoolean(mChecked) in onSetInitialValue()
DEditTextPreference.java159 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
160 setText(restoreValue ? getPersistedString(mText) : (String) defaultValue); in onSetInitialValue()
DSeekBarPreference.java82 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
83 setProgress(restoreValue ? getPersistedInt(mProgress) in onSetInitialValue()
DMultiSelectListPreference.java234 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
235 setValues(restoreValue ? getPersistedStringSet(mValues) : (Set<String>) defaultValue); in onSetInitialValue()
DListPreference.java294 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
295 setValue(restoreValue ? getPersistedString(mValue) : (String) defaultValue); in onSetInitialValue()
DMultiCheckPreference.java278 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java125 public void restoreValue(Context context, ContentResolver cr, ContentValues contentValues, in restoreValue() method in SettingsHelper
DSettingsBackupAgent.java657 settingsHelper.restoreValue(this, cr, contentValues, destination, key, value, in restoreSettings()