Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DTypedArray.java506 final int attrIndex = index; in getColor() local
528 "Failed to resolve attribute at index " + attrIndex + ": " + value); in getColor()
531 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getColor()
624 final int attrIndex = index; in getInteger() local
638 "Failed to resolve attribute at index " + attrIndex + ": " + value); in getInteger()
641 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getInteger()
672 final int attrIndex = index; in getDimension() local
685 "Failed to resolve attribute at index " + attrIndex + ": " + value); in getDimension()
688 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getDimension()
720 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()
/frameworks/native/opengl/libagl/
Degl.cpp1265 int attrIndex; in getConfigAttrib() local
1266 attrIndex = binarySearch<config_pair_t>( in getConfigAttrib()
1270 if (attrIndex>=0) { in getConfigAttrib()
1271 *value = gConfigs[index].array[attrIndex].value; in getConfigAttrib()
1275 attrIndex = binarySearch<config_pair_t>( in getConfigAttrib()
1279 if (attrIndex>=0) { in getConfigAttrib()
1280 *value = config_base_attribute_list[attrIndex].value; in getConfigAttrib()