Searched refs:defaultColor (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | ColorStateListTest.java | 54 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/ |
D | ColorStateList.java | 272 public int getColorForState(int[] stateSet, int defaultColor) { in getColorForState() argument 280 return defaultColor; in getColorForState()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 129 const ColorFract defaultColor(0.5, 0.5, 0.5); variable 147 blend(defaultBlend), color(defaultColor), in Rectangle()
|
D | hwcCommit.cpp | 121 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/ |
D | RecipientEditTextView.java | 675 int defaultColor = paint.getColor(); in constructChipSpan() local 691 paint.setColor(defaultColor); in constructChipSpan()
|