/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/src/test/pkg/ |
D | SharedPrefsTest.java.txt | 13 SharedPreferences.Editor editor = preferences.edit(); 14 editor.putString("foo", "bar"); 15 editor.putInt("bar", 42); 16 editor.commit(); 23 SharedPreferences.Editor editor = preferences.edit(); 24 editor.putString("foo", "bar"); 25 editor.putInt("bar", 42); 27 editor.apply(); 35 SharedPreferences.Editor editor = preferences.edit(); 36 editor.putString("foo", "bar"); [all …]
|
D | SharedPrefsTest2.java.txt | 13 SharedPreferences.Editor editor = preferences.edit(); 17 Editor editor = preferences.edit();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestEditorContributor.java | 56 protected IAction getAction(ITextEditor editor, String actionID) { in getAction() argument 57 return (editor == null ? null : editor.getAction(actionID)); in getAction() 75 ITextEditor editor = in setActivePage() local 79 getAction(editor, ITextEditorActionConstants.DELETE)); in setActivePage() 81 getAction(editor, ITextEditorActionConstants.UNDO)); in setActivePage() 83 getAction(editor, ITextEditorActionConstants.REDO)); in setActivePage() 85 getAction(editor, ITextEditorActionConstants.CUT)); in setActivePage() 87 getAction(editor, ITextEditorActionConstants.COPY)); in setActivePage() 89 getAction(editor, ITextEditorActionConstants.PASTE)); in setActivePage() 91 getAction(editor, ITextEditorActionConstants.SELECT_ALL)); in setActivePage() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
D | OverviewInfoPart.java | 38 public OverviewInfoPart(Composite body, FormToolkit toolkit, ManifestEditor editor) { in OverviewInfoPart() argument 39 super(body, toolkit, editor, in OverviewInfoPart() 40 getManifestUiNode(editor), // uiElementNode in OverviewInfoPart() 50 private static UiElementNode getManifestUiNode(ManifestEditor editor) { in getManifestUiNode() argument 51 AndroidManifestDescriptors manifestDescriptors = editor.getManifestDescriptors(); in getManifestUiNode() 54 if (editor.getUiRootNode().getDescriptor() == desc) { in getManifestUiNode() 55 return editor.getUiRootNode(); in getManifestUiNode() 57 return editor.getUiRootNode().findUiChildNode(desc.getXmlName()); in getManifestUiNode() 63 return editor.getUiRootNode(); in getManifestUiNode()
|
D | InstrumentationPage.java | 30 import org.eclipse.ui.forms.editor.FormPage; 45 public InstrumentationPage(ManifestEditor editor) { in InstrumentationPage() argument 46 super(editor, PAGE_ID, "Instrumentation"); // tab's label, keep it short in InstrumentationPage() 47 mEditor = editor; in InstrumentationPage()
|
D | PermissionPage.java | 30 import org.eclipse.ui.forms.editor.FormPage; 49 public PermissionPage(ManifestEditor editor) { in PermissionPage() argument 50 super(editor, PAGE_ID, "Permissions"); // tab label, keep it short in PermissionPage() 51 mEditor = editor; in PermissionPage()
|
D | ApplicationPage.java | 33 import org.eclipse.ui.forms.editor.FormPage; 58 public ApplicationPage(ManifestEditor editor) { in ApplicationPage() argument 59 super(editor, PAGE_ID, "Application"); // tab's label, keep it short in ApplicationPage() 60 mEditor = editor; in ApplicationPage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | VisualRefactoringAction.java | 78 IEditorPart editor = null; in selectionChanged() local 82 editor = AdtUtils.getActiveEditor(); in selectionChanged() 83 mFile = getSelectedFile(editor); in selectionChanged() 88 editor = AdtUtils.getActiveEditor(); in selectionChanged() 89 mFile = getSelectedFile(editor); in selectionChanged() 93 mDelegate = LayoutEditorDelegate.fromEditor(editor); in selectionChanged() 113 private IFile getSelectedFile(IEditorPart editor) { in getSelectedFile() argument 114 if (editor != null) { in getSelectedFile() 115 IEditorInput input = editor.getEditorInput(); in getSelectedFile()
|
D | UseCompoundDrawableWizard.java | 22 UseCompoundDrawableWizard(UseCompoundDrawableRefactoring ref, LayoutEditorDelegate editor) { in UseCompoundDrawableWizard() argument 23 super(ref, editor); in UseCompoundDrawableWizard()
|
D | UnwrapWizard.java | 22 public UnwrapWizard(UnwrapRefactoring ref, LayoutEditorDelegate editor) { in UnwrapWizard() argument 23 super(ref, editor); in UnwrapWizard()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | AddSuppressAttribute.java | 51 private AddSuppressAttribute(AndroidXmlEditor editor, String id, IMarker marker, in AddSuppressAttribute() argument 53 mEditor = editor; in AddSuppressAttribute() 110 @NonNull AndroidXmlEditor editor, in createFix() 122 node = DomUtilities.getNode(editor.getStructuredDocument(), 0); in createFix() 127 node = DomUtilities.getNode(editor.getStructuredDocument(), offset); in createFix() 145 return new AddSuppressAttribute(editor, id, marker, element, desc); in createFix() 159 @NonNull AndroidXmlEditor editor, in createFixForAll() 168 Node node = DomUtilities.getNode(editor.getStructuredDocument(), 0); in createFixForAll() 173 return new AddSuppressAttribute(editor, id, marker, element, desc); in createFixForAll()
|
D | LintEditAction.java | 39 public LintEditAction(@NonNull IAction action, @NonNull AndroidXmlEditor editor) { in LintEditAction() argument 41 mEditor = editor; in LintEditAction()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LayoutWindowCoordinator.java | 235 private void sync(GraphicalEditorPart editor) { in sync() argument 237 editor.showStructureViews(true /*outline*/, true /*properties*/, true /*layout*/); in sync() 239 editor.showStructureViews(false /*outline*/, false /*properties*/, true /*layout*/); in sync() 240 editor.getCanvasControl().getOutlinePage().setShowPropertySheet(!mPropertiesOpen); in sync() 242 editor.showStructureViews(true /*outline*/, !mPropertiesOpen /*properties*/, in sync() 249 LayoutEditorDelegate editor = LayoutEditorDelegate.fromEditor((IEditorPart) part); in sync() local 250 if (editor != null) { in sync() 251 sync(editor.getGraphicalEditor()); in sync() 259 IEditorPart editor = activePage.getActiveEditor(); in syncActive() local 260 sync(editor); in syncActive()
|
D | RenderService.java | 104 private RenderService(GraphicalEditorPart editor) { in RenderService() argument 105 mEditor = editor; in RenderService() 107 mProject = editor.getProject(); in RenderService() 108 LayoutCanvas canvas = editor.getCanvasControl(); in RenderService() 110 ConfigurationChooser chooser = editor.getConfigurationChooser(); in RenderService() 116 mLayoutLib = editor.getReadyLayoutLib(true /*displayError*/); in RenderService() 117 mResourceResolver = editor.getResourceResolver(); in RenderService() 118 mProjectCallback = editor.getProjectCallback(true /*reset*/, mLayoutLib); in RenderService() 119 mMinSdkVersion = editor.getMinSdkVersion(); in RenderService() 120 mTargetSdkVersion = editor.getTargetSdkVersion(); in RenderService() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/ |
D | PlainXmlEditorDelegate.java | 32 public PlainXmlEditorDelegate(CommonXmlEditor editor) { in PlainXmlEditorDelegate() argument 33 super(editor, new OtherXmlContentAssist()); in PlainXmlEditorDelegate() 34 editor.addDefaultTargetListener(); in PlainXmlEditorDelegate()
|
D | OtherXmlTreePage.java | 28 import org.eclipse.ui.forms.editor.FormPage; 41 public OtherXmlTreePage(CommonXmlEditor editor) { in OtherXmlTreePage() argument 42 super(editor, PAGE_ID, "Structure"); // tab's label, keep it short in OtherXmlTreePage() 43 mEditor = editor; in OtherXmlTreePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/ |
D | MenuTreePage.java | 28 import org.eclipse.ui.forms.editor.FormPage; 41 public MenuTreePage(CommonXmlEditor editor) { in MenuTreePage() argument 42 super(editor, PAGE_ID, "Layout"); // tab's label, keep it short in MenuTreePage() 43 mEditor = editor; in MenuTreePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
D | ExportPropertiesPage.java | 24 import org.eclipse.ui.forms.editor.FormPage; 48 public ExportPropertiesPage(ExportEditor editor) { in ExportPropertiesPage() argument 49 super(editor, PAGE_ID, "Export Properties"); // tab's label, user visible, keep it short in ExportPropertiesPage() 50 mEditor = editor; in ExportPropertiesPage()
|
D | ExportLinksPart.java | 41 public ExportLinksPart(Composite body, FormToolkit toolkit, ExportEditor editor) { in ExportLinksPart() argument 77 mFormText.addHyperlinkListener(editor.createHyperlinkListener()); in ExportLinksPart() 110 public void onModelInit(ExportEditor editor) { in onModelInit() argument 121 public void onModelChanged(ExportEditor editor, DocumentEvent event) { in onModelChanged() argument
|
D | AbstractPropertiesFieldsPart.java | 52 public AbstractPropertiesFieldsPart(Composite body, FormToolkit toolkit, ExportEditor editor) { in AbstractPropertiesFieldsPart() argument 54 mEditor = editor; in AbstractPropertiesFieldsPart() 264 public void onModelInit(ExportEditor editor) { in onModelInit() argument 273 IDocument doc = editor.getDocument(); in onModelInit() 348 public void onModelChanged(ExportEditor editor, DocumentEvent event) { in onModelChanged() argument 353 onModelInit(editor); in onModelChanged()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | ResourceValueCompleter.java | 65 CommonXmlEditor editor = this.xmlProperty.getXmlEditor(); in getProposals() local 66 if (editor != null) { in getProposals() 68 editor, in getProposals() 89 static String[] computeResourceStringMatches(AndroidXmlEditor editor, in computeResourceStringMatches() argument 98 AndroidTargetData data = editor.getTargetData(); in computeResourceStringMatches() 106 AndroidTargetData data = editor.getTargetData(); in computeResourceStringMatches() 118 IProject project = editor.getProject(); in computeResourceStringMatches()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidXmlEditor.java | 67 import org.eclipse.ui.forms.editor.FormEditor; 68 import org.eclipse.ui.forms.editor.IFormPage; 282 IEditorPart editor = AdtUtils.getActiveEditor(); in getAdapter() local 283 if (editor instanceof AndroidXmlEditor) { in getAdapter() 284 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in getAdapter() 352 public int addPage(IEditorPart editor, IEditorInput input) throws PartInitException { 353 int index = super.addPage(editor, input); 354 if (editor instanceof IPageImageProvider) { 355 setPageImage(index, ((IPageImageProvider) editor).getPageImage()); 675 IEditorPart editor = getEditor(mTextPageIndex); [all …]
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
D | Editors.java | 17 package com.android.notificationstudio.editor; 69 Editor editor = EDITORS.get(item.getType()); in newEditor() local 70 if (editor == null) in newEditor() 72 Runnable updater = editor.bindEditor(editorView, item, new Runnable() { in newEditor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
D | ValuesTreePage.java | 34 import org.eclipse.ui.forms.editor.FormPage; 48 public ValuesTreePage(CommonXmlEditor editor) { in ValuesTreePage() argument 49 super(editor, PAGE_ID, "Resources"); // tab's label, keep it short in ValuesTreePage() 50 mEditor = editor; in ValuesTreePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/ |
D | ColorEditorDelegate.java | 62 private ColorEditorDelegate(CommonXmlEditor editor) { in ColorEditorDelegate() argument 63 super(editor, new ColorContentAssist()); in ColorEditorDelegate() 64 editor.addDefaultTargetListener(); in ColorEditorDelegate()
|