Home
last modified time | relevance | path

Searched refs:uiRoot (Results 1 – 2 of 2) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtilsTest.java168 UiElementNode uiRoot = model.getUiRoot(); in testGetFreeWidgetId() local
170 assertEquals("@+id/button1", DescriptorsUtils.getFreeWidgetId(uiRoot, "Button")); in testGetFreeWidgetId()
172 DescriptorsUtils.getFreeWidgetId(uiRoot, "LinearLayout")); in testGetFreeWidgetId()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java820 public static String getFreeWidgetId(UiElementNode uiRoot, String name) {
825 return NEW_ID_PREFIX + getFreeWidgetId(uiRoot,
850 private static String getFreeWidgetId(UiElementNode uiRoot,
892 String id = uiRoot.getAttributeValue(ATTR_ID);
909 for (UiElementNode uiChild : uiRoot.getUiChildren()) {