Home
last modified time | relevance | path

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

/frameworks/base/sax/java/android/sax/
DElement.java35 final String localName; field in Element
48 Element(Element parent, String uri, String localName, int depth) { in Element() argument
51 this.localName = localName; in Element()
59 public Element getChild(String localName) { in getChild() argument
60 return getChild("", localName); in getChild()
66 public Element getChild(String uri, String localName) { in getChild() argument
76 return children.getOrCreate(this, uri, localName); in getChild()
85 public Element requireChild(String localName) { in requireChild() argument
86 return requireChild("", localName); in requireChild()
94 public Element requireChild(String uri, String localName) { in requireChild() argument
[all …]
DChildren.java30 Element getOrCreate(Element parent, String uri, String localName) { in getOrCreate() argument
31 int hash = uri.hashCode() * 31 + localName.hashCode(); in getOrCreate()
37 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate()
46 && current.localName.compareTo(localName) == 0) { in getOrCreate()
56 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate()
65 Element get(String uri, String localName) { in get() argument
66 int hash = uri.hashCode() * 31 + localName.hashCode(); in get()
76 && current.localName.compareTo(localName) == 0) { in get()
91 Child(Element parent, String uri, String localName, int depth, in Child() argument
93 super(parent, uri, localName, depth); in Child()
DRootElement.java76 public RootElement(String uri, String localName) { in RootElement() argument
77 super(null, uri, localName, 0); in RootElement()
86 public RootElement(String localName) { in RootElement() argument
87 this("", localName); in RootElement()
110 public void startElement(String uri, String localName, String qName, in startElement() argument
116 startRoot(uri, localName, attributes); in startElement()
132 Element child = children.get(uri, localName); in startElement()
140 void startRoot(String uri, String localName, Attributes attributes) in startRoot() argument
144 || root.localName.compareTo(localName) != 0) { in startRoot()
147 + Element.toString(uri, localName), locator); in startRoot()
[all …]
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DSafeSaxTest.java360 public void startElement(String uri, String localName, String qName, in startElement() argument
363 if (localName.equals("entry")) { in startElement()
372 if (!localName.equals("id") in startElement()
373 && !localName.equals("published") in startElement()
374 && !localName.equals("name")) { in startElement()
387 if (localName.equals("thumbnail")) { in startElement()
395 if (localName.equals("content")) { in startElement()
403 if (localName.equals("player")) { in startElement()
411 if (localName.equals("title") in startElement()
412 || localName.equals("category") in startElement()
[all …]
/frameworks/base/core/java/android/content/
DDefaultDataHandler.java133 public void startElement(String uri, String localName, String name, in startElement() argument
135 if (ROW.equals(localName)) { in startElement()
160 } else if (COL.equals(localName)) { in startElement()
175 } else if (DEL.equals(localName)){ in startElement()
195 throw new SAXException("unknown element: " + localName); in startElement()
199 public void endElement(String uri, String localName, String name) in endElement() argument
201 if (ROW.equals(localName)) { in endElement()
/frameworks/base/awt/javax/imageio/metadata/
DIIOMetadataNode.java233 public String getAttributeNS(String namespaceURI, String localName) throws DOMException { in getAttributeNS() argument
234 return getAttribute(localName); in getAttributeNS()
242 public void removeAttributeNS(String namespaceURI, String localName) throws DOMException { in removeAttributeNS() argument
243 removeAttribute(localName); in removeAttributeNS()
246 public Attr getAttributeNodeNS(String namespaceURI, String localName) throws DOMException { in getAttributeNodeNS() argument
247 return getAttributeNode(localName); in getAttributeNodeNS()
254 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) in getElementsByTagNameNS() argument
256 return getElementsByTagName(localName); in getElementsByTagNameNS()
263 public boolean hasAttributeNS(String namespaceURI, String localName) throws DOMException { in hasAttributeNS() argument
264 return hasAttribute(localName); in hasAttributeNS()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DFontLoader.java255 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
257 if (NODE_FONTS.equals(localName)) { in startElement()
260 } else if (NODE_FONT.equals(localName)) { in startElement()
269 } else if (NODE_NAME.equals(localName)) { in startElement()
271 } else if (NODE_FALLBACK.equals(localName)) { in startElement()
282 super.startElement(uri, localName, name, attributes); in startElement()
297 public void endElement(String uri, String localName, String name) throws SAXException { in endElement() argument
298 if (NODE_FONTS.equals(localName)) { in endElement()
300 } else if (NODE_FONT.equals(localName)) { in endElement()
302 } else if (NODE_NAME.equals(localName)) { in endElement()
[all …]
/frameworks/base/core/java/android/text/
DHtml.java729 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument
731 handleStartTag(localName, attributes); in startElement()
734 public void endElement(String uri, String localName, String qName) throws SAXException { in endElement() argument
735 handleEndTag(localName); in endElement()
/frameworks/base/services/java/com/android/server/
DBackupManagerService.java278 ComponentName localName = new ComponentName(context, LocalTransport.class); in BackupManagerService() local
279 registerTransport(localName.flattenToShortString(), mLocalTransport); in BackupManagerService()