Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceValues.cpp87 bool RawString::Flatten(android::Res_value* out_value) const { in Flatten()
88 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
89 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
118 bool Reference::Flatten(android::Res_value* out_value) const { in Flatten()
124 out_value->dataType = android::Res_value::TYPE_DYNAMIC_REFERENCE; in Flatten()
126 out_value->dataType = android::Res_value::TYPE_REFERENCE; in Flatten()
130 out_value->dataType = android::Res_value::TYPE_DYNAMIC_ATTRIBUTE; in Flatten()
132 out_value->dataType = android::Res_value::TYPE_ATTRIBUTE; in Flatten()
135 out_value->data = util::HostToDevice32(resid.id); in Flatten()
258 bool String::Flatten(android::Res_value* out_value) const { in Flatten()
[all …]
DResourceValues.h137 virtual bool Flatten(android::Res_value* out_value) const = 0;
168 bool Flatten(android::Res_value* out_value) const override;
200 bool Flatten(android::Res_value* out_value) const override;
234 bool Flatten(android::Res_value* out_value) const override;
251 bool Flatten(android::Res_value* out_value) const override;
271 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.cpp476 ValueSerializer(pb::Value* out_value, StringPool* src_pool) in ValueSerializer() argument
477 : out_value_(out_value), src_pool_(src_pool) { in ValueSerializer()
643 void SerializeValueToPb(const Value& value, pb::Value* out_value, StringPool* src_pool) { in SerializeValueToPb() argument
644 ValueSerializer serializer(out_value, src_pool); in SerializeValueToPb()
648 out_value->set_comment(value.GetComment()); in SerializeValueToPb()
649 out_value->set_weak(value.IsWeak()); in SerializeValueToPb()
651 SerializeSourceToPb(value.GetSource(), src_pool, out_value->mutable_source()); in SerializeValueToPb()
DProtoSerialize.h45 void SerializeValueToPb(const Value& value, pb::Value* out_value, StringPool* src_pool = nullptr);
DProtoDeserialize.cpp663 Value* out_value) { in DeserializeItemMetaDataFromPb() argument
667 out_value->SetSource(std::move(source)); in DeserializeItemMetaDataFromPb()
669 out_value->SetComment(pb_item.comment()); in DeserializeItemMetaDataFromPb()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h169 bool GetAttribute(SurfaceAttributeKey key, ReturnType* out_value, in GetAttribute()
173 return pdx::rpc::IfAnyOf<Types...>::Get(&search->second, out_value); in GetAttribute()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h226 Res_value* out_value, ResTable_config* out_selected_config,
499 ApkAssetsCookie GetAttribute(uint32_t resid, Res_value* out_value, uint32_t* out_flags) const;
/frameworks/native/libs/gui/
DBufferHubProducer.cpp530 status_t BufferHubProducer::query(int what, int* out_value) { in query() argument
535 if (out_value == nullptr) { in query()
591 *out_value = value; in query()
/frameworks/native/libs/gui/include/gui/
DBufferHubProducer.h83 status_t query(int what, int* out_value) override;
/frameworks/base/libs/androidfw/
DAssetManager2.cpp898 uint16_t density_override, Res_value* out_value, in GetResource() argument
916 out_value->dataType = Res_value::TYPE_REFERENCE; in GetResource()
917 out_value->data = resid; in GetResource()
925 out_value->copyFrom_dtoh(*device_value); in GetResource()
928 entry.dynamic_ref_table->lookupResourceValue(out_value); in GetResource()
1438 ApkAssetsCookie Theme::GetAttribute(uint32_t resid, Res_value* out_value, in GetAttribute() argument
1472 *out_value = entry.value; in GetAttribute()