Home
last modified time | relevance | path

Searched refs:expectedColor (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileColorPickerTest.java48 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateUnavailable_ReturnUnavailableColor() local
51 assertEquals(expectedColor, color); in testGetColor_StateUnavailable_ReturnUnavailableColor()
57 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateInactive_ReturnInactiveColor() local
60 assertEquals(expectedColor, color); in testGetColor_StateInactive_ReturnInactiveColor()
66 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateActive_ReturnActiveColor() local
69 assertEquals(expectedColor, color); in testGetColor_StateActive_ReturnActiveColor()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DAppCompatImageViewTest.java41 final int expectedColor = mContainer.getResources().getColor(R.color.test_blue); in testImageViewBothSrcCompatAndroidSrcSet() local
43 imageViewInteraction.check(matches(TestUtilsMatchers.drawable(expectedColor))); in testImageViewBothSrcCompatAndroidSrcSet()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DTestUtils.java246 private static boolean areColorsTheSameWithTolerance(@ColorInt int expectedColor, in areColorsTheSameWithTolerance() argument
253 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()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DLayoutInflaterFactoryTestCase.java217 final int expectedColor = view.getResources().getColor(R.color.test_magenta); in assertThemedContext() local
223 expectedColor, colorAccentValue.data); in assertThemedContext()
/frameworks/base/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp261 uint32_t expectedColor = Caches::getInstance().getOverdrawColor(glopCount - 2); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
262 ASSERT_EQ(makeFloatColor(expectedColor), glop.fill.color); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTextViewBindingAdapterTest.java315 int expectedColor = mBinder.getRoot().getResources().getColor( in testTextWithColor() local
317 assertEquals(expectedColor, textView.getCurrentTextColor()); in testTextWithColor()