Home
last modified time | relevance | path

Searched refs:numAttrs (Results 1 – 3 of 3) 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.java342 final int numAttrs = attrs.getAttributeCount(); in inflate() local
343 int[] stateSpec = new int[numAttrs]; in inflate()
344 for (int i = 0; i < numAttrs; i++) { in inflate()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4550 return set->numAttrs; in getBagLocked()
4621 set->numAttrs = NP; in getBagLocked()
4629 set->numAttrs = 0; in getBagLocked()
4638 set->numAttrs = 0; in getBagLocked()
4683 while ((isInside=(curEntry < set->numAttrs)) in getBagLocked()
4694 if (set->numAttrs >= set->availAttrs) { in getBagLocked()
4715 sizeof(bag_entry)*(set->numAttrs-curEntry)); in getBagLocked()
4716 set->numAttrs++; in getBagLocked()
4751 if (curEntry > set->numAttrs) { in getBagLocked()
4752 set->numAttrs = curEntry; in getBagLocked()
[all …]