Home
last modified time | relevance | path

Searched refs:localName (Results 1 – 14 of 14) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
DMockNamedNodeMap.java35 public MockXmlNode addAttribute(String namespace, String localName, String value) { in addAttribute() argument
36 MockXmlNode node = new MockXmlNode(namespace, localName, value); in addAttribute()
50 map.put(localName, node); in addAttribute()
74 public Node getNamedItemNS(String namespaceURI, String localName) throws DOMException { in getNamedItemNS() argument
81 return map.get(localName); in getNamedItemNS()
98 public Node removeNamedItemNS(String namespaceURI, String localName) throws DOMException { in removeNamedItemNS() argument
DMockXmlNode.java56 public MockXmlNode(String namespace, String localName, short node_type, in MockXmlNode() argument
58 mLocalName = localName; in MockXmlNode()
72 public MockXmlNode(String namespace, String localName, String value) { in MockXmlNode() argument
73 mLocalName = localName; in MockXmlNode()
94 public void addAttributes(String namespaceURI, String localName, String value) { in addAttributes() argument
99 MockXmlNode node = mAttributes.addAttribute(namespaceURI, localName, value); in addAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DContextPullParser.java145 public String getAttributeValue(String namespace, String localName) { in getAttributeValue() argument
146 if (ATTR_LAYOUT.equals(localName) && mFragmentLayout != null) { in getAttributeValue()
150 String value = super.getAttributeValue(namespace, localName); in getAttributeValue()
155 (ATTR_LAYOUT_WIDTH.equals(localName) || in getAttributeValue()
156 ATTR_LAYOUT_HEIGHT.equals(localName)) && in getAttributeValue()
DUiElementPullParser.java346 public String getAttributeValue(String namespace, String localName) { in getAttributeValue() argument
347 if (mExplodeNodes != null && ATTR_PADDING.equals(localName) && in getAttributeValue()
355 if (mZeroAttributeIsPadding && ATTR_PADDING.equals(localName) && in getAttributeValue()
367 if (ATTR_LAYOUT.equals(localName) && VIEW_FRAGMENT.equals(xmlNode.getNodeName())) { in getAttributeValue()
374 Node attribute = xmlNode.getAttributes().getNamedItemNS(namespace, localName); in getAttributeValue()
381 attribute = xmlNode.getAttributes().getNamedItemNS(AUTO_URI, localName); in getAttributeValue()
386 if (mIncreaseExistingPadding && ATTR_PADDING.equals(localName) && in getAttributeValue()
395 (ATTR_LAYOUT_WIDTH.equals(localName) || in getAttributeValue()
396 ATTR_LAYOUT_HEIGHT.equals(localName)) && in getAttributeValue()
DExplodedRenderingHelper.java116 String localName = view.getLocalName(); in computePadding() local
143 if ("LinearLayout".equals(localName)) { //$NON-NLS-1$ in computePadding()
150 } else if ("TableLayout".equals(localName)) { //$NON-NLS-1$ in computePadding()
152 } else if ("TableRow".equals(localName)) { //$NON-NLS-1$ in computePadding()
169 if (mLayoutNames.contains(localName)) { in computePadding()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestDragElement.java106 public IDragAttribute getAttribute(@Nullable String uri, @NonNull String localName) { in getAttribute() argument
108 return new TestAttribute(uri, localName, ""); in getAttribute()
111 return mAttributes.get(uri + localName); in getAttribute()
DTestNode.java210 public boolean setAttribute(@Nullable String uri, @NonNull String localName, in setAttribute() argument
212 mAttributes.put(uri + localName, new TestAttribute(uri, localName, value)); in setAttribute()
352 public boolean setAttribute(String uri, String localName, String value) { in setAttribute() argument
354 mElement.removeAttributeNS(uri, localName); in setAttribute()
356 mElement.setAttributeNS(uri, localName, value); in setAttribute()
358 return super.setAttribute(uri, localName, value); in setAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiManifestElementNode.java124 String localName) { in _Element_getAttributeNS() argument
126 return element.getAttributeNS(namespaceURI, localName); in _Element_getAttributeNS()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleElement.java118 public IDragAttribute getAttribute(@Nullable String uri, @NonNull String localName) { in getAttribute() argument
120 if (attr.getUri().equals(uri) && attr.getName().equals(localName)) { in getAttribute()
DRenderService.java583 public String getAttributeValue(String namespace, String localName) { in measureChildren()
589 String value = filter.getAttribute(node, namespace, localName); in measureChildren()
598 return super.getAttributeValue(namespace, localName); in measureChildren()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseLayoutRule.java632 @NonNull String localName) { in onResizeBegin()
634 if (ATTR_LAYOUT_WIDTH.equals(localName) in onResizeBegin()
638 if (ATTR_LAYOUT_HEIGHT.equals(localName) in onResizeBegin()
DLinearLayoutRule.java792 @NonNull String localName) {
795 if (ATTR_LAYOUT_WEIGHT.equals(localName)
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java347 String localName) { in _Element_getAttributeNS() argument
349 return element.getAttributeNS(namespaceURI, localName); in _Element_getAttributeNS()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandler.java473 public void startElement(String uri, String localName, String name, in processVariables()
598 public void startElement(String uri, String localName, String name, in execute()