Home
last modified time | relevance | path

Searched refs:xml_parser (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/
DAttributeResolution.cpp206 void ApplyStyle(ResTable::Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr, in ApplyStyle() argument
211 theme, def_style_attr, def_style_res, xml_parser); in ApplyStyle()
235 if (xml_parser != nullptr) { in ApplyStyle()
236 ssize_t idx = xml_parser->indexOfStyle(); in ApplyStyle()
237 if (idx >= 0 && xml_parser->getAttributeValue(idx, &value) >= 0) { in ApplyStyle()
279 XmlAttributeFinder xml_attr_finder(xml_parser); in ApplyStyle()
281 xml_parser != nullptr ? xml_parser->getAttributeCount() : 0; in ApplyStyle()
307 xml_parser->getAttributeValue(xml_attr_idx, &value); in ApplyStyle()
411 bool RetrieveAttributes(const ResTable* res, ResXMLParser* xml_parser, in RetrieveAttributes() argument
423 const size_t xml_attr_count = xml_parser->getAttributeCount(); in RetrieveAttributes()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DAttributeResolution.h51 void ApplyStyle(ResTable::Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
57 bool RetrieveAttributes(const ResTable* res, ResXMLParser* xml_parser, uint32_t* attrs,
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp206 xml::XmlPullParser xml_parser(fin); in CompileTable() local
217 if (!res_parser.Parse(&xml_parser)) { in CompileTable()
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp44 xml::XmlPullParser xml_parser(input); in TEST() local
45 ASSERT_FALSE(parser.Parse(&xml_parser)); in TEST()