Home
last modified time | relevance | path

Searched refs:style_string (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp67 StyleString style_string; in TEST() local
68 style_string.str = "hello"; in TEST()
69 style_string.spans.push_back(Span{"b", 0u, 4u}); in TEST()
72 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)), in TEST()
/frameworks/base/tools/aapt2/
DResourceParser.cpp726 StyleString style_string; in ParseXml() local
728 if (!FlattenXmlSubtree(parser, &raw_value, &style_string, &untranslatable_sections)) { in ParseXml()
732 if (!style_string.spans.empty()) { in ParseXml()
736 style_string, StringPool::Context(StringPool::Context::kNormalPriority, config_))); in ParseXml()
764 table_->string_pool.MakeRef(style_string.str, StringPool::Context(config_))); in ParseXml()