Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAttributeResolution.cpp205 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr, in ApplyStyle() argument
210 def_style_attr, def_style_resid, xml_parser); in ApplyStyle()
233 if (xml_parser != nullptr) { in ApplyStyle()
234 ssize_t idx = xml_parser->indexOfStyle(); in ApplyStyle()
235 if (idx >= 0 && xml_parser->getAttributeValue(idx, &value) >= 0) { in ApplyStyle()
272 XmlAttributeFinder xml_attr_finder(xml_parser); in ApplyStyle()
299 xml_parser->getAttributeValue(xml_attr_idx, &value); in ApplyStyle()
303 value_source_resid = xml_parser->getSourceResourceId(); in ApplyStyle()
406 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs, in RetrieveAttributes() argument
414 const size_t xml_attr_count = xml_parser->getAttributeCount(); in RetrieveAttributes()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DAttributeResolution.h54 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
60 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs,
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp158 xml::XmlPullParser xml_parser(fin.get()); in CompileTable() local
171 if (!res_parser.Parse(&xml_parser)) { in CompileTable()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1197 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeApplyStyle() local
1207 ApplyStyle(theme, xml_parser, static_cast<uint32_t>(def_style_attr), in NativeApplyStyle()
1325 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeRetrieveAttributes() local
1327 bool result = RetrieveAttributes(assetmanager.get(), xml_parser, in NativeRetrieveAttributes()
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp58 xml::XmlPullParser xml_parser(&in); in TEST() local
59 ASSERT_FALSE(parser.Parse(&xml_parser)); in TEST()