Searched refs:StyledString (Results 1 – 17 of 17) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator_test.cpp | 33 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( in TEST() 34 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 55 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 80 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( in TEST() 81 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 102 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( in TEST() 103 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 125 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( in TEST() 126 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST() 162 std::unique_ptr<StyledString> original_string = in TEST() [all …]
|
D | PseudolocaleGenerator.h | 26 std::unique_ptr<StyledString> PseudolocalizeStyledString(StyledString* string,
|
D | PseudolocaleGenerator.cpp | 72 static std::vector<UnifiedSpan> MergeSpans(const StyledString& string) { in MergeSpans() 117 std::unique_ptr<StyledString> PseudolocalizeStyledString(StyledString* string, in PseudolocalizeStyledString() 221 return util::make_unique<StyledString>(pool->MakeRef(localized)); in PseudolocalizeStyledString() 286 void Visit(StyledString* string) override { in Visit() 356 void Visit(StyledString* string) override { in Visit() 363 std::unique_ptr<StyledString> grammatical_gendered = in Visit() 364 util::make_unique<StyledString>(pool_->MakeRef(new_string)); in Visit()
|
/frameworks/base/tools/aapt2/ |
D | ValueTransformer.h | 32 struct StyledString; 92 AAPT_TRANSFORM_ITEM(StyledString);
|
D | ResourceValues.h | 242 struct StyledString : public TransformableItem<StyledString, BaseItem<StyledString>> { struct 250 explicit StyledString(const android::StringPool::StyleRef& ref); argument 408 std::unique_ptr<StyledString> TransformDerived(const StyledString* value) override;
|
D | ValueTransformer.cpp | 40 VALUE_CREATE_ITEM_DECL(StyledString);
|
D | ResourceValues.cpp | 276 StyledString::StyledString(const android::StringPool::StyleRef& ref) : value(ref) { in StyledString() function in aapt::StyledString 279 bool StyledString::Equals(const Value* value) const { in Equals() 280 const StyledString* other = ValueCast<StyledString>(value); in Equals() 303 bool StyledString::Flatten(android::Res_value* out_value) const { in Flatten() 313 void StyledString::Print(std::ostream* out) const { in Print() 1121 std::unique_ptr<StyledString> CloningValueTransformer::TransformDerived(const StyledString* value) { in TransformDerived() 1122 auto new_value = std::make_unique<StyledString>(pool_->MakeRef(value->value)); in TransformDerived()
|
D | ValueVisitor.h | 36 virtual void Visit(StyledString* value) { VisitItem(value); } in Visit() 70 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 | 277 StyledString styled_str = 4; 353 message StyledString { message 441 STRING = 0x02; // Allows String/StyledString values.
|
D | ResourceParser.cpp | 785 std::unique_ptr<StyledString> styled_string = in ParseXml() 786 util::make_unique<StyledString>(table.string_pool.MakeRef( in ParseXml() 881 } else if (StyledString* string_value = ValueCast<StyledString>(out_resource->value.get())) { in ParseString()
|
D | ResourceUtils.cpp | 786 return util::make_unique<StyledString>(dst_pool->MakeRef( in ParseBinaryResValue()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 127 template std::ostream& operator<<<StyledString>(std::ostream&, const StyledString&);
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 556 void Visit(const StyledString* str) override { in Visit() 557 pb::StyledString* pb_str = out_value_->mutable_item()->mutable_styled_str(); in Visit() 560 pb::StyledString::Span* pb_span = pb_str->add_span(); in Visit()
|
D | ProtoDeserialize.cpp | 979 const pb::StyledString& pb_str = pb_item.styled_str(); in DeserializeItemFromPb() 981 for (const pb::StyledString::Span& pb_span : pb_str.span()) { in DeserializeItemFromPb() 985 return util::make_unique<StyledString>(value_pool->MakeRef( in DeserializeItemFromPb()
|
D | ProtoSerialize_test.cpp | 135 .SetValue(util::make_unique<StyledString>(table->string_pool.MakeRef(style_string))) in TEST() 228 StyledString* actual_styled_str = in TEST() 229 test::GetValue<StyledString>(&new_table, "com.app.a:string/styled"); in TEST()
|
/frameworks/base/tools/aapt2/dump/ |
D | DumpManifest.cpp | 403 } else if (StyledString* styledStrValue = ValueCast<StyledString>(value)) { in GetAttributeString()
|