HomeSort by relevance Sort by last modified time
    Searched refs:restoreValue (Results 1 - 23 of 23) sorted by null

  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
VersionedPrefs.java 209 final Object restoreValue = getRestoreValue(key, value);
211 if (restoreValue instanceof Boolean) {
212 getEditor().putBoolean(key, (Boolean) restoreValue);
214 } else if (restoreValue instanceof Float) {
215 getEditor().putFloat(key, (Float) restoreValue);
217 } else if (restoreValue instanceof Integer) {
218 getEditor().putInt(key, (Integer) restoreValue);
220 } else if (restoreValue instanceof Long) {
221 getEditor().putLong(key, (Long) restoreValue);
223 } else if (restoreValue instanceof String)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/preference/
MyPreference.java 84 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
85 if (restoreValue) {
  /external/replicaisland/src/com/replica/replicaisland/
SliderPreference.java 105 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
108 if (!restoreValue) {
  /frameworks/base/core/java/android/preference/
EditTextPreference.java 153 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
154 setText(restoreValue ? getPersistedString(mText) : (String) defaultValue);
ListPreference.java 285 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
286 setValue(restoreValue ? getPersistedString(mValue) : (String) defaultValue);
MultiSelectListPreference.java 223 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
224 setValues(restoreValue ? getPersistedStringSet(mValues) : (Set<String>) defaultValue);
SeekBarPreference.java 74 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
75 setProgress(restoreValue ? getPersistedInt(mProgress)
TwoStatePreference.java 190 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
191 setChecked(restoreValue ? getPersistedBoolean(mChecked)
MultiCheckPreference.java 268 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
  /packages/apps/Settings/src/com/android/settings/accessibility/
ListDialogPreference.java 221 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
222 setValue(restoreValue ? getPersistedInt(mValue) : (Integer) defaultValue);
  /packages/services/Telephony/src/com/android/phone/
EditPhoneNumberPreference.java 389 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
390 setValueFromString(restoreValue ? getPersistedString(getStringValue())
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsHelper.java 57 public boolean restoreValue(String name, String value) {
SettingsBackupAgent.java 704 if (settingsHelper.restoreValue(key, value)) {
    [all...]
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 93 milliseconds