Home
last modified time | relevance | path

Searched refs:res_value (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/cmds/idmap2/libidmap2/
DXmlParser.cpp100 Res_value res_value{}; in FindAttribute() local
101 if (parser.getAttributeValue(i, &res_value) == BAD_TYPE) { in FindAttribute()
104 return res_value; in FindAttribute()
DFabricatedOverlay.cpp284 const auto& res_value = entry.res_value(); in GetOverlayData() local
286 name, TargetValue{.data_type = static_cast<uint8_t>(res_value.data_type()), in GetOverlayData()
287 .data_value = res_value.data_value()}}); in GetOverlayData()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp741 const android::Res_value& res_value, in ParseBinaryResValue() argument
744 if (res_value.dataType != android::Res_value::TYPE_REFERENCE && in ParseBinaryResValue()
745 res_value.dataType != android::Res_value::TYPE_DYNAMIC_REFERENCE) { in ParseBinaryResValue()
753 const uint32_t data = util::DeviceToHost32(res_value.data); in ParseBinaryResValue()
754 switch (res_value.dataType) { in ParseBinaryResValue()
797 if (res_value.dataType == android::Res_value::TYPE_ATTRIBUTE || in ParseBinaryResValue()
798 res_value.dataType == android::Res_value::TYPE_DYNAMIC_ATTRIBUTE) { in ParseBinaryResValue()
809 if (res_value.dataType == android::Res_value::TYPE_DYNAMIC_REFERENCE || in ParseBinaryResValue()
810 res_value.dataType == android::Res_value::TYPE_DYNAMIC_ATTRIBUTE) { in ParseBinaryResValue()
818 return util::make_unique<BinaryPrimitive>(res_value); in ParseBinaryResValue()
DResourceUtils.h233 const android::Res_value& res_value,
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp250 android::Res_value res_value; in CopyAttributes() local
251 if (parser->getAttributeValue(i, &res_value) > 0) { in CopyAttributes()
255 if (res_value.dataType != android::Res_value::TYPE_STRING || raw_value_idx < 0 || in CopyAttributes()
256 static_cast<uint32_t>(raw_value_idx) != res_value.data) { in CopyAttributes()
258 ResourceType::kAnim, {}, parser->getStrings(), res_value, out_pool); in CopyAttributes()
/frameworks/base/cmds/idmap2/libidmap2/proto/
Dfabricated_v1.proto47 ResourceValue res_value = 2; field