Home
last modified time | relevance | path

Searched refs:Editor (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/android/content/
DSharedPreferences.java68 public interface Editor { interface
81 Editor putString(String key, String value); in putString()
94 Editor putStringSet(String key, Set<String> values); in putStringSet()
106 Editor putInt(String key, int value); in putInt()
118 Editor putLong(String key, long value); in putLong()
130 Editor putFloat(String key, float value); in putFloat()
142 Editor putBoolean(String key, boolean value); in putBoolean()
158 Editor remove(String key); in remove()
172 Editor clear(); in clear()
354 Editor edit(); in edit()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java273 public Editor edit() { in edit()
303 public final class EditorImpl implements Editor {
307 public Editor putString(String key, String value) { in putString()
313 public Editor putStringSet(String key, Set<String> values) { in putStringSet()
320 public Editor putInt(String key, int value) { in putInt()
326 public Editor putLong(String key, long value) { in putLong()
332 public Editor putFloat(String key, float value) { in putFloat()
338 public Editor putBoolean(String key, boolean value) { in putBoolean()
345 public Editor remove(String key) { in remove()
352 public Editor clear() { in clear()
/frameworks/ex/common/java/com/android/common/
DSharedPreferencesCompat.java32 Class cls = SharedPreferences.Editor.class;
39 public static void apply(SharedPreferences.Editor editor) { in apply()
DOperationScheduler.java319 SharedPreferences.Editor editor = mStorage.edit(); in onTransientError()
/frameworks/base/core/java/android/preference/
DPreference.java1039 public SharedPreferences.Editor getEditor() { in getEditor()
1347 private void tryCommit(SharedPreferences.Editor editor) { in tryCommit()
1381 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistString()
1433 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistStringSet()
1482 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistInt()
1526 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistFloat()
1570 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistLong()
1614 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistBoolean()
DPreferenceManager.java93 private SharedPreferences.Editor mEditor;
487 SharedPreferences.Editor editor = in setDefaultValues()
508 SharedPreferences.Editor getEditor() { in getEditor()
/frameworks/base/docs/html/training/basics/data-storage/
Dshared-preferences.jd90 android.content.SharedPreferences.Editor} by calling {@link
94 android.content.SharedPreferences.Editor#putInt putInt()} and {@link
95 android.content.SharedPreferences.Editor#putString putString()}. Then call {@link
96 android.content.SharedPreferences.Editor#commit} to save the changes. For example:</p>
100 SharedPreferences.Editor editor = sharedPref.edit();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPrefs.java36 public static SharedPreferences.Editor edit(Context context) { in edit()
DDoNotDisturbController.java58 SharedPreferences.Editor editor = Prefs.edit(mContext); in onCheckedChanged()
/frameworks/base/packages/WAPPushManager/
Dproguard.flags6 -keep class android.content.SharedPreferences$Editor {
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DTestAppWidgetConfigure.java46 … SharedPreferences.Editor prefs = getSharedPreferences(TestAppWidgetProvider.PREFS_NAME, 0)
DAppWidgetHostActivity.java93 SharedPreferences.Editor prefs = getPreferences(0).edit(); in configureAppWidget()
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd98 android.content.SharedPreferences.Editor}.</li>
100 android.content.SharedPreferences.Editor#putBoolean(String,boolean) putBoolean()} and {@link
101 android.content.SharedPreferences.Editor#putString(String,String) putString()}.</li>
102 <li>Commit the new values with {@link android.content.SharedPreferences.Editor#commit()}</li>
133 // We need an Editor object to make preference changes.
136 SharedPreferences.Editor editor = settings.edit();
/frameworks/base/docs/html/tools/help/
Dadt.jd18 <li><a href="#graphical-editor">Graphical Layout Editor</a>
160 <dt><strong>Graphical Layout Editor</strong></dt>
166 Editor</a>.</dd>
168 <dt><strong>Android Manifest Editor</strong></dt>
173 <dt><strong>Menu Editor</strong></dt>
179 <dt><strong>Resources Editor</strong></dt>
184 <dt><strong>XML Resources Editor</strong></dt>
231 <h2 id="graphical-editor">Graphical Layout Editor</h2>
/frameworks/base/docs/html/tools/sdk/
Declipse-adt.jd165 <li>Updated XML Editor to respond to refactoring shortcut keys such as <strong>Refactor
167 <li>Updated XML Editor to improve double click handling.</li>
174 <li>Added support for layout aliases in the Layout Editor.</li>
277 <li>Layout Editor
334 <li>Layout Editor
356 <li>Added the ability to specify a default action in Layout Editor views, which you can
594 <li>Layout Editor (<a href="http://tools.android.com/recent/newlayouteditorpropertysheet">more
764 <li>Updated Layout Editor so that it does not assign default ids to layouts, includes and
768 <li>Added ability to export screenshots from the Layout Editor</li>
775 <li>Fixed problem using Layout Editor with {@link android.widget.SlidingDrawer} which could
[all …]
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java125 SharedPreferences.Editor editor = prefs.edit();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGSMPhone.java806 SharedPreferences.Editor editor = sp.edit(); in storeVoiceMailNumber()
831 SharedPreferences.Editor editor = sp.edit(); in setVmSimImsi()
1476 SharedPreferences.Editor editor = sp.edit(); in handleSetSelectNetwork()
1494 SharedPreferences.Editor editor = sp.edit(); in saveClirSetting()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCDMALTEPhone.java195 SharedPreferences.Editor editor = sp.edit(); in handleSetSelectNetwork()
DCdmaSMSDispatcher.java180 SharedPreferences.Editor editor = sp.edit(); in dispatchMessage()
/frameworks/base/docs/html/tools/
Dindex.jd40 <li>Editor support for working with custom UI components.</li>
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java209 SharedPreferences.Editor e = mDeviceProperties.edit(); in initDeviceProperties()
834 SharedPreferences.Editor e = mDeviceProperties.edit(); in setDeviceProperty()
/frameworks/base/docs/html/training/efficient-downloads/
Dregular_updates.jd81 Editor spEdit = sp.edit();
/frameworks/base/docs/html/training/improving-layouts/
Doptimizing-layout.jd146 … whenever you export an APK, edit and save an XML file or use the Layout Editor. To manually force…
/frameworks/base/docs/html/training/design-navigation/
Dwireframing.jd81 <p>Lastly, the XML Layout Editor that comes with the <a href="{@docRoot}tools/help/adt.html">Androi…
/frameworks/base/docs/html/distribute/googleplay/promote/
Dlinking.jd147 <tr><td>Editor's Choice</td><td>editors_choice</td></tr>

12