/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/ |
D | GridModelTest.java | 86 assertEquals("0", b1.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); in testSplitColumn() 87 assertEquals("0", b1.getStringAttr(ANDROID_URI, ATTR_LAYOUT_ROW)); in testSplitColumn() 89 assertEquals("1", b2.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); in testSplitColumn() 90 assertEquals("0", b2.getStringAttr(ANDROID_URI, ATTR_LAYOUT_ROW)); in testSplitColumn() 92 assertEquals("2", b3.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); in testSplitColumn() 93 assertEquals("0", b3.getStringAttr(ANDROID_URI, ATTR_LAYOUT_ROW)); in testSplitColumn() 95 assertEquals("0", b4.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); in testSplitColumn() 96 assertEquals("1", b4.getStringAttr(ANDROID_URI, ATTR_LAYOUT_ROW)); in testSplitColumn() 97 assertEquals("2", b4.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN_SPAN)); in testSplitColumn() 106 assertEquals("0", b1.getStringAttr(ANDROID_URI, ATTR_LAYOUT_COLUMN)); in testSplitColumn() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | AbsoluteLayoutRuleTest.java | 63 assertEquals("30dp", inserted.getStringAttr(ANDROID_URI, "layout_x")); in testDragMiddle() 64 assertEquals("-10dp", inserted.getStringAttr(ANDROID_URI, "layout_y")); in testDragMiddle() 73 assertEquals("30dp", inserted.getStringAttr(ANDROID_URI, "layout_x")); in testDragMiddle() 74 assertEquals("-10dp", inserted.getStringAttr(ANDROID_URI, "layout_y")); in testDragMiddle()
|
D | BaseLayoutRuleTest.java | 176 assertEquals("value", newNode.getStringAttr("u", "key")); in testAddAttributes1() 177 assertEquals("nothiddenvalue", newNode.getStringAttr("u", "nothidden")); in testAddAttributes1() 204 assertEquals("value", newNode.getStringAttr("u", "key")); in testAddAttributes2() 243 assertEquals("value2b", newNode.getChildren()[1].getStringAttr("uri", "childprop2b")); in testAddInnerElements()
|
D | LinearLayoutRuleTest.java | 99 assertEquals("@+id/Button01", targetNode.getChildren()[0].getStringAttr( in dragIntoEmpty() 181 assertNull(node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION)); in testOrientation() 196 String orientation = node.getStringAttr(ANDROID_URI, in testOrientation() 201 orientation = node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION); in testOrientation() 221 assertNull(node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION)); in testProperties()
|
D | LayoutTestBase.java | 73 .getChildren()[currentIndex].getStringAttr(ANDROID_URI, ATTR_ID); in dragInto() 139 String actualId = targetNode.getChildren()[insertIndex].getStringAttr( in dragInto() 146 childrenIds.add(child.getStringAttr(ANDROID_URI, ATTR_ID)); in dragInto()
|
D | TestNode.java | 180 public String getStringAttr(@Nullable String uri, @NonNull String attrName) { in getStringAttr() method in TestNode 218 String id = getStringAttr(ANDROID_URI, ATTR_ID); in toString() 312 String id = getStringAttr(ANDROID_URI, ATTR_ID); in findById() 386 public String getStringAttr(String uri, String name) { in getStringAttr() method in TestNode.TestXmlNode
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/ |
D | DeletionHandlerTest.java | 110 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button2.getStringAttr(ANDROID_URI, in testSimple() 290 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button7.getStringAttr(ANDROID_URI, in testTransitive() 352 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button1.getStringAttr(ANDROID_URI, in testCenter() 442 assertTrue(updated.contains(BaseViewRule.stripIdPrefix(button2.getStringAttr(ANDROID_URI, in testMove()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | DeletionHandler.java | 73 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in DeletionHandler() 81 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); in DeletionHandler() 90 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); in DeletionHandler()
|
D | ResizeHandler.java | 96 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in ResizeHandler() 103 addBounds(layout, layout.getStringAttr(ANDROID_URI, ATTR_ID), true, true); in ResizeHandler() 190 String childId = child.getStringAttr(ANDROID_URI, ATTR_ID); in updateResize()
|
D | Match.java | 84 id = edge.node.getStringAttr(ANDROID_URI, ATTR_ID); in getConstraint()
|
D | DependencyGraph.java | 66 String parentId = layout.getStringAttr(ANDROID_URI, ATTR_ID); in DependencyGraph() 81 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in DependencyGraph()
|
D | MoveHandler.java | 93 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in MoveHandler() 108 String id = layout.getStringAttr(ANDROID_URI, ATTR_ID); in MoveHandler()
|
D | GuidelineHandler.java | 510 String centerBoth = n.getStringAttr(ANDROID_URI, ATTR_LAYOUT_CENTER_IN_PARENT); in applyConstraints() 609 } else if (n.getStringAttr(ANDROID_URI, marginAttribute) != null) { in applyMargin() 633 String id = previous.getStringAttr(ANDROID_URI, ATTR_ID); in attachPrevious()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | LinearLayoutRule.java | 99 String orientation = node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION); in getCurrentOrientation() 113 return VALUE_VERTICAL.equals(node.getStringAttr(ANDROID_URI, in isVertical() 150 String current = parentNode.getStringAttr(ANDROID_URI, ATTR_BASELINE_ALIGNED); in addLayoutActions() 184 children.get(0).getStringAttr(ANDROID_URI, ATTR_LAYOUT_WEIGHT); in addLayoutActions() 228 String weightSum = parentNode.getStringAttr(ANDROID_URI, in distributeWeights() 256 if (VALUE_WRAP_CONTENT.equals(target.getStringAttr(ANDROID_URI, sizeAttribute))) { in distributeWeights() 268 String size = target.getStringAttr(ANDROID_URI, sizeAttribute); in clearWeights() 606 String weight = target.getStringAttr(ANDROID_URI, ATTR_LAYOUT_WEIGHT); 615 String size = target.getStringAttr(ANDROID_URI, sizeAttribute); 1049 String weight = linearLayoutChild.getStringAttr(ANDROID_URI, ATTR_LAYOUT_WEIGHT); [all …]
|
D | BaseViewRule.java | 129 String currentWidth = selectedNode.getStringAttr(ANDROID_URI, ATTR_LAYOUT_WIDTH); in addContextMenuActions() 142 String currentHeight = selectedNode.getStringAttr(ANDROID_URI, ATTR_LAYOUT_HEIGHT); in addContextMenuActions() 224 ? (isStyle ? firstNode.getStringAttr(ATTR_STYLE, actionId) in addContextMenuActions() 225 : firstNode.getStringAttr(ANDROID_URI, actionId)) in addContextMenuActions() 256 values = n.getStringAttr(ANDROID_URI, actionId); in addContextMenuActions() 307 String oldValue = node.getStringAttr(ANDROID_URI, attribute); in addContextMenuActions() 362 String editIdLabel = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID) != null ? in addContextMenuActions() 651 String value = selectedNode.getStringAttr(ANDROID_URI, id); in createPropertyAction() 670 String current = selectedNode.getStringAttr(ANDROID_URI, id); in createPropertyAction() 795 String value = node.getStringAttr(ANDROID_URI, attribute); in isFilled()
|
D | RelativeLayoutRule.java | 117 String a = childNode.getStringAttr(ANDROID_URI, propertyName); in addAttr() 380 if (VALUE_TRUE.equals(node.getStringAttr(ANDROID_URI, ATTR_LAYOUT_CENTER_IN_PARENT))) { in centerHorizontally() 382 } else if (VALUE_TRUE.equals(node.getStringAttr(ANDROID_URI, in centerHorizontally() 403 if (VALUE_TRUE.equals(node.getStringAttr(ANDROID_URI, ATTR_LAYOUT_CENTER_IN_PARENT))) { in centerVertically() 405 } else if (VALUE_TRUE.equals(node.getStringAttr(ANDROID_URI, in centerVertically()
|
D | BaseLayoutRule.java | 127 String all = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN); in createMarginAction() 128 String left = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_LEFT); in createMarginAction() 129 String right = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_RIGHT); in createMarginAction() 130 String top = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_TOP); in createMarginAction() 131 String bottom = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_BOTTOM); in createMarginAction() 179 first.getStringAttr(ANDROID_URI, attributeName), ICON_GRAVITY, in createGravityAction() 433 String id = root.getStringAttr(ANDROID_URI, ATTR_ID); in collectExistingIds()
|
D | GridLayoutRule.java | 275 String orientation = node.getStringAttr(getNamespace(node), ATTR_ORIENTATION); in getCurrentOrientation()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridModel.java | 1865 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); in getId() 1892 || !SPACER_SIZE.equals(node.getStringAttr(ANDROID_URI, ATTR_LAYOUT_WIDTH))); in isColumnSpacer() 1905 || !SPACER_SIZE.equals(node.getStringAttr(ANDROID_URI, ATTR_LAYOUT_HEIGHT))); in isRowSpacer() 2340 return node.getStringAttr(getNamespace(), name); in getGridAttribute() 2354 String valueString = node.getStringAttr(getNamespace(), attribute); in getGridAttribute()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SelectionManager.java | 1206 String id = primary.getStringAttr(ANDROID_URI, ATTR_ID); in performRename() 1218 String currentId = primary.getStringAttr(ANDROID_URI, ATTR_ID); in performRename()
|
D | DynamicContextMenu.java | 226 String id = parent.getStringAttr(ANDROID_URI, ATTR_ID); in insertParentItems()
|
D | LayoutActionBar.java | 170 label = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID); in updateSelection()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | NodeProxy.java | 361 public String getStringAttr(@Nullable String uri, @NonNull String attrName) { in getStringAttr() method in NodeProxy
|