/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeSharedPreferences.java | 29 private Editor mEditor; 72 public Editor edit() { in edit() 76 mEditor = new Editor() { in edit() 78 public Editor putString(String key, String value) { in edit() 83 public Editor putStringSet(String key, Set<String> values) { in edit() 88 public Editor putInt(String key, int value) { in edit() 93 public Editor putLong(String key, long value) { in edit() 98 public Editor putFloat(String key, float value) { in edit() 103 public Editor putBoolean(String key, boolean value) { in edit() 108 public Editor remove(String key) { in edit() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 69 public interface Editor { interface 80 Editor putString(String key, @Nullable String value); in putString() 93 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet() 105 Editor putInt(String key, int value); in putInt() 117 Editor putLong(String key, long value); in putLong() 129 Editor putFloat(String key, float value); in putFloat() 141 Editor putBoolean(String key, boolean value); in putBoolean() 157 Editor remove(String key); in remove() 171 Editor clear(); in clear() 355 Editor edit(); in edit()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | SharedPreferencesCompat.java | 30 void apply(@NonNull SharedPreferences.Editor editor); in apply() 36 public void apply(@NonNull SharedPreferences.Editor editor) { in apply() 44 public void apply(@NonNull SharedPreferences.Editor editor) { in apply() 66 public void apply(@NonNull SharedPreferences.Editor editor) { in apply()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 275 public Editor edit() { in edit() 305 public final class EditorImpl implements Editor { 309 public Editor putString(String key, @Nullable String value) { in putString() 315 public Editor putStringSet(String key, @Nullable Set<String> values) { in putStringSet() 322 public Editor putInt(String key, int value) { in putInt() 328 public Editor putLong(String key, long value) { in putLong() 334 public Editor putFloat(String key, float value) { in putFloat() 340 public Editor putBoolean(String key, boolean value) { in putBoolean() 347 public Editor remove(String key) { in remove() 354 public Editor clear() { in clear()
|
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/ |
D | shared-preferences.jd | 91 android.content.SharedPreferences.Editor} посредством вызова {@link 95 android.content.SharedPreferences.Editor#putInt putInt()} и {@link 96 android.content.SharedPreferences.Editor#putString putString()}. Затем вызовите {@link 97 android.content.SharedPreferences.Editor#commit} для сохранения изменений. Например:</p> 101 SharedPreferences.Editor editor = sharedPref.edit();
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/ |
D | shared-preferences.jd | 92 android.content.SharedPreferences.Editor}。</p> 95 android.content.SharedPreferences.Editor#putInt putInt()} 和 {@link 96 android.content.SharedPreferences.Editor#putString putString()} 方法写入的键和值。然后调用 {@link 97 android.content.SharedPreferences.Editor#commit} 以保存更改。例如:</p> 101 SharedPreferences.Editor editor = sharedPref.edit();
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/ |
D | shared-preferences.jd | 92 android.content.SharedPreferences.Editor}。</p> 95 android.content.SharedPreferences.Editor#putInt putInt()} 及 {@link 96 android.content.SharedPreferences.Editor#putString putString()} 等方法寫入的索引鍵與值。然後呼叫 {@link 97 android.content.SharedPreferences.Editor#commit} 以儲存變更。例如:</p> 101 SharedPreferences.Editor editor = sharedPref.edit();
|
/frameworks/base/docs/html-intl/intl/ja/training/basics/data-storage/ |
D | shared-preferences.jd | 92 android.content.SharedPreferences.Editor} を作成します。</p> 95 android.content.SharedPreferences.Editor#putInt putInt()} や {@link 96 android.content.SharedPreferences.Editor#putString putString()} などのメソッドを使用して、書き込む対象のキーと値を渡します。{@link 97 android.content.SharedPreferences.Editor#commit} を呼び出して変更を保存します。次に例を示します。</p> 101 SharedPreferences.Editor editor = sharedPref.edit();
|
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/ |
D | shared-preferences.jd | 92 android.content.SharedPreferences.Editor}를 생성해야 합니다.</p> 95 android.content.SharedPreferences.Editor#putInt putInt()} 및 {@link 96 android.content.SharedPreferences.Editor#putString putString()}과 같은 메서드를 사용하여 쓰고자 하는 키와 값을 전달합니다. 그… 97 android.content.SharedPreferences.Editor#commit}을 호출하여 변경 내용을 저장합니다. 예를 들면 다음과 같습니다.</p> 101 SharedPreferences.Editor editor = sharedPref.edit();
|
/frameworks/ex/common/java/com/android/common/ |
D | SharedPreferencesCompat.java | 32 Class cls = SharedPreferences.Editor.class; 39 public static void apply(SharedPreferences.Editor editor) { in apply()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | DragHandleUtils.java | 31 import android.widget.Editor; 55 return onView(allOf(withId(id), isAssignableFrom(Editor.HandleView.class))) in onHandleView()
|
D | TextViewActions.java | 30 import android.widget.Editor; 31 import android.widget.Editor.HandleView; 340 Editor.HandleView.class)); in dragHandle()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceManager.java | 61 private SharedPreferences.Editor mEditor; 427 SharedPreferences.Editor editor = in setDefaultValues() 442 SharedPreferences.Editor getEditor() { in getEditor()
|
D | Preference.java | 1351 private void tryCommit(@NonNull SharedPreferences.Editor editor) { in tryCommit() 1378 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistString() 1424 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistInt() 1468 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistFloat() 1512 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistLong() 1556 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistBoolean()
|
/frameworks/base/docs/html/training/basics/data-storage/ |
D | shared-preferences.jd | 92 android.content.SharedPreferences.Editor} by calling {@link 96 android.content.SharedPreferences.Editor#putInt putInt()} and {@link 97 android.content.SharedPreferences.Editor#putString putString()}. Then call {@link 98 android.content.SharedPreferences.Editor#commit} to save the changes. For example:</p> 102 SharedPreferences.Editor editor = sharedPref.edit();
|
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/data-storage/ |
D | shared-preferences.jd | 91 android.content.SharedPreferences.Editor} chamando {@link 95 android.content.SharedPreferences.Editor#putInt putInt()} e {@link 96 android.content.SharedPreferences.Editor#putString putString()}. Chame {@link 97 android.content.SharedPreferences.Editor#commit} para salvar as alterações. Por exemplo:</p> 101 SharedPreferences.Editor editor = sharedPref.edit();
|
/frameworks/base/core/java/android/preference/ |
D | Preference.java | 1083 public SharedPreferences.Editor getEditor() { in getEditor() 1412 private void tryCommit(SharedPreferences.Editor editor) { in tryCommit() 1446 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistString() 1496 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistStringSet() 1543 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistInt() 1587 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistFloat() 1631 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistLong() 1675 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistBoolean()
|
D | PreferenceManager.java | 95 private SharedPreferences.Editor mEditor; 611 SharedPreferences.Editor editor = in setDefaultValues() 632 SharedPreferences.Editor getEditor() { in getEditor()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | ApprovedPrintServices.java | 103 SharedPreferences.Editor editor = mPreferences.edit(); in addApprovedService() 153 SharedPreferences.Editor editor = mPreferences.edit(); in pruneApprovedServices()
|
/frameworks/support/v4/gingerbread/android/support/v4/content/ |
D | EditorCompatGingerbread.java | 23 public static void apply(@NonNull SharedPreferences.Editor editor) { in apply()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDexExtractor.java | 233 SharedPreferences.Editor edit = prefs.edit(); in putStoredApkInfo() 352 Class<?> cls = SharedPreferences.Editor.class; 359 private static void apply(SharedPreferences.Editor editor) { in apply()
|
/frameworks/base/packages/WAPPushManager/ |
D | proguard.flags | 6 -keep class android.content.SharedPreferences$Editor {
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetConfigure.java | 46 … SharedPreferences.Editor prefs = getSharedPreferences(TestAppWidgetProvider.PREFS_NAME, 0)
|
/frameworks/base/docs/html/distribute/googleplay/ |
D | about.jd | 20 <li><a href="#editors-choice">Editor's Choice, Top Developer, and Other Badges</a></li> 139 through the Featured, Staff Picks, and Editor’s Choice collections. 146 <h2 id="editors-choice">Editor's Choice, Top Developer, and Other Badges</h2>
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 707 SharedPreferences.Editor editor = preferences.edit(); in migratePhonebookPermissionChoice() 770 SharedPreferences.Editor editor = preferences.edit(); in migrateMessagePermissionChoice() 793 SharedPreferences.Editor editor = mContext.getSharedPreferences( in saveMessageRejectionCount()
|