Home
last modified time | relevance | path

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

/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/tools/aapt2/
DResourceUtils.cpp737 const android::Res_value& res_value, in ParseBinaryResValue() argument
743 const uint32_t data = util::DeviceToHost32(res_value.data); in ParseBinaryResValue()
744 switch (res_value.dataType) { in ParseBinaryResValue()
785 if (res_value.dataType == android::Res_value::TYPE_ATTRIBUTE || in ParseBinaryResValue()
786 res_value.dataType == android::Res_value::TYPE_DYNAMIC_ATTRIBUTE) { in ParseBinaryResValue()
801 return util::make_unique<BinaryPrimitive>(res_value); in ParseBinaryResValue()
DResourceUtils.h233 const android::Res_value& res_value,