Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/libidmap2/
DXmlParser.cpp98 Res_value res_value{}; in FindAttribute() local
99 if (parser.getAttributeValue(i, &res_value) == BAD_TYPE) { in FindAttribute()
102 return res_value; in FindAttribute()
DFabricatedOverlay.cpp469 const auto& res_value = entry.res_value(); in GetOverlayData() local
472 .data_type = static_cast<uint8_t>(res_value.data_type()), in GetOverlayData()
473 .data_value = res_value.data_value()}, .config = entry.configuration()}}); in GetOverlayData()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp757 const android::Res_value& res_value, in ParseBinaryResValue() argument
760 if (res_value.dataType != android::Res_value::TYPE_REFERENCE && in ParseBinaryResValue()
761 res_value.dataType != android::Res_value::TYPE_DYNAMIC_REFERENCE) { in ParseBinaryResValue()
769 const uint32_t data = android::util::DeviceToHost32(res_value.data); in ParseBinaryResValue()
770 switch (res_value.dataType) { in ParseBinaryResValue()
816 if (res_value.dataType == android::Res_value::TYPE_ATTRIBUTE || in ParseBinaryResValue()
817 res_value.dataType == android::Res_value::TYPE_DYNAMIC_ATTRIBUTE) { in ParseBinaryResValue()
828 if (res_value.dataType == android::Res_value::TYPE_DYNAMIC_REFERENCE || in ParseBinaryResValue()
829 res_value.dataType == android::Res_value::TYPE_DYNAMIC_ATTRIBUTE) { in ParseBinaryResValue()
837 return util::make_unique<BinaryPrimitive>(res_value); in ParseBinaryResValue()
DResourceUtils.h230 const android::Res_value& res_value,
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp252 android::Res_value res_value; in CopyAttributes() local
253 if (parser->getAttributeValue(i, &res_value) > 0) { in CopyAttributes()
257 if (res_value.dataType != android::Res_value::TYPE_STRING || raw_value_idx < 0 || in CopyAttributes()
258 static_cast<uint32_t>(raw_value_idx) != res_value.data) { in CopyAttributes()
260 ResourceType::kAnim, {}, parser->getStrings(), res_value, out_pool); in CopyAttributes()
/frameworks/base/cmds/idmap2/libidmap2/proto/
Dfabricated_v1.proto47 ResourceValue res_value = 2; field