Searched refs:StyledString (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator_test.cpp | 32 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( in TEST() 33 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 54 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 79 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( in TEST() 80 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 101 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( in TEST() 102 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 124 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( in TEST() 125 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 161 std::unique_ptr<StyledString> original_string = in TEST() [all …]
|
D | PseudolocaleGenerator.h | 26 std::unique_ptr<StyledString> PseudolocalizeStyledString( 27 StyledString* string, Pseudolocalizer::Method method, StringPool* pool);
|
D | PseudolocaleGenerator.cpp | 67 static std::vector<UnifiedSpan> MergeSpans(const StyledString& string) { in MergeSpans() 112 std::unique_ptr<StyledString> PseudolocalizeStyledString(StyledString* string, in PseudolocalizeStyledString() 214 return util::make_unique<StyledString>(pool->MakeRef(localized)); in PseudolocalizeStyledString() 277 void Visit(StyledString* string) override { in Visit()
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 287 StyledString::StyledString(const StringPool::StyleRef& ref) : value(ref) { in StyledString() function in aapt::StyledString 290 bool StyledString::Equals(const Value* value) const { in Equals() 291 const StyledString* other = ValueCast<StyledString>(value); in Equals() 314 bool StyledString::Flatten(android::Res_value* out_value) const { in Flatten() 324 StyledString* StyledString::Clone(StringPool* new_pool) const { in Clone() 325 StyledString* str = new StyledString(new_pool->MakeRef(value)); in Clone() 332 void StyledString::Print(std::ostream* out) const { in Print()
|
D | ResourceValues.h | 240 struct StyledString : public BaseItem<StyledString> { struct 248 explicit StyledString(const StringPool::StyleRef& ref); argument 252 StyledString* Clone(StringPool* new_pool) const override;
|
D | ValueVisitor.h | 36 virtual void Visit(StyledString* value) { VisitItem(value); } in Visit() 67 virtual void Visit(const StyledString* value) { in Visit()
|
D | ResourceParser_test.cpp | 137 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F() 205 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F() 283 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F()
|
D | Resources.proto | 253 StyledString styled_str = 4; 313 message StyledString { message 398 STRING = 0x02; // Allows String/StyledString values.
|
D | ResourceParser.cpp | 738 std::unique_ptr<StyledString> styled_string = in ParseXml() 739 util::make_unique<StyledString>(table_->string_pool.MakeRef( in ParseXml() 837 } else if (StyledString* string_value = ValueCast<StyledString>(out_resource->value.get())) { in ParseString()
|
D | ResourceUtils.cpp | 758 return util::make_unique<StyledString>(dst_pool->MakeRef( in ParseBinaryResValue()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 123 template std::ostream& operator<<<StyledString>(std::ostream&, const StyledString&);
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 471 void Visit(const StyledString* str) override { in Visit() 472 pb::StyledString* pb_str = out_value_->mutable_item()->mutable_styled_str(); in Visit() 475 pb::StyledString::Span* pb_span = pb_str->add_span(); in Visit()
|
D | ProtoSerialize_test.cpp | 74 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)), in TEST() 153 StyledString* actual_styled_str = in TEST() 154 test::GetValue<StyledString>(&new_table, "com.app.a:string/styled"); in TEST()
|
D | ProtoDeserialize.cpp | 912 const pb::StyledString& pb_str = pb_item.styled_str(); in DeserializeItemFromPb() 914 for (const pb::StyledString::Span& pb_span : pb_str.span()) { in DeserializeItemFromPb() 917 return util::make_unique<StyledString>(value_pool->MakeRef( in DeserializeItemFromPb()
|