Searched refs:expectedColor (Results 1 – 6 of 6) sorted by relevance
48 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateUnavailable_ReturnUnavailableColor() local51 assertEquals(expectedColor, color); in testGetColor_StateUnavailable_ReturnUnavailableColor()57 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateInactive_ReturnInactiveColor() local60 assertEquals(expectedColor, color); in testGetColor_StateInactive_ReturnInactiveColor()66 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateActive_ReturnActiveColor() local69 assertEquals(expectedColor, color); in testGetColor_StateActive_ReturnActiveColor()
41 final int expectedColor = mContainer.getResources().getColor(R.color.test_blue); in testImageViewBothSrcCompatAndroidSrcSet() local43 imageViewInteraction.check(matches(TestUtilsMatchers.drawable(expectedColor))); in testImageViewBothSrcCompatAndroidSrcSet()
246 private static boolean areColorsTheSameWithTolerance(@ColorInt int expectedColor, in areColorsTheSameWithTolerance() argument253 int expectedAlpha = Color.alpha(expectedColor); in areColorsTheSameWithTolerance()254 int expectedRed = Color.red(expectedColor); in areColorsTheSameWithTolerance()255 int expectedGreen = Color.green(expectedColor); in areColorsTheSameWithTolerance()256 int expectedBlue = Color.blue(expectedColor); in areColorsTheSameWithTolerance()
217 final int expectedColor = view.getResources().getColor(R.color.test_magenta); in assertThemedContext() local223 expectedColor, colorAccentValue.data); in assertThemedContext()
261 uint32_t expectedColor = Caches::getInstance().getOverdrawColor(glopCount - 2); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local262 ASSERT_EQ(makeFloatColor(expectedColor), glop.fill.color); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
315 int expectedColor = mBinder.getRoot().getResources().getColor( in testTextWithColor() local317 assertEquals(expectedColor, textView.getCurrentTextColor()); in testTextWithColor()