Home
last modified time | relevance | path

Searched refs:xmlNode (Results 1 – 18 of 18) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/
DUiItemElementNode.java44 Node xmlNode = getXmlNode(); in getShortDescription() local
45 if (xmlNode != null && xmlNode instanceof Element && xmlNode.hasAttributes()) { in getShortDescription()
47 Element elem = (Element) xmlNode; in getShortDescription()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiActions.java279 Node xmlNode = uiNode.getXmlNode(); in doUpInternal() local
281 if (xmlNode == null || nodeDesc == null) { in doUpInternal()
308 xmlPrev.appendChild(xmlParent.removeChild(xmlNode)); in doUpInternal()
309 outSelectXmlNode[0] = xmlNode; in doUpInternal()
317 xmlParent.removeChild(xmlNode), in doUpInternal()
319 outSelectXmlNode[0] = xmlNode; in doUpInternal()
341 xmlParent.removeChild(xmlNode), in doUpInternal()
343 outSelectXmlNode[0] = xmlNode; in doUpInternal()
461 Node xmlNode = uiNode.getXmlNode(); in doDownInternal() local
463 if (xmlNode == null || nodeDesc == null) { in doDownInternal()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParser.java152 Node xmlNode = uiNode.getXmlNode(); in getAttribute() local
154 if (xmlNode != null) { in getAttribute()
155 return xmlNode.getAttributes().item(i); in getAttribute()
364 Node xmlNode = uiNode.getXmlNode(); in getAttributeValue() local
366 if (xmlNode != null) { in getAttributeValue()
367 if (ATTR_LAYOUT.equals(localName) && VIEW_FRAGMENT.equals(xmlNode.getNodeName())) { in getAttributeValue()
368 String layout = FragmentMenu.getFragmentLayout(xmlNode); in getAttributeValue()
374 Node attribute = xmlNode.getAttributes().getNamedItemNS(namespace, localName); in getAttributeValue()
381 attribute = xmlNode.getAttributes().getNamedItemNS(AUTO_URI, localName); in getAttributeValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java791 public UiElementNode findXmlNode(Node xmlNode) { in findXmlNode() argument
792 if (xmlNode == null) { in findXmlNode()
795 if (getXmlNode() == xmlNode) { in findXmlNode()
800 UiElementNode found = uiChild.findXmlNode(xmlNode); in findXmlNode()
833 public boolean loadFromXmlNode(Node xmlNode) { in loadFromXmlNode() argument
834 boolean structureChanged = (mXmlNode != xmlNode); in loadFromXmlNode()
835 mXmlNode = xmlNode; in loadFromXmlNode()
836 if (xmlNode != null) { in loadFromXmlNode()
837 updateAttributeList(xmlNode); in loadFromXmlNode()
838 structureChanged |= updateElementList(xmlNode); in loadFromXmlNode()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadata.java330 Node xmlNode = uiNode.getXmlNode(); in getNodeBinding() local
332 String header = getProperty(xmlNode, KEY_LV_HEADER); in getNodeBinding()
333 String footer = getProperty(xmlNode, KEY_LV_FOOTER); in getNodeBinding()
334 String layout = getProperty(xmlNode, KEY_LV_ITEM); in getNodeBinding()
339 if (xmlNode instanceof Element && xmlNode.getNodeName().endsWith(GRID_VIEW)) { in getNodeBinding()
340 Element element = (Element) xmlNode; in getNodeBinding()
DListViewTypeMenu.java192 Node xmlNode = node.getXmlNode(); in getSelectedLayout() local
193 layout = LayoutMetadata.getProperty(xmlNode, KEY_LV_ITEM); in getSelectedLayout()
211 Node xmlNode = node.getXmlNode(); in setNewType() local
212 LayoutMetadata.setProperty(delegate.getEditor(), xmlNode, type, layout); in setNewType() local
DLintTooltipManager.java162 for (Node xmlNode : xmlNodes) { in computeNodes()
163 CanvasViewInfo v = viewHierarchy.findViewInfoFor(xmlNode); in computeNodes()
DSelectionManager.java554 /* package */ void select(Node xmlNode) { in select() argument
555 if (xmlNode == null) { in select()
557 } else if (xmlNode.getNodeType() == Node.TEXT_NODE) { in select()
558 xmlNode = xmlNode.getParentNode(); in select()
561 CanvasViewInfo vi = mCanvas.getViewHierarchy().findViewInfoFor(xmlNode); in select()
DFragmentMenu.java244 Node xmlNode = node.getXmlNode(); in setNewLayout() local
245 LayoutMetadata.setProperty(delegate.getEditor(), xmlNode, KEY_FRAGMENT_LAYOUT, in setNewLayout() local
DOutlinePage.java799 Node xmlNode = node.getXmlNode(); in update() local
800 if (xmlNode instanceof Element) { in update()
801 Element e = (Element) xmlNode; in update()
DLayoutCanvas.java1274 Node xmlNode = vi.getXmlNode(); in showXml() local
1275 if (xmlNode != null) { in showXml()
1276 boolean found = mEditorDelegate.getEditor().show(xmlNode); in showXml()
DGraphicalEditorPart.java648 public void select(Node xmlNode) { in select() argument
649 mCanvasViewer.getCanvas().getSelectionManager().select(xmlNode); in select()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeProxy.java309 Node xmlNode = uiNew.createXmlNode(); in insertOrAppend() local
311 if (!(uiNew instanceof UiViewElementNode) || xmlNode == null) { in insertOrAppend()
379 Node xmlNode = uiNode.getXmlNode(); in getStringAttr() local
380 if (xmlNode != null) { in getStringAttr()
381 NamedNodeMap nodeAttributes = xmlNode.getAttributes(); in getStringAttr()
443 Node xmlNode = uiNode.getXmlNode(); in getLiveAttributes() local
444 if (xmlNode != null) { in getLiveAttributes()
445 NamedNodeMap nodeAttributes = xmlNode.getAttributes(); in getLiveAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlEditor.java1283 public boolean show(Node xmlNode) {
1284 if (xmlNode instanceof IndexedRegion) {
1285 IndexedRegion region = (IndexedRegion)xmlNode;
1342 public String getXmlText(Node xmlNode) {
1347 if (xmlNode instanceof NodeContainer) {
1349 data = ((NodeContainer) xmlNode).getSource();
1350 } else if (xmlNode instanceof IndexedRegion && document != null) {
1352 IndexedRegion region = (IndexedRegion) xmlNode;
1512 public String getIndent(Node xmlNode) {
1513 return getIndent(getStructuredDocument(), xmlNode);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java150 Node xmlNode = getXmlNode(); in getIcon() local
151 if (xmlNode instanceof Element) { in getIcon()
152 String className = ((Element) xmlNode).getAttribute(ATTR_CLASS); in getIcon()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java205 Node xmlNode = uiNode.getXmlNode(); in VisualRefactoring() local
206 if (xmlNode instanceof IndexedRegion) { in VisualRefactoring()
207 IndexedRegion region = (IndexedRegion) xmlNode; in VisualRefactoring()
678 Node xmlNode = uiNode.getXmlNode(); in initElements() local
679 if (xmlNode instanceof Element) { in initElements()
680 Element element = (Element) xmlNode; in initElements()
DExtractIncludeRefactoring.java161 Node xmlNode = uiNode.getXmlNode(); in checkInitialConditions() local
162 if (xmlNode.getLocalName().equals(VIEW_INCLUDE)) { in checkInitialConditions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java799 Node xmlNode = uiNode.getXmlNode();
800 Attr attribute = ((Element) xmlNode).getAttributeNodeNS(