/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...] |
/packages/apps/Email/src/com/android/email/ |
Account.java | 264 SharedPreferences.Editor editor = preferences.mSharedPreferences.edit(); local 265 editor.putString("accountUuids", accountUuids); 267 editor.remove(mUuid + ".storeUri"); 268 editor.remove(mUuid + ".localStoreUri"); 269 editor.remove(mUuid + ".senderUri"); 270 editor.remove(mUuid + ".description"); 271 editor.remove(mUuid + ".name"); 272 editor.remove(mUuid + ".email"); 273 editor.remove(mUuid + ".automaticCheckIntervalMinutes") 328 SharedPreferences.Editor editor = preferences.mSharedPreferences.edit(); local 333 SharedPreferences.Editor editor = preferences.mSharedPreferences.edit(); local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
SharedPreferencesTest.java | 102 // Do some initial operation on editor. No commit needed. 103 public abstract void setUp(SharedPreferences.Editor editor); 105 // Do some later operation on editor (e.g. a redundant edit). 107 public abstract void subsequentEdit(SharedPreferences.Editor editor); 117 SharedPreferences.Editor editor; local 123 editor = prefs.edit(); 124 setUp(editor); 246 SharedPreferences.Editor editor = prefs.edit(); local 283 SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/external/webkit/WebCore/page/ |
ContextMenuController.cpp | 38 #include "Editor.h" 175 frame->editor()->copyURL(result.absoluteLinkURL(), result.textContent()); 187 frame->editor()->copyImage(result); 198 frame->editor()->copy(); 215 frame->editor()->cut(); 218 frame->editor()->paste(); 222 frame->editor()->performDelete(); 225 frame->editor()->command("SelectAll").execute(); 230 if (frame->editor()->shouldInsertText(item->title(), frame->selection()->toNormalizedRange().get(), EditorInsertActionPasted)) { 238 frame->editor()->ignoreSpelling() [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();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SharedPreferencesCompat.java | 25 * Reflection utils to call SharedPreferences$Editor.apply when possible, 33 return SharedPreferences.Editor.class.getMethod("apply"); 40 public static void apply(SharedPreferences.Editor editor) { 43 sApplyMethod.invoke(editor); 51 editor.commit();
|
Hints.java | 106 SharedPreferences.Editor editor = local 108 editor.putLong(PREF_VOICE_INPUT_LAST_TIME_USED, System.currentTimeMillis()); 109 SharedPreferencesCompat.apply(editor); 168 SharedPreferences.Editor editor = sp.edit(); local 169 editor.putInt(PREF_VOICE_HINT_NUM_UNIQUE_DAYS_SHOWN, numUniqueDaysShown + 1); 170 editor.putLong(PREF_VOICE_HINT_LAST_TIME_SHOWN, System.currentTimeMillis()); 171 SharedPreferencesCompat.apply(editor); 182 SharedPreferences.Editor editor = sp.edit() local [all...] |
/external/webkit/WebKit/haiku/WebCoreSupport/ |
EditorClientHaiku.cpp | 36 #include "Editor.h" 257 frame->editor()->deleteWithDirection(SelectionController::BACKWARD, 262 frame->editor()->deleteWithDirection(SelectionController::FORWARD, 291 frame->editor()->command("MoveUpByPageAndModifyCaret"); 294 frame->editor()->command("MoveDownByPageAndModifyCaret"); 297 frame->editor()->command("InsertLineBreak"); 309 frame->editor()->insertText(kevent->text(), event); 313 frame->editor()->command("SelectAll"); 316 frame->editor()->command("ToggleBold"); 319 frame->editor()->command("Copy") [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/Email/tests/src/com/android/email/ |
AccountUnitTests.java | 66 SharedPreferences.Editor editor = mPreferences.mSharedPreferences.edit(); local 67 editor.remove(mUuid + ".senderUri"); 68 editor.putString(mUuid + ".transportUri", Utility.base64Encode(TEST_VALUE)); 69 editor.commit(); 101 SharedPreferences.Editor editor = mPreferences.mSharedPreferences.edit(); local 102 editor.putString(mUuid + ".storeUri", Utility.base64Encode(STORE_URI_POP3)); 103 editor.putInt(mUuid + ".deletePolicy", Account.DELETE_POLICY_NEVER); 104 editor.commit() [all...] |
/packages/apps/Phone/src/com/android/phone/sip/ |
SipSharedPreferences.java | 47 SharedPreferences.Editor editor = mPreferences.edit(); local 48 editor.putString(KEY_PRIMARY_ACCOUNT, accountUri); 49 editor.apply(); 72 SharedPreferences.Editor editor = mPreferences.edit(); local 73 editor.putInt(KEY_NUMBER_OF_PROFILES, number); 74 editor.apply();
|
/external/webkit/WebKit/qt/WebCoreSupport/ |
EditorClientQt.cpp | 40 #include "Editor.h" 226 if (!frame->editor()->ignoreCompositionSelectionChange()) 260 if (m_inUndoRedo || (frame && !frame->editor()->lastEditCommand() /* HACK!! Don't recreate undos */)) { 376 // WebKit doesn't have enough information about mode to decide how commands that just insert text if executed via Editor should be treated, 379 if (cmd && frame->editor()->command(cmd).isTextInsertion() 394 frame->editor()->command("InsertLineBreak").execute(); 396 frame->editor()->command("InsertNewline").execute(); 400 frame->editor()->deleteWithDirection(SelectionController::BACKWARD, 404 frame->editor()->deleteWithDirection(SelectionController::FORWARD, 409 frame->editor()->command("MoveLeftAndModifySelection").execute() [all...] |
/external/proguard/src/proguard/classfile/editor/ |
NamedAttributeDeleter.java | 21 package proguard.classfile.editor;
|
SubclassAdder.java | 21 package proguard.classfile.editor;
|
SubclassToAdder.java | 21 package proguard.classfile.editor;
|
/external/webkit/WebCore/editing/ |
DeleteButton.cpp | 31 #include "Editor.h" 48 document()->frame()->editor()->deleteButtonController()->deleteTarget();
|
EditCommand.cpp | 34 #include "Editor.h" 50 setStartingSelection(avoidIntersectionWithNode(m_document->frame()->selection()->selection(), m_document->frame()->editor()->deleteButtonController()->containerElement())); 89 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); 99 frame->editor()->appliedEditing(this); 117 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); 124 frame->editor()->unappliedEditing(this); 142 DeleteButtonController* deleteButtonController = frame->editor()->deleteButtonController(); 149 frame->editor()->reappliedEditing(this);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
InputViewManager.java | 58 * @param editor The information about the editor 60 public void setPreferences(SharedPreferences pref, EditorInfo editor);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/ |
MenuTreePage.java | 24 import org.eclipse.ui.forms.editor.FormPage; 28 * Page for the menu form editor. 34 /** Container editor */ 37 public MenuTreePage(MenuEditor editor) { 38 super(editor, PAGE_ID, "Layout"); // tab's label, keep it short 39 mEditor = editor;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/xml/ |
XmlTreePage.java | 24 import org.eclipse.ui.forms.editor.FormPage; 28 * Page for the xml form editor. 34 /** Container editor */ 37 public XmlTreePage(XmlEditor editor) { 38 super(editor, PAGE_ID, "Structure"); // tab's label, keep it short 39 mEditor = editor;
|
/external/webkit/WebKit/wx/ |
WebFrame.cpp | 30 #include "Editor.h" 280 if (m_impl->frame && m_impl->frame->editor() && CanUndo()) 281 return m_impl->frame->editor()->undo(); 286 if (m_impl->frame && m_impl->frame->editor() && CanRedo()) 287 return m_impl->frame->editor()->redo(); 292 if (m_impl->frame && m_impl->frame->editor()) 293 return m_impl->frame->editor()->canUndo(); 300 if (m_impl->frame && m_impl->frame->editor()) 301 return m_impl->frame->editor()->canRedo(); 357 return (m_impl->frame->editor()->canCopy() || m_impl->frame->editor()->canDHTMLCopy()) [all...] |
/external/webkit/WebKitTools/Scripts/ |
commit-log-editor | 63 my $editor = $ENV{SVN_LOG_EDITOR}; 64 if (!$editor) { 65 $editor = $ENV{CVS_LOG_EDITOR}; 67 if (!$editor) { 68 my $builtEditorApplication = "$baseDir/Release/Commit Log Editor.app/Contents/MacOS/Commit Log Editor"; 69 $editor = $builtEditorApplication if -x $builtEditorApplication; 71 if (!$editor) { 72 my $builtEditorApplication = "$baseDir/Debug/Commit Log Editor.app/Contents/MacOS/Commit Log Editor"; [all...] |