Home
last modified time | relevance | path

Searched refs:attrRes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt/
DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
71 int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
79 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes, in getIntegerAttribute() argument
81 return getIntegerAttribute(tree, attrRes, -1, outError); in getIntegerAttribute()
90 const android::ResXMLTree& tree, uint32_t attrRes, int32_t defValue = -1,
99 const android::ResXMLTree& tree, uint32_t attrRes, in getResolvedIntegerAttribute() argument
101 return getResolvedIntegerAttribute(resTable, tree, attrRes, -1, outError); in getResolvedIntegerAttribute()
110 const android::ResXMLTree& tree, uint32_t attrRes,
118 const android::ResXMLTree& tree, uint32_t attrRes, android::Res_value* outValue,
DAaptXml.cpp69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { in indexOfAttribute() argument
72 if (tree.getAttributeNameResID(i) == attrRes) { in indexOfAttribute()
88 String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) { in getAttribute() argument
89 ssize_t idx = indexOfAttribute(tree, attrRes); in getAttribute()
97 uint32_t attrRes, String8* outError) { in getResolvedAttribute() argument
98 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedAttribute()
148 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, in getIntegerAttribute() argument
150 ssize_t idx = indexOfAttribute(tree, attrRes); in getIntegerAttribute()
158 uint32_t attrRes, int32_t defValue, String8* outError) { in getResolvedIntegerAttribute() argument
159 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedIntegerAttribute()
[all …]
DCommand.cpp233 uint32_t attrRes, const String8& attrLabel, String8* outError) in printResolvedResourceAttribute() argument
236 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); in printResolvedResourceAttribute()
242 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError); in printResolvedResourceAttribute()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3825 const uint32_t attrRes = bag->map.name.ident; in applyStyle() local
3826 const uint32_t p = Res_GETPACKAGE(attrRes); in applyStyle()
3827 const uint32_t t = Res_GETTYPE(attrRes); in applyStyle()
3828 const uint32_t e = Res_GETENTRY(attrRes); in applyStyle()
3831 const ssize_t pidx = mTable.getResourcePackageIndex(attrRes); in applyStyle()
3833 ALOGE("Style contains key with bad package: 0x%08x\n", attrRes); in applyStyle()
3849 ALOGE("Style contains key with bad type: 0x%08x\n", attrRes); in applyStyle()
3870 ALOGE("Style contains key with bad entry: 0x%08x\n", attrRes); in applyStyle()
3877 attrRes, bag->map.value.dataType, bag->map.value.data, in applyStyle()