Home
last modified time | relevance | path

Searched refs:newNode (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DBaseLayoutRuleTest.java168 INode newNode = TestNode.create("a.w.B").id("@+id/foo").set("u", "key", "value").set("u", in testAddAttributes1() local
175 layout.addAttributes(newNode, oldElement, idMap, filter); in testAddAttributes1()
176 assertEquals("value", newNode.getStringAttr("u", "key")); in testAddAttributes1()
177 assertEquals("nothiddenvalue", newNode.getStringAttr("u", "nothidden")); in testAddAttributes1()
186 INode newNode = TestNode.create("a.w.B").id("@+id/foo").set("u", "key", "value").set("u", in testAddAttributes2() local
203 layout.addAttributes(newNode, oldElement, idMap, filter); in testAddAttributes2()
204 assertEquals("value", newNode.getStringAttr("u", "key")); in testAddAttributes2()
237 INode newNode = TestNode.create("a.w.B").id("@+id/foo"); in testAddInnerElements() local
240 layout.addInnerElements(newNode, oldElement, idMap); in testAddInnerElements()
241 assertEquals(2, newNode.getChildren().length); in testAddInnerElements()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DReplaceStringsVisitor.java97 ASTNode newNode = mAst.newQualifiedName(qualifierName, idName); in visit() local
121 mi2.arguments().add(newNode); in visit()
123 newNode = mi2; in visit()
129 mRewriter.replace(node, newNode, editGroup); in visit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DRulesEngine.java530 final IViewRule childRule, final INode newNode) { in callCreateHooks() argument
539 parentRule, parentNode, childRule, newNode); in callCreateHooks()
546 parentRule.onChildInserted(newNode, parentNode, insertType); in callCreateHooks()
554 childRule.onCreate(newNode, parentNode, insertType); in callCreateHooks()
DNodeProxy.java323 NodeProxy newNode = mFactory.create(uiNewView); in insertOrAppend() local
326 engine.callCreateHooks(editor, this, newNode, null); in insertOrAppend()
329 return newNode; in insertOrAppend()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseLayoutRule.java526 protected static void addAttributes(INode newNode, IDragElement oldElement, in addAttributes() argument
534 IAttributeInfo attrInfo = newNode.getAttributeInfo(uri, name); in addAttributes()
547 newNode.setAttribute(uri, name, value); in addAttributes()
557 protected static void addInnerElements(INode newNode, IDragElement oldElement, in addInnerElements() argument
562 INode childNode = newNode.appendChild(fqcn); in addInnerElements()