Home
last modified time | relevance | path

Searched refs:defaultColor (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DColorStateListTest.java54 int defaultColor = colorStateList.getColorForState(emptyState, mFailureColor); in testEmptyState() local
55 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testEmptyState() local
60 int defaultColor = mResources.getColor(R.color.color1); in testGetColor() local
61 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testGetColor() local
66 int defaultColor = mResources.getColor(R.color.color_no_default); in testGetColorWhenListHasNoDefault() local
67 assertEquals(mResources.getColor(R.color.testcolor1), defaultColor); in testGetColorWhenListHasNoDefault() local
/frameworks/base/core/java/android/content/res/
DColorStateList.java272 public int getColorForState(int[] stateSet, int defaultColor) { in getColorForState() argument
280 return defaultColor; in getColorForState()
/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp129 const ColorFract defaultColor(0.5, 0.5, 0.5); variable
147 blend(defaultBlend), color(defaultColor), in Rectangle()
DhwcCommit.cpp121 const ColorFract defaultColor(0.5, 0.5, 0.5); variable
1312 blend(defaultBlend), color(defaultColor), alpha(defaultAlpha), in Rectangle()
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java675 int defaultColor = paint.getColor(); in constructChipSpan() local
691 paint.setColor(defaultColor); in constructChipSpan()