/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
AbsoluteLayoutRuleTest.java | 63 assertEquals("30dp", inserted.getStringAttr(ANDROID_URI, "layout_x")); 64 assertEquals("-10dp", inserted.getStringAttr(ANDROID_URI, "layout_y")); 73 assertEquals("30dp", inserted.getStringAttr(ANDROID_URI, "layout_x")); 74 assertEquals("-10dp", inserted.getStringAttr(ANDROID_URI, "layout_y"));
|
BaseLayoutRuleTest.java | 176 assertEquals("value", newNode.getStringAttr("u", "key")); 177 assertEquals("nothiddenvalue", newNode.getStringAttr("u", "nothidden")); 204 assertEquals("value", newNode.getStringAttr("u", "key")); 243 assertEquals("value2b", newNode.getChildren()[1].getStringAttr("uri", "childprop2b"));
|
LinearLayoutRuleTest.java | 99 assertEquals("@+id/Button01", targetNode.getChildren()[0].getStringAttr( 181 assertNull(node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION)); 196 String orientation = node.getStringAttr(ANDROID_URI, 201 orientation = node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION); 221 assertNull(node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION));
|
LayoutTestBase.java | 73 .getChildren()[currentIndex].getStringAttr(ANDROID_URI, ATTR_ID); 139 String actualId = targetNode.getChildren()[insertIndex].getStringAttr( 146 childrenIds.add(child.getStringAttr(ANDROID_URI, ATTR_ID));
|
TestNode.java | 180 public String getStringAttr(@Nullable String uri, @NonNull String attrName) { 218 String id = getStringAttr(ANDROID_URI, ATTR_ID); 312 String id = getStringAttr(ANDROID_URI, ATTR_ID); 386 public String getStringAttr(String uri, String name) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/ |
GridModelTest.java | 86 assertEquals("0", b1.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); 87 assertEquals("0", b1.getStringAttr(ANDROID_URI, ATTR_LAYOUT_ROW)); 89 assertEquals("1", b2.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); 90 assertEquals("0", b2.getStringAttr(ANDROID_URI, ATTR_LAYOUT_ROW)); 92 assertEquals("2", b3.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); 93 assertEquals("0", b3.getStringAttr(ANDROID_URI, ATTR_LAYOUT_ROW)); 95 assertEquals("0", b4.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); 96 assertEquals("1", b4.getStringAttr(ANDROID_URI, ATTR_LAYOUT_ROW)); 97 assertEquals("2", b4.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN_SPAN)); 106 assertEquals("0", b1.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/ |
DeletionHandlerTest.java | 110 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button2.getStringAttr(ANDROID_URI, 290 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button7.getStringAttr(ANDROID_URI, 352 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button1.getStringAttr(ANDROID_URI, 442 assertTrue(updated.contains(BaseViewRule.stripIdPrefix(button2.getStringAttr(ANDROID_URI,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
Match.java | 84 id = edge.node.getStringAttr(ANDROID_URI, ATTR_ID);
|
DeletionHandler.java | 73 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); 81 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); 90 String id = node.getStringAttr(ANDROID_URI, ATTR_ID);
|
ResizeHandler.java | 96 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); 103 addBounds(layout, layout.getStringAttr(ANDROID_URI, ATTR_ID), true, true); 190 String childId = child.getStringAttr(ANDROID_URI, ATTR_ID);
|
DependencyGraph.java | 66 String parentId = layout.getStringAttr(ANDROID_URI, ATTR_ID); 81 String id = child.getStringAttr(ANDROID_URI, ATTR_ID);
|
MoveHandler.java | 93 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); 108 String id = layout.getStringAttr(ANDROID_URI, ATTR_ID);
|
GuidelineHandler.java | 510 String centerBoth = n.getStringAttr(ANDROID_URI, ATTR_LAYOUT_CENTER_IN_PARENT); 609 } else if (n.getStringAttr(ANDROID_URI, marginAttribute) != null) { 633 String id = previous.getStringAttr(ANDROID_URI, ATTR_ID); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
LinearLayoutRule.java | 99 String orientation = node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION); 113 return VALUE_VERTICAL.equals(node.getStringAttr(ANDROID_URI, 150 String current = parentNode.getStringAttr(ANDROID_URI, ATTR_BASELINE_ALIGNED); 184 children.get(0).getStringAttr(ANDROID_URI, ATTR_LAYOUT_WEIGHT); 228 String weightSum = parentNode.getStringAttr(ANDROID_URI, 256 if (VALUE_WRAP_CONTENT.equals(target.getStringAttr(ANDROID_URI, sizeAttribute))) { 268 String size = target.getStringAttr(ANDROID_URI, sizeAttribute); 606 String weight = target.getStringAttr(ANDROID_URI, ATTR_LAYOUT_WEIGHT); 615 String size = target.getStringAttr(ANDROID_URI, sizeAttribute); [all...] |
BaseViewRule.java | 129 String currentWidth = selectedNode.getStringAttr(ANDROID_URI, ATTR_LAYOUT_WIDTH); 142 String currentHeight = selectedNode.getStringAttr(ANDROID_URI, ATTR_LAYOUT_HEIGHT); 224 ? (isStyle ? firstNode.getStringAttr(ATTR_STYLE, actionId) 225 : firstNode.getStringAttr(ANDROID_URI, actionId)) 256 values = n.getStringAttr(ANDROID_URI, actionId); 307 String oldValue = node.getStringAttr(ANDROID_URI, attribute); 362 String editIdLabel = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID) != null ? 651 String value = selectedNode.getStringAttr(ANDROID_URI, id); 670 String current = selectedNode.getStringAttr(ANDROID_URI, id); [all...] |
RelativeLayoutRule.java | 117 String a = childNode.getStringAttr(ANDROID_URI, propertyName); 380 if (VALUE_TRUE.equals(node.getStringAttr(ANDROID_URI, ATTR_LAYOUT_CENTER_IN_PARENT))) { 382 } else if (VALUE_TRUE.equals(node.getStringAttr(ANDROID_URI, 403 if (VALUE_TRUE.equals(node.getStringAttr(ANDROID_URI, ATTR_LAYOUT_CENTER_IN_PARENT))) { 405 } else if (VALUE_TRUE.equals(node.getStringAttr(ANDROID_URI,
|
BaseLayoutRule.java | 127 String all = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN); 128 String left = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_LEFT); 129 String right = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_RIGHT); 130 String top = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_TOP); 131 String bottom = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_BOTTOM); 179 first.getStringAttr(ANDROID_URI, attributeName), ICON_GRAVITY, 433 String id = root.getStringAttr(ANDROID_URI, ATTR_ID); [all...] |
GridLayoutRule.java | 275 String orientation = node.getStringAttr(getNamespace(node), ATTR_ORIENTATION);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridModel.java | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeProxy.java | 361 public String getStringAttr(@Nullable String uri, @NonNull String attrName) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionManager.java | [all...] |
DynamicContextMenu.java | 226 String id = parent.getStringAttr(ANDROID_URI, ATTR_ID);
|
LayoutActionBar.java | 170 label = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID);
|
/prebuilts/devtools/tools/lib/ |
rule-api.jar | |