Home
last modified time | relevance | path

Searched refs:xmlParser (Results 1 – 8 of 8) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlDecoder.java113 XmlPullParser xmlParser = xmlParserFactory.newPullParser(); in decode() local
119 xmlParser.setInput(inputStream, null); in decode()
123 int eventType = xmlParser.getEventType(); in decode()
130 String name = xmlParser.getName(); in decode()
133 frameAndTickRate = parseFrameAndTickRates(xmlParser); in decode()
134 cellResolution = parseCellResolution(xmlParser, DEFAULT_CELL_RESOLUTION); in decode()
135 ttsExtent = parseTtsExtent(xmlParser); in decode()
138 Log.i(TAG, "Ignoring unsupported tag: " + xmlParser.getName()); in decode()
141 parseHeader(xmlParser, globalStyles, cellResolution, ttsExtent, regionMap, imageMap); in decode()
144 TtmlNode node = parseNode(xmlParser, parent, regionMap, frameAndTickRate); in decode()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution.java43 private ResXMLParser xmlParser; field in AttributeResolution.XmlAttributeFinder
45 public XmlAttributeFinder(ResXMLParser xmlParser) { in XmlAttributeFinder() argument
46 this.xmlParser = xmlParser; in XmlAttributeFinder()
50 if (xmlParser == null) { in find()
54 int attributeCount = xmlParser.getAttributeCount(); in find()
56 if (xmlParser.getAttributeNameResID(i) == curIdent) { in find()
226 …public static void ApplyStyle(ResTableTheme theme, ResXMLParser xmlParser, int defStyleAttr, int d… in ApplyStyle() argument
230 theme, defStyleAttr, defStyleRes, xmlParser); in ApplyStyle()
252 if (xmlParser != null) { in ApplyStyle()
253 int idx = xmlParser.indexOfStyle(); in ApplyStyle()
[all …]
DAttributeResolution10.java42 private ResXMLParser xmlParser; field in AttributeResolution10.XmlAttributeFinder
44 XmlAttributeFinder(ResXMLParser xmlParser) { in XmlAttributeFinder() argument
45 this.xmlParser = xmlParser; in XmlAttributeFinder()
49 if (xmlParser == null) { in Find()
53 int attributeCount = xmlParser.getAttributeCount(); in Find()
55 if (xmlParser.getAttributeNameResID(i) == curIdent) { in Find()
DAttributeResolution9.java38 private ResXMLParser xmlParser; field in AttributeResolution9.XmlAttributeFinder
40 XmlAttributeFinder(ResXMLParser xmlParser) { in XmlAttributeFinder() argument
41 this.xmlParser = xmlParser; in XmlAttributeFinder()
45 if (xmlParser == null) { in Find()
49 int attributeCount = xmlParser.getAttributeCount(); in Find()
51 if (xmlParser.getAttributeNameResID(i) == curIdent) { in Find()
/external/deqp/framework/common/
DtcuWaiverUtil.cpp185 xe::xml::Parser xmlParser; in readWaivedTestsFromXML() local
186xmlParser.feed(reinterpret_cast<const deUint8*>(wholeContent.c_str()), static_cast<int>(wholeConte… in readWaivedTestsFromXML()
187 xmlParser.advance(); in readWaivedTestsFromXML()
200 xe::xml::Element currElement = xmlParser.getElement(); in readWaivedTestsFromXML()
208 const char* elemName = xmlParser.getElementName(); in readWaivedTestsFromXML()
234 if (xmlParser.hasAttribute(m_vendorTag)) in readWaivedTestsFromXML()
236 vendorFound = matchVendor(xmlParser.getAttribute(m_vendorTag)); in readWaivedTestsFromXML()
240 waiverUrl = xmlParser.getAttribute("url"); in readWaivedTestsFromXML()
249 xmlParser.getDataStr(waivedDevice); in readWaivedTestsFromXML()
257 xmlParser.getDataStr(waivedCaseName); in readWaivedTestsFromXML()
[all …]
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/
DSsManifestParser.java71 XmlPullParser xmlParser = xmlParserFactory.newPullParser(); in parse() local
72 xmlParser.setInput(inputStream, null); in parse()
75 return (SsManifest) smoothStreamingMediaParser.parse(xmlParser); in parse()
110 public final Object parse(XmlPullParser xmlParser) throws XmlPullParserException, IOException { in parse() argument
115 int eventType = xmlParser.getEventType(); in parse()
118 tagName = xmlParser.getName(); in parse()
121 parseStartTag(xmlParser); in parse()
126 parseStartTag(xmlParser); in parse()
132 addChild(childElementParser.parse(xmlParser)); in parse()
139 parseText(xmlParser); in parse()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DXmlPullParserTest.java37 public void xmlParser() throws IOException, XmlPullParserException { in xmlParser() method in XmlPullParserTest
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java708 ResXMLParser xmlParser = xmlParserToken == 0 in applyStyle() local
711 AttributeResolution.ApplyStyle(theme, xmlParser, defStyleAttr, defStyleRes, in applyStyle()
802 ResXMLParser xmlParser = Registries.NATIVE_RES_XML_PARSERS.getNativeObject(xmlParserToken); in retrieveAttributes() local
834 …boolean result = AttributeResolution.RetrieveAttributes(res, xmlParser, src, NI, baseDest, indices… in retrieveAttributes()