Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAttributeResolution.cpp91 ResXMLParser* xml_parser, in GetXmlStyleBag() argument
93 if (xml_parser == nullptr) { in GetXmlStyleBag()
99 const ssize_t idx = xml_parser->indexOfStyle(); in GetXmlStyleBag()
100 if (idx < 0 || xml_parser->getAttributeValue(idx, &value) < 0) { in GetXmlStyleBag()
220 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, in ApplyStyle() argument
226 def_style_attr, def_style_resid, xml_parser); in ApplyStyle()
241 const auto xml_style_bag = GetXmlStyleBag(theme, xml_parser, &def_style_theme_flags); in ApplyStyle()
248 XmlAttributeFinder xml_attr_finder(xml_parser); in ApplyStyle()
268 xml_parser->getAttributeValue(xml_attr_idx, &attribute_value); in ApplyStyle()
271 value_source_resid = xml_parser->getSourceResourceId(); in ApplyStyle()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DAttributeResolution.h56 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser,
65 ResXMLParser* xml_parser,
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp168 xml::XmlPullParser xml_parser(fin.get()); in CompileTable() local
181 if (!res_parser.Parse(&xml_parser)) { in CompileTable()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1189 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeApplyStyle() local
1199 ApplyStyle(theme, xml_parser, static_cast<uint32_t>(def_style_attr), in NativeApplyStyle()
1320 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeRetrieveAttributes() local
1322 RetrieveAttributes(assetmanager.get(), xml_parser, reinterpret_cast<uint32_t*>(attrs), 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()