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 | 139 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F() 207 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F() 285 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F()
|
D | Resources.proto | 253 StyledString styled_str = 4; 321 message StyledString { message 409 STRING = 0x02; // Allows String/StyledString values.
|
D | ResourceParser.cpp | 741 std::unique_ptr<StyledString> styled_string = in ParseXml() 742 util::make_unique<StyledString>(table_->string_pool.MakeRef( in ParseXml() 838 } else if (StyledString* string_value = ValueCast<StyledString>(out_resource->value.get())) { in ParseString()
|
D | ResourceUtils.cpp | 764 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 | 492 void Visit(const StyledString* str) override { in Visit() 493 pb::StyledString* pb_str = out_value_->mutable_item()->mutable_styled_str(); in Visit() 496 pb::StyledString::Span* pb_span = pb_str->add_span(); in Visit()
|
D | ProtoSerialize_test.cpp | 76 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)), in TEST() 157 StyledString* actual_styled_str = in TEST() 158 test::GetValue<StyledString>(&new_table, "com.app.a:string/styled"); in TEST()
|
D | ProtoDeserialize.cpp | 920 const pb::StyledString& pb_str = pb_item.styled_str(); in DeserializeItemFromPb() 922 for (const pb::StyledString::Span& pb_span : pb_str.span()) { in DeserializeItemFromPb() 925 return util::make_unique<StyledString>(value_pool->MakeRef( in DeserializeItemFromPb()
|