Home
last modified time | relevance | path

Searched refs:node2 (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfoTest.java488 UiViewElementNode node2 = createNode(rootNode, "childNode2", false); in testMergeCookies2() local
490 MergeCookie cookie2 = new MergeCookie(node2); in testMergeCookies2()
518 Object cookie = (i % 2) == 0 ? node1 : node2; in testMergeCookies2()
540 UiViewElementNode node2 = createNode(rootNode, "childNode2", false); in testIncludeBounds() local
542 MergeCookie cookie2 = new MergeCookie(node2); in testIncludeBounds()
569 Object cookie = (i % 2) == 0 ? node1 : node2; in testIncludeBounds()
603 UiViewElementNode node2 = createNode(rootNode, "childNode2", false); in includeBounds2() local
606 ViewInfo childView2 = new ViewInfo("childView2", node2, 0, 40, 50, 60); in includeBounds2()
631 UiViewElementNode node2 = createNode(rootNode, "childNode2", false); in testCookieWorkaround() local
635 ViewInfo childView2 = new ViewInfo("childView2", node2, 0, 40, 50, 60); in testCookieWorkaround()
/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() argument
79 while (node2 != null) { in getCommonAncestor()
81 while (current != null && current != node2) { in getCommonAncestor()
84 if (current == node2) { in getCommonAncestor()
87 node2 = node2.getParentNode(); in getCommonAncestor()
/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() argument
2056 while (node2 != null) { in getCommonAncestor()
2058 while (current != null && current != node2) { in getCommonAncestor()
2061 if (current == node2) { in getCommonAncestor()
2064 node2 = node2.getUiParent(); in getCommonAncestor()