/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
CommonPreferences.java | 30 final SharedPreferences.Editor editor = pref.edit(); local 31 editor.putBoolean(id, true); 32 editor.apply(); 36 final SharedPreferences.Editor editor = pref.edit(); local 37 editor.putBoolean(id, false); 38 editor.apply();
|
/frameworks/support/v4/gingerbread/android/support/v4/content/ |
EditorCompatGingerbread.java | 23 public static void apply(@NonNull SharedPreferences.Editor editor) { 25 editor.apply(); 28 // SharedPreferences.Editor implementation without 30 editor.commit();
|
/frameworks/support/v4/java/android/support/v4/content/ |
SharedPreferencesCompat.java | 30 void apply(@NonNull SharedPreferences.Editor editor); 36 public void apply(@NonNull SharedPreferences.Editor editor) { 37 editor.commit(); 44 public void apply(@NonNull SharedPreferences.Editor editor) { 45 EditorCompatGingerbread.apply(editor); 66 public void apply(@NonNull SharedPreferences.Editor editor) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestEditorContributor.java | 31 * editor. Multi-page contributor replaces the contributors for the individual 32 * editors in the multi-page editor. 52 * Returns the action registed with the given text editor. 54 * @return IAction or null if editor is null. 56 protected IAction getAction(ITextEditor editor, String actionID) { 57 return (editor == null ? null : editor.getAction(actionID)); 75 ITextEditor editor = local 79 getAction(editor, ITextEditorActionConstants.DELETE)); 81 getAction(editor, ITextEditorActionConstants.UNDO)) [all...] |
/cts/tests/sample/src/android/sample/ |
SampleDeviceActivity.java | 22 import android.content.SharedPreferences.Editor; 48 // Get an editor to modify the preferences. 49 Editor editor = mPreferences.edit(); local 51 editor.putString(key, value); 53 editor.commit(); 70 // Get an editor to modify the preferences. 71 Editor editor = mPreferences.edit(); local 73 editor.clear() [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/ |
EmptyProperty.java | 13 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor; 14 import org.eclipse.wb.internal.core.model.property.editor.string.StringPropertyEditor; 32 public EmptyProperty(PropertyEditor editor) { 33 super(editor);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
IValueSourcePropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 18 * @coverage core.model.property.editor
|
/external/replicaisland/src/com/replica/replicaisland/ |
SetPreferencesActivity.java | 63 SharedPreferences.Editor editor = prefs.edit(); local 64 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); 65 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); 66 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); 67 editor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); 68 editor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); 69 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); 70 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); 71 editor.remove(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED) [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
SharedPreferencesTest.java | 98 SharedPreferences.Editor editor = prefs.edit().putString("test-key", null); local 100 editor.commit(); 107 // Do some initial operation on editor. No commit needed. 108 public abstract void setUp(SharedPreferences.Editor editor); 110 // Do some later operation on editor (e.g. a redundant edit). 112 public abstract void subsequentEdit(SharedPreferences.Editor editor); 122 SharedPreferences.Editor editor local 251 SharedPreferences.Editor editor = prefs.edit(); local 288 SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/complex/ |
IComplexPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor.complex; 14 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor; 20 * @coverage core.model.property.editor
|
/external/v8/src/compiler/ |
load-elimination.h | 16 explicit LoadElimination(Editor* editor) : AdvancedReducer(editor) {}
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
TimerDAO.java | 110 final SharedPreferences.Editor editor = prefs.edit(); local 114 editor.putInt(NEXT_TIMER_ID, id + 1); 119 editor.putStringSet(TIMER_IDS, timerIds); 122 editor.putInt(STATE + id, timer.getState().getValue()); 123 editor.putLong(LENGTH + id, timer.getLength()); 124 editor.putLong(TOTAL_LENGTH + id, timer.getTotalLength()); 125 editor.putLong(LAST_START_TIME + id, timer.getLastStartTime()); 126 editor.putLong(REMAINING_TIME + id, timer.getRemainingTime()); 127 editor.putString(LABEL + id, timer.getLabel()) 143 final SharedPreferences.Editor editor = prefs.edit(); local 163 final SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapWizard.java | 22 public UnwrapWizard(UnwrapRefactoring ref, LayoutEditorDelegate editor) { 23 super(ref, editor);
|
UseCompoundDrawableWizard.java | 22 UseCompoundDrawableWizard(UseCompoundDrawableRefactoring ref, LayoutEditorDelegate editor) { 23 super(ref, editor);
|
/frameworks/support/v4/kitkat/android/support/v4/media/session/ |
MediaSessionCompatApi19.java | 43 RemoteControlClient.MetadataEditor editor = ((RemoteControlClient) rccObj).editMetadata( local 45 MediaSessionCompatApi14.buildOldMetadata(metadata, editor); 46 addNewMetadata(metadata, editor); 48 editor.addEditableKey(RemoteControlClient.MetadataEditor.RATING_KEY_BY_USER); 50 editor.apply(); 67 static void addNewMetadata(Bundle metadata, RemoteControlClient.MetadataEditor editor) { 72 editor.putLong(MediaMetadataRetriever.METADATA_KEY_YEAR, 76 editor.putObject(MediaMetadataEditor.RATING_KEY_BY_OTHERS, 80 editor.putObject(MediaMetadataEditor.RATING_KEY_BY_USER,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
OverviewInfoPart.java | 38 public OverviewInfoPart(Composite body, FormToolkit toolkit, ManifestEditor editor) { 39 super(body, toolkit, editor, 40 getManifestUiNode(editor), // uiElementNode 50 private static UiElementNode getManifestUiNode(ManifestEditor editor) { 51 AndroidManifestDescriptors manifestDescriptors = editor.getManifestDescriptors(); 54 if (editor.getUiRootNode().getDescriptor() == desc) { 55 return editor.getUiRootNode(); 57 return editor.getUiRootNode().findUiChildNode(desc.getXmlName()); 62 // The editor will be reloaded once we have the proper descriptors anyway. 63 return editor.getUiRootNode() [all...] |
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
BroadcastIntentReceiver.java | 34 SharedPreferences.Editor editor = prefs.edit(); local 35 editor.putBoolean(OWNER_CHANGED_BROADCAST_RECEIVED_KEY, true); 36 editor.apply();
|
/frameworks/ex/common/java/com/android/common/ |
SharedPreferencesCompat.java | 25 * Reflection utils to call SharedPreferences$Editor.apply when possible, 32 Class cls = SharedPreferences.Editor.class; 39 public static void apply(SharedPreferences.Editor editor) { 42 sApplyMethod.invoke(editor); 50 editor.commit();
|
/packages/apps/Music/src/com/android/music/ |
SharedPreferencesCompat.java | 25 * Reflection utils to call SharedPreferences$Editor.apply when possible, 33 Class cls = SharedPreferences.Editor.class; 41 public static void apply(SharedPreferences.Editor editor) { 44 sApplyMethod.invoke(editor); 52 editor.commit();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/ |
PlainXmlEditorDelegate.java | 25 * Plain XML editor with no form for files that have no associated descriptor data 30 * Creates the form editor for plain XML files. 32 public PlainXmlEditorDelegate(CommonXmlEditor editor) { 33 super(editor, new OtherXmlContentAssist()); 34 editor.addDefaultTargetListener();
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/content/ |
TestSharedPreferencesTest.java | 24 private SharedPreferences.Editor editor; field in class:TestSharedPreferencesTest 32 editor = sharedPreferences.edit(); 33 editor.putBoolean("boolean", true); 34 editor.putFloat("float", 1.1f); 35 editor.putInt("int", 2); 36 editor.putLong("long", 3l); 37 editor.putString("string", "foobar"); 42 editor.commit(); 54 editor.commit() [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
LocalBluetoothPreferences.java | 136 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 137 editor.putString(KEY_LAST_SELECTED_DEVICE, 139 editor.putLong(KEY_LAST_SELECTED_DEVICE_TIME, 141 editor.apply(); 145 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 146 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); 147 editor.apply(); 155 SharedPreferences.Editor editor = getSharedPreferences(context).edit() 174 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 180 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
VisualVoicemailSettingsUtil.java | 62 SharedPreferences.Editor editor = prefs.edit(); local 63 editor.putBoolean( 65 editor.putBoolean( 68 editor.commit(); 105 SharedPreferences.Editor editor = prefs.edit(); local 107 editor.putString( 110 editor.putString( 113 editor.putString 142 SharedPreferences.Editor editor = local 151 SharedPreferences.Editor editor = local [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
LinesEditor.java | 17 package com.android.notificationstudio.editor;
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
BuglePrefsImpl.java | 85 final SharedPreferences.Editor editor = prefs.edit(); local 86 editor.putInt(key, value); 87 editor.apply(); 95 final SharedPreferences.Editor editor = prefs.edit(); local 96 editor.putLong(key, value); 97 editor.apply(); 105 final SharedPreferences.Editor editor = prefs.edit() local 115 final SharedPreferences.Editor editor = prefs.edit(); local 131 final SharedPreferences.Editor editor = prefs.edit(); local [all...] |