Searched refs:StyledString (Results 1 - 14 of 14) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator.h | 26 std::unique_ptr<StyledString> PseudolocalizeStyledString( 27 StyledString* string, Pseudolocalizer::Method method, StringPool* pool);
|
H A D | PseudolocaleGenerator_test.cpp | 30 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( 31 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), 52 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), 77 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( 78 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), 99 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( 100 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), 122 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( 123 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), 159 std::unique_ptr<StyledString> original_strin [all...] |
H A D | PseudolocaleGenerator.cpp | 64 // Merges the Span and UntranslatableSections of this StyledString into a single vector of 66 static std::vector<UnifiedSpan> MergeSpans(const StyledString& string) { 111 std::unique_ptr<StyledString> PseudolocalizeStyledString(StyledString* string, 213 return util::make_unique<StyledString>(pool->MakeRef(localized)); 276 void Visit(StyledString* string) override {
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.h | 240 struct StyledString : public BaseItem<StyledString> { struct in namespace:aapt 248 explicit StyledString(const StringPool::StyleRef& ref); 252 StyledString* Clone(StringPool* new_pool) const override;
|
H A D | Resources.proto | 211 StyledString styled_str = 4; 271 message StyledString { 356 STRING = 0x02; // Allows String/StyledString values.
|
H A D | ResourceValues.cpp | 287 StyledString::StyledString(const StringPool::StyleRef& ref) : value(ref) { function in class:aapt::StyledString 290 bool StyledString::Equals(const Value* value) const { 291 const StyledString* other = ValueCast<StyledString>(value); 314 bool StyledString::Flatten(android::Res_value* out_value) const { 324 StyledString* StyledString::Clone(StringPool* new_pool) const { 325 StyledString* str = new StyledString(new_poo [all...] |
H A D | ValueVisitor.h | 36 virtual void Visit(StyledString* value) { VisitItem(value); } 67 virtual void Visit(const StyledString* value) {
|
H A D | ResourceParser_test.cpp | 136 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); 204 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); 259 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo");
|
H A D | ResourceParser.cpp | 733 // This can only be a StyledString. 734 std::unique_ptr<StyledString> styled_string = 735 util::make_unique<StyledString>(table_->string_pool.MakeRef( 832 } else if (StyledString* string_value = ValueCast<StyledString>(out_resource->value.get())) {
|
H A D | ResourceUtils.cpp | 711 return util::make_unique<StyledString>(dst_pool->MakeRef(
|
/frameworks/base/tools/aapt2/test/ |
H A D | Common.h | 123 template std::ostream& operator<<<StyledString>(std::ostream&, const StyledString&);
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize_test.cpp | 72 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)), 148 StyledString* actual_styled_str = 149 test::GetValue<StyledString>(&new_table, "com.app.a:string/styled");
|
H A D | ProtoSerialize.cpp | 414 void Visit(const StyledString* str) override { 415 pb::StyledString* pb_str = out_value_->mutable_item()->mutable_styled_str(); 418 pb::StyledString::Span* pb_span = pb_str->add_span();
|
H A D | ProtoDeserialize.cpp | 851 const pb::StyledString& pb_str = pb_item.styled_str(); 853 for (const pb::StyledString::Span& pb_span : pb_str.span()) { 856 return util::make_unique<StyledString>(value_pool->MakeRef(
|
Completed in 445 milliseconds