Home
last modified time | relevance | path

Searched refs:getStringAttr (Results 1 – 23 of 23) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
DGridModelTest.java86 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/
DAbsoluteLayoutRuleTest.java63 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()
DBaseLayoutRuleTest.java176 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()
DLinearLayoutRuleTest.java99 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()
DLayoutTestBase.java73 .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()
DTestNode.java180 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/
DDeletionHandlerTest.java110 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/
DDeletionHandler.java73 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()
DResizeHandler.java96 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()
DMatch.java84 id = edge.node.getStringAttr(ANDROID_URI, ATTR_ID); in getConstraint()
DDependencyGraph.java66 String parentId = layout.getStringAttr(ANDROID_URI, ATTR_ID); in DependencyGraph()
81 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in DependencyGraph()
DMoveHandler.java93 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); in MoveHandler()
108 String id = layout.getStringAttr(ANDROID_URI, ATTR_ID); in MoveHandler()
DGuidelineHandler.java510 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/
DLinearLayoutRule.java99 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 …]
DBaseViewRule.java129 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()
DRelativeLayoutRule.java117 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()
DBaseLayoutRule.java127 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()
DGridLayoutRule.java275 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/
DGridModel.java1865 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/
DSelectionManager.java1206 String id = primary.getStringAttr(ANDROID_URI, ATTR_ID); in performRename()
1218 String currentId = primary.getStringAttr(ANDROID_URI, ATTR_ID); in performRename()
DDynamicContextMenu.java226 String id = parent.getStringAttr(ANDROID_URI, ATTR_ID); in insertParentItems()
DLayoutActionBar.java170 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/
DNodeProxy.java361 public String getStringAttr(@Nullable String uri, @NonNull String attrName) { in getStringAttr() method in NodeProxy