Home
last modified time | relevance | path

Searched refs:attributeCount (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/apct-tests/perftests/core/src/android/content/res/
H A DXmlBlockBenchmark.java175 int attributeCount = 0; in benchmarkAttributeFunction() local
188 attributeCount = mParser.getAttributeCount(); in benchmarkAttributeFunction()
193 if (i < attributeCount) { in benchmarkAttributeFunction()
205 if (i >= attributeCount) { in benchmarkAttributeFunction()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
H A DBubbleXmlHelper.kt153 for (i in 0 until attributeCount) {
/aosp14/frameworks/base/core/java/android/content/pm/
H A DUserProperties.java690 final int attributeCount = parser.getAttributeCount(); in updateFromXml() local
691 for (int i = 0; i < attributeCount; i++) { in updateFromXml()
/aosp14/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java225 int attributeCount = parser.getAttributeCount(); in createStateListAnimatorFromXml() local
226 int[] states = new int[attributeCount]; in createStateListAnimatorFromXml()
228 for (int i = 0; i < attributeCount; i++) { in createStateListAnimatorFromXml()
/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener.cpp220 flat_elem->attributeCount = android::util::HostToDevice16(filtered_attrs_.size()); in WriteAttributes()
/aosp14/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1348 return dtohs(((const ResXMLTree_attrExt*)mCurExt)->attributeCount); in getAttributeCount()
1357 if (idx < dtohs(tag->attributeCount)) { in getAttributeNamespaceID()
1392 if (idx < dtohs(tag->attributeCount)) { in getAttributeNameID()
1440 if (idx < dtohs(tag->attributeCount)) { in getAttributeValueStringID()
1464 if (idx < dtohs(tag->attributeCount)) { in getAttributeDataType()
1486 if (idx < dtohs(tag->attributeCount)) { in getAttributeData()
1508 if (idx < dtohs(tag->attributeCount)) { in getAttributeValue()
1905 * dtohs(attrExt->attributeCount); in validateNode()
1934 if ((((size_t)dtohs(node->attributeSize))*dtohs(node->attributeCount)) in validateNode()
1939 ((int)dtohs(node->attributeSize))*dtohs(node->attributeCount), in validateNode()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h689 uint16_t attributeCount; member
/aosp14/frameworks/base/tools/aapt/
H A DXMLNode.cpp1509 attrExt.attributeCount = htods(NA); in flatten_node()