HomeSort by relevance Sort by last modified time
    Searched refs:DomUtilities (Results 1 - 16 of 16) sorted by null

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DomUtilitiesTest.java 31 assertEquals("", DomUtilities.toXmlAttributeValue(""));
32 assertEquals("foo", DomUtilities.toXmlAttributeValue("foo"));
33 assertEquals("foo<bar", DomUtilities.toXmlAttributeValue("foo<bar"));
35 assertEquals("&quot;", DomUtilities.toXmlAttributeValue("\""));
36 assertEquals("&apos;", DomUtilities.toXmlAttributeValue("'"));
38 DomUtilities.toXmlAttributeValue("foo\"b''ar"));
39 assertEquals("<&quot;&apos;>&amp;", DomUtilities.toXmlAttributeValue("<\"'>&"));
44 DomUtilities.appendXmlAttributeValue(sb, "<\"'>&");
50 DomUtilities.appendXmlTextValue(sb, "<\"'>&");
64 assertFalse(DomUtilities.isEquivalent(null, null))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UnwrapRefactoring.java 26 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
104 if (DomUtilities.getChildren(first).size() == 0) {
111 List<Element> elements = DomUtilities.getChildren(mContainer);
134 if (DomUtilities.getChildren(mContainer).size() > 1) {
179 List<Element> elements = DomUtilities.getChildren(mContainer);
193 List<Element> children = DomUtilities.getChildren(mContainer);
ExtractIncludeRefactoring.java 46 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
266 Element other = DomUtilities.findCorresponding(element,
271 if (DomUtilities.isEquivalent(element, other)) {
283 DomUtilities.isContiguous(otherElements)) {
490 sb.append(DomUtilities.toXmlAttributeValue(value));
579 sb.append(DomUtilities.toXmlAttributeValue(width));
588 sb.append(DomUtilities.toXmlAttributeValue(height));
610 sb.append(DomUtilities.toXmlAttributeValue(attr.getNodeValue()));
RefactoringAssistant.java 22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
157 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset);
GridLayoutConverter.java 61 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
832 for (Element child : DomUtilities.getChildren(parent)) {
    [all...]
RelativeLayoutConversionHelper.java 68 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
427 for (Element child : DomUtilities.getChildren(linearLayout)) {
449 for (Element child : DomUtilities.getChildren(layout)) {
464 List<Element> children = DomUtilities.getChildren(layout);
    [all...]
ChangeLayoutRefactoring.java 49 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
332 for (Element child : DomUtilities.getChildren(layout)) {
VisualRefactoring.java 40 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
693 Pair<Element, Element> range = DomUtilities.getElementRange(doc,
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RefactoringTest.java 24 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
85 for (Element child : DomUtilities.getChildren(root)) {
134 org.w3c.dom.Document doc = DomUtilities.parseDocument(actual, true);
194 List<Element> children = DomUtilities.getChildren(element);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
XmlPrettyPrinterTest.java 18 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
46 Document document = DomUtilities.parseStructuredDocument(xml);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
XmlPrettyPrinter.java 26 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
115 Document document = DomUtilities.parseStructuredDocument(xml);
285 DomUtilities.appendXmlTextValue(mOut, text);
634 DomUtilities.appendXmlAttributeValue(mOut, attribute.getValue());
    [all...]
AndroidXmlFormattingStrategy.java 31 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
271 root = DomUtilities.getCommonAncestor(startNode, endNode);
272 initialDepth = DomUtilities.getDepth(root) - 1;
316 int depth = DomUtilities.getDepth(startNode) - 1;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
LayoutEditor.java 28 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
373 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DomUtilities.java 61 public class DomUtilities {
155 * node. This is not the same as just calling {@link DomUtilities#getNode} and taking
551 List<Element> siblings = DomUtilities.getChildren((Element) parent);
IncludeFinder.java 521 Document document = DomUtilities.parseDocument(xml, false /*logParserErrors*/);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
AndroidContentAssist.java 34 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities;
151 Pair<Node, Node> context = DomUtilities.getNodeContext(viewer.getDocument(), offset);
    [all...]

Completed in 217 milliseconds