Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DTypedArray.java507 final int attrIndex = index; in getColor() local
529 "Failed to resolve attribute at index " + attrIndex + ": " + value); in getColor()
532 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getColor()
625 final int attrIndex = index; in getInteger() local
639 "Failed to resolve attribute at index " + attrIndex + ": " + value); in getInteger()
642 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getInteger()
673 final int attrIndex = index; in getDimension() local
686 "Failed to resolve attribute at index " + attrIndex + ": " + value); in getDimension()
689 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getDimension()
721 final int attrIndex = index; in getDimensionPixelOffset() local
[all …]
/frameworks/base/tools/aapt/
DAaptXml.cpp26 static String8 getStringAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, in getStringAttributeAtIndex() argument
29 if (tree.getAttributeValue(attrIndex, &value) < 0) { in getStringAttributeAtIndex()
44 const char16_t* str = tree.getAttributeStringValue(attrIndex, &len); in getStringAttributeAtIndex()
48 static int32_t getIntegerAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, in getIntegerAttributeAtIndex() argument
51 if (tree.getAttributeValue(attrIndex, &value) < 0) { in getIntegerAttributeAtIndex()
DResource.cpp3183 ssize_t attrIndex = tree.indexOfAttribute(nsAttr.ns, nsAttr.attr); in writeProguardForXml() local
3184 if (attrIndex < 0) { in writeProguardForXml()
3191 … String8(tree.getAttributeStringValue(attrIndex, &len)), NULL, in writeProguardForXml()
3197 ssize_t attrIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "onClick"); in writeProguardForXml() local
3198 if (attrIndex >= 0) { in writeProguardForXml()
3201 String8(tree.getAttributeStringValue(attrIndex, &len)), NULL, in writeProguardForXml()