Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DTypedArray.java512 final int attrIndex = index; in getColor() local
534 "Failed to resolve attribute at index " + attrIndex + ": " + value in getColor()
538 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getColor()
633 final int attrIndex = index; in getInteger() local
647 "Failed to resolve attribute at index " + attrIndex + ": " + value in getInteger()
651 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getInteger()
682 final int attrIndex = index; in getDimension() local
695 "Failed to resolve attribute at index " + attrIndex + ": " + value in getDimension()
699 throw new UnsupportedOperationException("Can't convert value at index " + attrIndex in getDimension()
731 final int attrIndex = index; in getDimensionPixelOffset() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DColorUtil.kt41 attrIndex: Int, in getColorWithAlpha()
47 if (a.hasValue(attrIndex)) { in getColorWithAlpha()
48 return a.getColor(attrIndex, defColor) in getColorWithAlpha()
/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.cpp3186 ssize_t attrIndex = tree.indexOfAttribute(nsAttr.ns, nsAttr.attr); in writeProguardForXml() local
3187 if (attrIndex < 0) { in writeProguardForXml()
3194 … String8(tree.getAttributeStringValue(attrIndex, &len)), NULL, in writeProguardForXml()
3200 ssize_t attrIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "onClick"); in writeProguardForXml() local
3201 if (attrIndex >= 0) { in writeProguardForXml()
3204 String8(tree.getAttributeStringValue(attrIndex, &len)), NULL, in writeProguardForXml()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRecentAccessPersistence.java333 for (int attrIndex = 0; attrIndex < attributedOps.size(); attrIndex++) { in writeDeviceAttributedOps()
334 String attributionTag = attributedOps.keyAt(attrIndex); in writeDeviceAttributedOps()
336 attributedOps.valueAt(attrIndex).createAttributedOpEntryLocked(); in writeDeviceAttributedOps()