Home
last modified time | relevance | path

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

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DColorStateListTest.java44 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testStateIsInList() local
46 int focusColor = colorStateList.getColorForState(focusedState, R.color.failColor); in testStateIsInList()
52 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testEmptyState() local
54 int defaultColor = colorStateList.getColorForState(emptyState, mFailureColor); in testEmptyState()
/frameworks/base/core/java/android/content/res/
DColorStateList.java139 ColorStateList colorStateList; in createFromXmlInner() local
144 colorStateList = new ColorStateList(); in createFromXmlInner()
150 colorStateList.inflate(r, parser, attrs); in createFromXmlInner()
151 return colorStateList; in createFromXmlInner()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java317 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor() local
319 if (colorStateList != null) { in getColor()
320 return colorStateList.getDefaultColor(); in getColor()