Home
last modified time | relevance | path

Searched refs:StyledString (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues.cpp147 StyledString::StyledString(const StringPool::StyleRef& ref) : value(ref), mTranslateable(true) { in StyledString() function in aapt::StyledString
150 void StyledString::setTranslateable(bool val) { in setTranslateable()
154 bool StyledString::isTranslateable() const { in isTranslateable()
158 bool StyledString::flatten(android::Res_value* outValue) const { in flatten()
168 StyledString* StyledString::clone(StringPool* newPool) const { in clone()
169 StyledString* str = new StyledString(newPool->makeRef(value)); in clone()
175 void StyledString::print(std::ostream* out) const { in print()
DResourceValues.h209 struct StyledString : public BaseItem<StyledString> { struct
212 StyledString(const StringPool::StyleRef& ref); argument
220 StyledString* clone(StringPool* newPool) const override;
DValueVisitor.h36 virtual void visit(StyledString* value) { visitItem(value); } in visit()
DResourceParser.cpp491 return util::make_unique<StyledString>( in parseXml()
570 } else if (StyledString* stringValue = valueCast<StyledString>(outResource->value.get())) { in parseString()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.h26 std::unique_ptr<StyledString> pseudolocalizeStyledString(StyledString* string,
DPseudolocaleGenerator.cpp27 std::unique_ptr<StyledString> pseudolocalizeStyledString(StyledString* string, in pseudolocalizeStyledString()
110 std::unique_ptr<StyledString> localizedString = util::make_unique<StyledString>( in pseudolocalizeStyledString()
179 void visit(StyledString* string) override { in visit()
DPseudolocaleGenerator_test.cpp34 std::unique_ptr<StyledString> newString = pseudolocalizeStyledString( in TEST()
35 util::make_unique<StyledString>(pool.makeRef(originalStyle)).get(), in TEST()
56 util::make_unique<StyledString>(pool.makeRef(originalStyle)).get(), in TEST()
/frameworks/base/tools/aapt2/proto/
DTableProtoSerializer.cpp57 void visit(StyledString* str) override { in visit()
DTableProtoDeserializer.cpp195 return util::make_unique<StyledString>( in deserializeItemFromPb()
/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp406 return util::make_unique<StyledString>(mTable->stringPool.makeRef( in parseValue()