Home
last modified time | relevance | path

Searched refs:DomUtilities (Results 1 – 25 of 34) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilitiesTest.java44 assertFalse(DomUtilities.isEquivalent(null, null)); in testIsEquivalent()
46 assertFalse(DomUtilities.isEquivalent(null, root1)); in testIsEquivalent()
48 assertFalse(DomUtilities.isEquivalent(root2, null)); in testIsEquivalent()
49 assertTrue(DomUtilities.isEquivalent(root1, root2)); in testIsEquivalent()
53 assertTrue(DomUtilities.isEquivalent(root1, root2)); in testIsEquivalent()
55 assertTrue(DomUtilities.isEquivalent(root1, root2)); in testIsEquivalent()
60 assertFalse(DomUtilities.isEquivalent(root1, root2)); in testIsEquivalent()
62 assertTrue(DomUtilities.isEquivalent(root1, root2)); in testIsEquivalent()
65 assertFalse(DomUtilities.isEquivalent(root1, root2)); in testIsEquivalent()
67 assertTrue(DomUtilities.isEquivalent(root1, root2)); in testIsEquivalent()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DUnwrapRefactoring.java27 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
108 if (DomUtilities.getChildren(first).size() == 0) { in checkInitialConditions()
115 List<Element> elements = DomUtilities.getChildren(mContainer); in checkInitialConditions()
138 if (DomUtilities.getChildren(mContainer).size() > 1) { in checkInitialConditions()
186 List<Element> elements = DomUtilities.getChildren(mContainer); in computeChanges()
200 List<Element> children = DomUtilities.getChildren(mContainer); in computeChanges()
DUseCompoundDrawableRefactoring.java51 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
155 List<Element> children = DomUtilities.getChildren(layout); in checkInitialConditions()
224 List<Element> children = DomUtilities.getChildren(layout); in computeChanges()
246 Document tempDocument = DomUtilities.createEmptyDocument(); in computeChanges()
DExtractIncludeRefactoring.java46 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
273 Element other = DomUtilities.findCorresponding(element, in computeChanges()
278 if (DomUtilities.isEquivalent(element, other)) { in computeChanges()
290 DomUtilities.isContiguous(otherElements)) { in computeChanges()
DRefactoringAssistant.java23 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
173 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset); in computeQuickAssistProposals()
DGridLayoutConverter.java65 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
856 for (Element child : DomUtilities.getChildren(parent)) { in analyzeKnownLayouts()
877 List<Element> children = DomUtilities.getChildren(parent); in analyzeKnownLayouts()
DChangeLayoutRefactoring.java50 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
339 for (Element child : DomUtilities.getChildren(layout)) { in addMissingWrapContentAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DDocumentFix.java19 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
51 Node node = DomUtilities.getNode(document, start); in apply()
DAddSuppressAttribute.java30 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
153 node = DomUtilities.getNode(editor.getStructuredDocument(), 0); in createFixes()
158 node = DomUtilities.getNode(editor.getStructuredDocument(), offset); in createFixes()
227 Node node = DomUtilities.getNode(editor.getStructuredDocument(), 0); in createFixForAll()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestNode.java37 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
244 Document document = DomUtilities.parseDocument(xml, false); in createFromXml()
257 document = DomUtilities.parseDocument(xml, false); in toXml()
298 for (Element child : DomUtilities.getChildren(element)) { in createFromNode()
374 List<Element> children = DomUtilities.getChildren(mElement); in insertChildAt()
408 List<Element> children = DomUtilities.getChildren(mElement); in removeChild()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreviewList.java106 Document document = DomUtilities.createEmptyDocument(); in save()
120 Document document = DomUtilities.parseDocument(xml, true); in load()
124 List<Element> elements = DomUtilities.getChildren(document.getDocumentElement()); in load()
DLayoutMetadata.java244 Document doc = DomUtilities.getDocument(editor); in setPropertyInEditor()
246 Element element = DomUtilities.findCorresponding(equivalentElement, doc); in setPropertyInEditor()
270 Document doc = DomUtilities.getDocument(variation); in setPropertyInFile()
272 Element other = DomUtilities.findCorresponding(element, doc); in setPropertyInFile()
DDomUtilities.java68 public class DomUtilities { class
596 List<Element> siblings = DomUtilities.getChildren((Element) parent); in isContiguous()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringTest.java24 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
85 for (Element child : DomUtilities.getChildren(root)) { in findElementById()
137 org.w3c.dom.Document doc = DomUtilities.parseDocument(actual, true); in checkEdits()
198 List<Element> children = DomUtilities.getChildren(element); in createModel()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinter.java24 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
81 Document document = DomUtilities.parseStructuredDocument(xml); in prettyPrint()
DAndroidXmlFormattingStrategy.java37 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
291 root = DomUtilities.getCommonAncestor(startNode, endNode); in format()
292 initialDepth = root != null ? DomUtilities.getDepth(root) - 1 : 0; in format()
336 int depth = DomUtilities.getDepth(startNode) - 1; in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinterTest.java19 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
52 IStructuredModel model = DomUtilities.createStructuredModel(xml); in checkFormat()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DImportedProject.java26 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
167 Document doc = DomUtilities.parseDocument(xml, false); in findEclipseProjectName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DCompletionProposal.java27 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
197 Document dom = DomUtilities.getDocument(mAssist.getEditor()); in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateManager.java27 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
244 Document doc = DomUtilities.parseDocument(xml, true); in getTemplate()
DParameter.java29 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
276 return DomUtilities.getChildren(element); in getOptions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextAction.java30 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
241 Node node = DomUtilities.getNode(document, offset); in findItemDefinition()
DAndroidPackageRenameParticipant.java35 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
122 Document document = DomUtilities.getDocument(mManifestFile); in checkConditions()
DAndroidTypeRenameParticipant.java37 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
478 List<Element> topLevel = DomUtilities.getChildren(root); in addValueReplacements()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/
DAttributeInfoTest.java26 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
334 Document doc = DomUtilities.parseDocument(xml, false); in checkXmlFile()

12