Lines Matching refs:color
39 mFailureColor = mResources.getColor(R.color.failColor);
44 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1);
46 int focusColor = colorStateList.getColorForState(focusedState, R.color.failColor);
47 assertEquals(mResources.getColor(R.color.testcolor1), focusColor);
52 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1);
55 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor);
60 int defaultColor = mResources.getColor(R.color.color1);
61 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor);
66 int defaultColor = mResources.getColor(R.color.color_no_default);
67 assertEquals(mResources.getColor(R.color.testcolor1), defaultColor);