/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | DomUtilitiesTest.java | 44 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/ |
D | UnwrapRefactoring.java | 27 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()
|
D | UseCompoundDrawableRefactoring.java | 51 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()
|
D | ExtractIncludeRefactoring.java | 46 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()
|
D | RefactoringAssistant.java | 23 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 173 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset); in computeQuickAssistProposals()
|
D | GridLayoutConverter.java | 65 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()
|
D | ChangeLayoutRefactoring.java | 50 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/ |
D | DocumentFix.java | 19 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 51 Node node = DomUtilities.getNode(document, start); in apply()
|
D | AddSuppressAttribute.java | 30 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/ |
D | TestNode.java | 37 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/ |
D | RenderPreviewList.java | 106 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()
|
D | LayoutMetadata.java | 244 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()
|
D | DomUtilities.java | 68 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/ |
D | RefactoringTest.java | 24 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/ |
D | EclipseXmlPrettyPrinter.java | 24 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 81 Document document = DomUtilities.parseStructuredDocument(xml); in prettyPrint()
|
D | AndroidXmlFormattingStrategy.java | 37 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/ |
D | EclipseXmlPrettyPrinterTest.java | 19 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/ |
D | ImportedProject.java | 26 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/ |
D | CompletionProposal.java | 27 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/ |
D | TemplateManager.java | 27 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 244 Document doc = DomUtilities.parseDocument(xml, true); in getTemplate()
|
D | Parameter.java | 29 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/ |
D | RenameResourceXmlTextAction.java | 30 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 241 Node node = DomUtilities.getNode(document, offset); in findItemDefinition()
|
D | AndroidPackageRenameParticipant.java | 35 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 122 Document document = DomUtilities.getDocument(mManifestFile); in checkConditions()
|
D | AndroidTypeRenameParticipant.java | 37 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/ |
D | AttributeInfoTest.java | 26 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 334 Document doc = DomUtilities.parseDocument(xml, false); in checkXmlFile()
|