Home
last modified time | relevance | path

Searched refs:getCommonAncestor (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilitiesTest.java131 assertSame(a, DomUtilities.getCommonAncestor(a, a)); in testGetCommonAncestor()
142 assertSame(a, DomUtilities.getCommonAncestor(a, b)); in testGetCommonAncestor()
143 assertSame(a, DomUtilities.getCommonAncestor(b, a)); in testGetCommonAncestor()
144 assertSame(a, DomUtilities.getCommonAncestor(b, c)); in testGetCommonAncestor()
145 assertSame(a, DomUtilities.getCommonAncestor(b, d)); in testGetCommonAncestor()
146 assertSame(a, DomUtilities.getCommonAncestor(b, e)); in testGetCommonAncestor()
147 assertSame(a, DomUtilities.getCommonAncestor(a, e)); in testGetCommonAncestor()
149 assertSame(c, DomUtilities.getCommonAncestor(d, e)); in testGetCommonAncestor()
150 assertSame(c, DomUtilities.getCommonAncestor(c, e)); in testGetCommonAncestor()
151 assertSame(c, DomUtilities.getCommonAncestor(d, c)); in testGetCommonAncestor()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java291 root = DomUtilities.getCommonAncestor(startNode, endNode); in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java78 public static Node getCommonAncestor(@NonNull Node node1, @NonNull Node node2) { in getCommonAncestor() method in DomUtilities
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlEditor.java1169 mFormatNode = UiElementNode.getCommonAncestor(mFormatNode, node);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java2055 public static UiElementNode getCommonAncestor(UiElementNode node1, UiElementNode node2) { in getCommonAncestor() method in UiElementNode