Home
last modified time | relevance | path

Searched refs:out_value (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues.cpp89 bool RawString::Flatten(android::Res_value* out_value) const { in Flatten()
90 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
91 out_value->data = android::util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
119 bool Reference::Flatten(android::Res_value* out_value) const { in Flatten()
129 out_value->dataType = android::Res_value::TYPE_DYNAMIC_REFERENCE; in Flatten()
131 out_value->dataType = android::Res_value::TYPE_REFERENCE; in Flatten()
135 out_value->dataType = android::Res_value::TYPE_DYNAMIC_ATTRIBUTE; in Flatten()
137 out_value->dataType = android::Res_value::TYPE_ATTRIBUTE; in Flatten()
140 out_value->data = android::util::HostToDevice32(resid.id); in Flatten()
255 bool String::Flatten(android::Res_value* out_value) const { in Flatten()
[all …]
DResourceValues.h135 virtual bool Flatten(android::Res_value* out_value) const = 0;
174 bool Flatten(android::Res_value* out_value) const override;
204 bool Flatten(android::Res_value* out_value) const override;
237 bool Flatten(android::Res_value* out_value) const override;
253 bool Flatten(android::Res_value* out_value) const override;
272 bool Flatten(android::Res_value* out_value) const override;
285 bool Flatten(android::Res_value* out_value) const override;
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.h53 void SerializeValueToPb(const Value& value, pb::Value* out_value,
DProtoSerialize.cpp540 ValueSerializer(pb::Value* out_value, android::StringPool* src_pool) in ValueSerializer() argument
541 : out_value_(out_value), src_pool_(src_pool) { in ValueSerializer()
712 void SerializeValueToPb(const Value& value, pb::Value* out_value, android::StringPool* src_pool) { in SerializeValueToPb() argument
713 ValueSerializer serializer(out_value, src_pool); in SerializeValueToPb()
717 out_value->set_comment(value.GetComment()); in SerializeValueToPb()
718 out_value->set_weak(value.IsWeak()); in SerializeValueToPb()
720 SerializeSourceToPb(value.GetSource(), src_pool, out_value->mutable_source()); in SerializeValueToPb()
DProtoDeserialize.cpp712 Value* out_value) { in DeserializeItemMetaDataFromPb() argument
716 out_value->SetSource(std::move(source)); in DeserializeItemMetaDataFromPb()
718 out_value->SetComment(pb_item.comment()); in DeserializeItemMetaDataFromPb()