Home
last modified time | relevance | path

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

12

/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/devices/
DDeviceParser.java72 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
75 if (DeviceSchema.NODE_DEVICE.equals(localName)) { in startElement()
83 } else if (DeviceSchema.NODE_META.equals(localName)) { in startElement()
85 } else if (DeviceSchema.NODE_HARDWARE.equals(localName)) { in startElement()
87 } else if (DeviceSchema.NODE_SOFTWARE.equals(localName)) { in startElement()
89 } else if (DeviceSchema.NODE_STATE.equals(localName)) { in startElement()
98 } else if (DeviceSchema.NODE_CAMERA.equals(localName)) { in startElement()
100 } else if (DeviceSchema.NODE_RAM.equals(localName) in startElement()
101 || DeviceSchema.NODE_INTERNAL_STORAGE.equals(localName) in startElement()
102 || DeviceSchema.NODE_REMOVABLE_STORAGE.equals(localName)) { in startElement()
[all …]
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DApiParser.java54 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument
57 if (localName == null || localName.length() == 0) { in startElement()
58 localName = qName; in startElement()
62 if (NODE_API.equals(localName)) { in startElement()
65 } else if (NODE_CLASS.equals(localName)) { in startElement()
71 } else if (NODE_EXTENDS.equals(localName)) { in startElement()
77 } else if (NODE_IMPLEMENTS.equals(localName)) { in startElement()
83 } else if (NODE_METHOD.equals(localName)) { in startElement()
89 } else if (NODE_FIELD.equals(localName)) { in startElement()
98 super.startElement(uri, localName, qName, attributes); in startElement()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/
DGpxParser.java91 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
96 if (NODE_WAYPOINT.equals(localName)) { in startElement()
103 } else if (NODE_TRACK.equals(localName)) { in startElement()
109 } else if (NODE_TRACK_SEGMENT.equals(localName)) { in startElement()
112 } else if (NODE_TRACK_POINT.equals(localName)) { in startElement()
136 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument
138 if (NODE_WAYPOINT.equals(localName)) { in endElement()
140 } else if (NODE_TRACK.equals(localName)) { in endElement()
142 } else if (NODE_TRACK_POINT.equals(localName)) { in endElement()
144 } else if (NODE_NAME.equals(localName)) { in endElement()
[all …]
DKmlParser.java76 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
81 if (NODE_PLACEMARK.equals(localName)) { in startElement()
106 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument
108 if (NODE_PLACEMARK.equals(localName)) { in endElement()
110 } else if (NODE_NAME.equals(localName)) { in endElement()
114 } else if (NODE_COORDINATES.equals(localName)) { in endElement()
/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/sdk_common/src/com/android/ide/common/xml/
DAndroidManifestParser.java127 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
139 if (AndroidManifest.NODE_MANIFEST.equals(localName)) { in startElement()
159 if (AndroidManifest.NODE_APPLICATION.equals(localName)) { in startElement()
175 } else if (AndroidManifest.NODE_USES_SDK.equals(localName)) { in startElement()
182 } else if (AndroidManifest.NODE_INSTRUMENTATION.equals(localName)) { in startElement()
185 } else if (AndroidManifest.NODE_SUPPORTS_SCREENS.equals(localName)) { in startElement()
188 } else if (AndroidManifest.NODE_USES_CONFIGURATION.equals(localName)) { in startElement()
191 } else if (AndroidManifest.NODE_USES_FEATURE.equals(localName)) { in startElement()
231 if (AndroidManifest.NODE_ACTIVITY.equals(localName)) { in startElement()
234 } else if (AndroidManifest.NODE_SERVICE.equals(localName)) { in startElement()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DContextPullParser.java106 public String getAttributeValue(String namespace, String localName) { in getAttributeValue() argument
107 if (localName.equals(ATTR_LAYOUT) && mFragmentLayout != null) { in getAttributeValue()
111 String value = super.getAttributeValue(namespace, localName); in getAttributeValue()
116 (ATTR_LAYOUT_WIDTH.equals(localName) || in getAttributeValue()
117 ATTR_LAYOUT_HEIGHT.equals(localName)) && in getAttributeValue()
DUiElementPullParser.java349 public String getAttributeValue(String namespace, String localName) { in getAttributeValue() argument
350 if (mExplodeNodes != null && ATTR_PADDING.equals(localName) && in getAttributeValue()
358 if (mZeroAttributeIsPadding && ATTR_PADDING.equals(localName) && in getAttributeValue()
370 if (ATTR_LAYOUT.equals(localName) && VIEW_FRAGMENT.equals(xmlNode.getNodeName())) { in getAttributeValue()
377 Node attribute = xmlNode.getAttributes().getNamedItemNS(namespace, localName); in getAttributeValue()
384 attribute = xmlNode.getAttributes().getNamedItemNS(AUTO_URI, localName); in getAttributeValue()
389 if (mIncreaseExistingPadding && ATTR_PADDING.equals(localName) && in getAttributeValue()
398 (ATTR_LAYOUT_WIDTH.equals(localName) || in getAttributeValue()
399 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/device_validator/dvlib/src/com/android/dvlib/
DDeviceSchema.java265 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
267 if (NODE_DEVICE.equals(localName)) { in startElement()
270 } else if (NODE_STATE.equals(localName)) { in startElement()
297 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument
300 if (NODE_DEVICE.equals(localName) && !mDefaultSeen) { in endElement()
302 } else if (NODE_NAME.equals(localName)) { in endElement()
304 } else if (NODE_PATH.equals(localName) || NODE_SIXTY_FOUR.equals(localName) in endElement()
305 || NODE_SIXTEEN.equals(localName)) { in endElement()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DobjectNameManager.cpp41 ObjectLocalName localName = p_localName; in genName() local
44 localName = ++m_nextName; in genName()
45 } while( localName == 0 || m_localToGlobalMap.find(localName) != m_localToGlobalMap.end() ); in genName()
50 m_localToGlobalMap[localName] = globalName; in genName()
53 return localName; in genName()
194 ObjectLocalName localName = m_nameSpace[p_type]->genName(p_localName,true,genLocal); in genName() local
197 return localName; in genName()
230 ObjectLocalName localName = m_nameSpace[p_type]->getLocalName(p_globalName); in getLocalName() local
233 return localName; in getLocalName()
/sdk/anttargetprint/src/com/android/anttargetprint/
DBuildXmlHandler.java35 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument
53 super.startElement(uri, localName, qName, attributes); in startElement()
57 public void endElement(String uri, String localName, String qName) throws SAXException { in endElement() argument
59 super.endElement(uri, localName, qName); in endElement()
/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.java211 public boolean setAttribute(@Nullable String uri, @NonNull String localName, in setAttribute() argument
213 mAttributes.put(uri + localName, new TestAttribute(uri, localName, value)); in setAttribute()
353 public boolean setAttribute(String uri, String localName, String value) { in setAttribute() argument
355 mElement.removeAttributeNS(uri, localName); in setAttribute()
357 mElement.setAttributeNS(uri, localName, value); in setAttribute()
359 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/refactoring/core/
DRefactoringUtil.java85 final String localName) { in findAndroidAttributes() argument
95 && name.equals(localName)) { in findAndroidAttributes()
/sdk/sdk_common/src/com/android/ide/common/resources/
DValueResourceParser.java65 public void endElement(String uri, String localName, String qName) throws SAXException { in endElement() argument
85 super.endElement(uri, localName, qName); in endElement()
89 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument
184 super.startElement(uri, localName, qName, attributes); in startElement()
/sdk/uiautomatorviewer/src/com/android/uiautomator/tree/
DUiHierarchyXmlLoader.java69 public void startElement(String uri, String localName, String qName, in parseXml()
106 public void endElement(String uri, String localName, String qName) throws SAXException { in parseXml()
/sdk/rule_api/src/com/android/ide/common/api/
DIDragElement.java80 public abstract IDragAttribute getAttribute(@Nullable String uri, @NonNull String localName); in getAttribute() argument
DINode.java183 boolean setAttribute(@Nullable String uri, @NonNull String localName, @Nullable String value); in setAttribute() argument
DIClientRulesEngine.java279 @NonNull String localName); in getAttribute() argument
/sdk/device_validator/dvlib/tests/src/com/android/dvlib/
DDeviceSchemaTest.java235 public void startElement(String uri, String localName, String name, Attributes attributes) { in startElement() argument
261 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument
262 if (mReplacements.containsKey(localName)) { in endElement()
263 mCurrElement.appendChild(mDocument.createTextNode(mReplacements.get(localName))); in endElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderService.java434 public String getAttributeValue(String namespace, String localName) { in measureChildren()
440 String value = filter.getAttribute(node, namespace, localName); in measureChildren()
449 return super.getAttributeValue(namespace, localName); in measureChildren()
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()

12