Searched refs:srcColor (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 389 void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap); in verify() argument 407 public void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap) { in verify() argument 416 float[] expectedColor = ColorSpace.connect(srcColorSpace, dstSpace).transform(srcColor); in verify() 443 public void verify(float[] srcColor, ColorSpace srcColorSpace, Bitmap dstBitmap) { in verify() argument 446 assertEquals(srcColor[0], Color.red(color) / 255.0f, 0.01f); in verify() 447 assertEquals(srcColor[1], Color.green(color) / 255.0f, 0.01f); in verify() 448 assertEquals(srcColor[2], Color.blue(color) / 255.0f, 0.01f); in verify()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BlendModeTest.java | 479 int computeMultiply(int dstColor, int srcColor, int dstAlpha, int srcAlpha) { in computeMultiply() argument 480 return (srcColor * dstColor) / 255 in computeMultiply() 481 + (srcColor * (255 - dstAlpha)) / 255 in computeMultiply()
|