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.cpp71 StyleString style_string; in TEST() local
72 style_string.str = "hello"; in TEST()
73 style_string.spans.push_back(Span{"b", 0u, 4u}); in TEST()
76 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)), in TEST()
/frameworks/base/tools/aapt2/
DResourceParser.cpp733 StyleString style_string; in ParseXml() local
735 if (!FlattenXmlSubtree(parser, &raw_value, &style_string, &untranslatable_sections)) { in ParseXml()
739 if (!style_string.spans.empty()) { in ParseXml()
743 style_string, StringPool::Context(StringPool::Context::kNormalPriority, config_))); in ParseXml()
771 table_->string_pool.MakeRef(style_string.str, StringPool::Context(config_))); in ParseXml()