Home
last modified time | relevance | path

Searched refs:getDepth (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.java180 assertEquals(0, DomUtilities.getDepth(document)); in testGetDepth()
182 assertEquals(1, DomUtilities.getDepth(a)); in testGetDepth()
183 assertEquals(2, DomUtilities.getDepth(b)); in testGetDepth()
184 assertEquals(2, DomUtilities.getDepth(c)); in testGetDepth()
185 assertEquals(3, DomUtilities.getDepth(d)); in testGetDepth()
186 assertEquals(3, DomUtilities.getDepth(e)); in testGetDepth()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DWidgetPullParser.java119 public int getDepth() { in getDepth() method in WidgetPullParser
DUiElementPullParser.java412 public int getDepth() { in getDepth() method in UiElementPullParser
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java292 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.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java125 public static int getDepth(@NonNull Node node) { in getDepth() method in DomUtilities