Searched refs:xml_parser (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 91 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/ |
D | AttributeResolution.h | 56 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, 65 ResXMLParser* xml_parser,
|
/frameworks/base/tools/aapt2/cmd/ |
D | Compile.cpp | 168 xml::XmlPullParser xml_parser(fin.get()); in CompileTable() local 181 if (!res_parser.Parse(&xml_parser)) { in CompileTable()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 1189 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/ |
D | ResourceParser_test.cpp | 58 xml::XmlPullParser xml_parser(&in); in TEST() local 59 ASSERT_FALSE(parser.Parse(&xml_parser)); in TEST()
|