Home
last modified time | relevance | path

Searched refs:stateSpecs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/util/
DStateSet.java238 public static boolean containsAttribute(int[][] stateSpecs, int attr) { in containsAttribute() argument
239 if (stateSpecs != null) { in containsAttribute()
240 for (int[] spec : stateSpecs) { in containsAttribute()
/frameworks/base/core/java/android/content/res/
DColorStateList.java610 final int[][] stateSpecs = mStateSpecs; in hasState() local
611 final int specCount = stateSpecs.length; in hasState()
613 final int[] states = stateSpecs[specIndex]; in hasState()
728 final int[][] stateSpecs = new int[N][];
730 stateSpecs[i] = source.createIntArray();
733 return new ColorStateList(stateSpecs, colors);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/content/res/
DAppCompatColorStateListInflater.java156 int[][] stateSpecs = new int[listSize][]; in inflate() local
158 System.arraycopy(stateSpecList, 0, stateSpecs, 0, listSize); in inflate()
160 return new ColorStateList(stateSpecs, colors); in inflate()