/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/ |
D | UiItemElementNode.java | 44 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/ |
D | UiActions.java | 279 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/ |
D | UiElementPullParser.java | 152 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/ |
D | UiElementNode.java | 791 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/ |
D | LayoutMetadata.java | 330 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()
|
D | ListViewTypeMenu.java | 192 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
|
D | LintTooltipManager.java | 162 for (Node xmlNode : xmlNodes) { in computeNodes() 163 CanvasViewInfo v = viewHierarchy.findViewInfoFor(xmlNode); in computeNodes()
|
D | SelectionManager.java | 554 /* 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()
|
D | FragmentMenu.java | 244 Node xmlNode = node.getXmlNode(); in setNewLayout() local 245 LayoutMetadata.setProperty(delegate.getEditor(), xmlNode, KEY_FRAGMENT_LAYOUT, in setNewLayout() local
|
D | OutlinePage.java | 799 Node xmlNode = node.getXmlNode(); in update() local 800 if (xmlNode instanceof Element) { in update() 801 Element e = (Element) xmlNode; in update()
|
D | LayoutCanvas.java | 1274 Node xmlNode = vi.getXmlNode(); in showXml() local 1275 if (xmlNode != null) { in showXml() 1276 boolean found = mEditorDelegate.getEditor().show(xmlNode); in showXml()
|
D | GraphicalEditorPart.java | 648 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/ |
D | NodeProxy.java | 309 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/ |
D | AndroidXmlEditor.java | 1283 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/ |
D | UiViewElementNode.java | 150 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/ |
D | VisualRefactoring.java | 205 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()
|
D | ExtractIncludeRefactoring.java | 161 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/ |
D | AdtUtils.java | 799 Node xmlNode = uiNode.getXmlNode(); 800 Attr attribute = ((Element) xmlNode).getAttributeNodeNS(
|