Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DStateListDrawable.java215 final int numAttrs = attrs.getAttributeCount(); in extractStateSet() local
216 int[] states = new int[numAttrs]; in extractStateSet()
217 for (int i = 0; i < numAttrs; i++) { in extractStateSet()
/frameworks/base/core/java/android/content/res/
DColorStateList.java341 final int numAttrs = attrs.getAttributeCount(); in inflate() local
342 int[] stateSpec = new int[numAttrs]; in inflate()
343 for (int i = 0; i < numAttrs; i++) { in inflate()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4553 return set->numAttrs; in getBagLocked()
4624 set->numAttrs = NP; in getBagLocked()
4632 set->numAttrs = 0; in getBagLocked()
4641 set->numAttrs = 0; in getBagLocked()
4686 while ((isInside=(curEntry < set->numAttrs)) in getBagLocked()
4697 if (set->numAttrs >= set->availAttrs) { in getBagLocked()
4718 sizeof(bag_entry)*(set->numAttrs-curEntry)); in getBagLocked()
4719 set->numAttrs++; in getBagLocked()
4754 if (curEntry > set->numAttrs) { in getBagLocked()
4755 set->numAttrs = curEntry; in getBagLocked()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2171 size_t numAttrs; // number in array member