/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();
|
/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...] |
/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...] |
/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
|
/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);
|
/cts/tests/tests/content/src/android/content/cts/ |
SharedPreferencesTest.java | 97 // Do some initial operation on editor. No commit needed. 98 public abstract void setUp(SharedPreferences.Editor editor); 100 // Do some later operation on editor (e.g. a redundant edit). 102 public abstract void subsequentEdit(SharedPreferences.Editor editor); 112 SharedPreferences.Editor editor; local 118 editor = prefs.edit(); 119 setUp(editor); 241 SharedPreferences.Editor editor = prefs.edit(); local 278 SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/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...] |
/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/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...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
commit-log-editor | 90 my $editor = $ENV{SVN_LOG_EDITOR}; 91 $editor = $ENV{CVS_LOG_EDITOR} if !$editor; 92 $editor = "" if $editor && isCommitLogEditor($editor); 95 if (!$editor) { 96 my $builtEditorApplication = "$baseDir/Release/Commit Log Editor.app/Contents/MacOS/Commit Log Editor"; 98 $editor = $builtEditorApplication [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CityObj.java | 52 public void saveCityToSharedPrefs(SharedPreferences.Editor editor, int index) { 53 editor.putString (CITY_NAME + index, mCityName); 54 editor.putString (CITY_TIME_ZONE + index, mTimeZone); 55 editor.putString (CITY_ID + index, mCityId);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
LocalBluetoothPreferences.java | 120 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 121 editor.putString(KEY_LAST_SELECTED_DEVICE, 123 editor.putLong(KEY_LAST_SELECTED_DEVICE_TIME, 125 editor.apply(); 129 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 130 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); 131 editor.apply(); 139 SharedPreferences.Editor editor = getSharedPreferences(context).edit() 158 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local 164 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); local [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
LinesEditor.java | 17 package com.android.notificationstudio.editor;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
EditorPlaceHolder.java | 8 import com.android.gallery3d.filtershow.editors.Editor; 19 private HashMap<Integer, Editor> mEditors = new HashMap<Integer, Editor>(); 30 public void addEditor(Editor c) { 41 public Editor showEditor(int type) { 42 Editor editor = mEditors.get(type); local 43 if (editor == null) { 47 editor.createEditor(mActivity, mContainer); 48 editor.getImageShow().attach() [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
CircleTimerView.java | 225 SharedPreferences.Editor editor = prefs.edit(); local 226 editor.putBoolean (key + PREF_CTV_PAUSED, mPaused); 227 editor.putLong (key + PREF_CTV_INTERVAL, mIntervalTime); 228 editor.putLong (key + PREF_CTV_INTERVAL_START, mIntervalStartTime); 229 editor.putLong (key + PREF_CTV_CURRENT_INTERVAL, mCurrentIntervalTime); 230 editor.putLong (key + PREF_CTV_ACCUM_TIME, mAccumulatedTime); 231 editor.putLong (key + PREF_CTV_MARKER_TIME, mMarkerTime); 232 editor.putBoolean (key + PREF_CTV_TIMER_MODE, mTimerMode); 233 editor.apply() 248 SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
bookmark_editor_gtk_unittest.cc | 22 // Base class for bookmark editor tests. This class is a copy from 97 BookmarkEditorGtk editor(NULL, profile_.get(), NULL, 103 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_); 137 BookmarkEditorGtk editor(NULL, profile_.get(), NULL, 140 gtk_entry_set_text(GTK_ENTRY(editor.name_entry_), "new_a"); 143 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_); 145 editor.ApplyEdits(&bookmark_bar_node); 157 BookmarkEditorGtk editor(NULL, profile_.get(), NULL, 160 gtk_entry_set_text(GTK_ENTRY(editor.url_entry_), 164 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_) [all...] |
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/ |
bookmark_editor_gtk_unittest.cc | 27 // Base class for bookmark editor tests. This class is a copy from 109 BookmarkEditorGtk editor( 119 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_); 160 BookmarkEditorGtk editor(NULL, profile_.get(), NULL, 163 gtk_entry_set_text(GTK_ENTRY(editor.name_entry_), "new_a"); 166 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_); 168 editor.ApplyEdits(&bookmark_bar_node); 179 BookmarkEditorGtk editor(NULL, profile_.get(), NULL, 182 gtk_entry_set_text(GTK_ENTRY(editor.url_entry_), 186 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PersistentState.java | 46 * top text editor, but not of the bottom text editor. You can see the difference 120 SharedPreferences.Editor editor = getPreferences(0).edit(); local 121 editor.putString("text", mSaved.getText().toString()); 122 editor.putInt("selection-start", mSaved.getSelectionStart()); 123 editor.putInt("selection-end", mSaved.getSelectionEnd()); 124 editor.commit();
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
Settings.java | 20 import android.content.SharedPreferences.Editor; 55 Editor editor = mSharedPref.edit(); local 56 editor.putBoolean(ANDPY_CONFS_VIBRATE_KEY, mVibrate); 57 editor.putBoolean(ANDPY_CONFS_KEYSOUND_KEY, mKeySound); 58 editor.putBoolean(ANDPY_CONFS_PREDICTION_KEY, mPrediction); 59 editor.commit();
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
BasicSmsReceiverApp.java | 54 SharedPreferences.Editor editor = prefs.edit(); local 55 editor.putInt(PREF_KEY_NOTIFICATION_ID, notificationId); 56 editor.apply();
|