/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 69 public interface Editor { interface 82 Editor putString(String key, @Nullable String value); in putString() 95 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet() 107 Editor putInt(String key, int value); in putInt() 119 Editor putLong(String key, long value); in putLong() 131 Editor putFloat(String key, float value); in putFloat() 143 Editor putBoolean(String key, boolean value); in putBoolean() 159 Editor remove(String key); in remove() 173 Editor clear(); in clear() 357 Editor edit(); in edit()
|
/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/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/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/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/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/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/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/support/compat/java/android/support/v4/content/ |
D | SharedPreferencesCompat.java | 30 public void apply(@NonNull SharedPreferences.Editor editor) { in apply() 55 public void apply(@NonNull 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-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/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/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/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/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()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Phone.java | 714 SharedPreferences.Editor editor = sp.edit(); in disableDnsCheck() 1210 SharedPreferences.Editor editor = sp.edit(); in updateSavedNetworkOperator() 1293 SharedPreferences.Editor editor = sp.edit(); in saveClirSetting() 1671 SharedPreferences.Editor editor = sp.edit(); in getCallForwardingIndicatorFromSharedPref() 1691 SharedPreferences.Editor editor = sp.edit(); in setCallForwardingIndicatorInSharedPref() 2118 SharedPreferences.Editor editor = sp.edit(); in setVoiceMessageCount() 2159 SharedPreferences.Editor editor = sp.edit(); in getStoredVoiceMessageCount() 2935 SharedPreferences.Editor spEditor = in setRoamingOverrideHelper()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 408 SharedPreferences.Editor editor = sharedPreferences.edit(); in testVoiceMailCount() 475 SharedPreferences.Editor editor = sharedPreferences.edit(); in testGetCallForwardingOption() 663 SharedPreferences.Editor editor = sp.edit(); in testCallForwardingIndicator()
|