Home
last modified time | relevance | path

Searched refs:Editor (Results 1 – 25 of 39) 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.java272 public Editor edit() { in edit()
302 public final class EditorImpl implements Editor {
306 public Editor putString(String key, String value) { in putString()
312 public Editor putStringSet(String key, Set<String> values) { in putStringSet()
319 public Editor putInt(String key, int value) { in putInt()
325 public Editor putLong(String key, long value) { in putLong()
331 public Editor putFloat(String key, float value) { in putFloat()
337 public Editor putBoolean(String key, boolean value) { in putBoolean()
344 public Editor remove(String key) { in remove()
351 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/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/core/java/android/preference/
DPreference.java1072 public SharedPreferences.Editor getEditor() { in getEditor()
1400 private void tryCommit(SharedPreferences.Editor editor) { in tryCommit()
1434 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistString()
1486 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistStringSet()
1535 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistInt()
1579 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistFloat()
1623 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistLong()
1667 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPrefs.java29 public static SharedPreferences.Editor edit(Context context) { in edit()
/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/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java233 SharedPreferences.Editor edit = prefs.edit(); in putStoredApkInfo()
358 Class<?> cls = SharedPreferences.Editor.class;
365 private static void apply(SharedPreferences.Editor editor) { in apply()
/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/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/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java125 SharedPreferences.Editor editor = prefs.edit();
/frameworks/base/docs/html/tools/sdk/
Declipse-adt.jd684 <li>Updated XML Editor to respond to refactoring shortcut keys such as <strong>Refactor
686 <li>Updated XML Editor to improve double click handling.</li>
693 <li>Added support for layout aliases in the Layout Editor.</li>
797 <li>Layout Editor
855 <li>Layout Editor
877 <li>Added the ability to specify a default action in Layout Editor views, which you can
1119 <li>Layout Editor (<a href="http://tools.android.com/recent/newlayouteditorpropertysheet">more
1291 <li>Updated Layout Editor so that it does not assign default ids to layouts, includes and
1295 <li>Added ability to export screenshots from the Layout Editor</li>
1302 <li>Fixed problem using Layout Editor with {@link android.widget.SlidingDrawer} which could
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java257 SharedPreferences.Editor editor = sp.edit(); in handleVoicemailTeleservice()
/frameworks/base/docs/html/tools/
Dindex.jd40 <li>Editor support for working with custom UI components.</li>
Dtools_toc.cs30 Using the Layout Editor</a></li>
/frameworks/base/
Dpreloaded-classes94 [Landroid.widget.Editor$TextDisplayList;
95 [Landroid.widget.Editor$TextViewPositionListener;
474 android.content.SharedPreferences$Editor
1619 android.widget.Editor
1620 android.widget.Editor$CursorAnchorInfoNotifier
1621 android.widget.Editor$HandleView
1622 android.widget.Editor$InputContentType
1623 android.widget.Editor$InputMethodState
1624 android.widget.Editor$InsertionHandleView
1625 android.widget.Editor$PositionListener
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGSMPhone.java940 SharedPreferences.Editor editor = sp.edit(); in storeVoiceMailNumber()
987 SharedPreferences.Editor editor = sp.edit(); in setVmSimImsi()
1660 SharedPreferences.Editor editor = sp.edit(); in saveClirSetting()
/frameworks/base/docs/html/training/efficient-downloads/
Dregular_updates.jd81 Editor spEdit = sp.edit();
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java253 SharedPreferences.Editor e = mDeviceProperties.edit(); in initDeviceProperties()
907 SharedPreferences.Editor e = mDeviceProperties.edit(); in setDeviceProperty()
/frameworks/base/core/java/android/widget/
DEditor.java119 public class Editor { class
223 Editor(TextView textView) { in Editor() method in Editor
1222 final Editor.InputMethodState ims = mInputMethodState; in reportExtractedText()
4080 Editor.this.mCorrectionHighlighter = null;
4161 final Editor mEditor;
4163 public UndoInputFilter(Editor editor) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java584 SharedPreferences.Editor spEditor = in setOperatorBrandOverride()

12