Searched refs:observedColor (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ViewClippingTests.java | 194 protected boolean verifyPixel(int x, int y, int observedColor) { in testAntiAliasedOutlineClip() 213 observedColor, Color.BLACK, Color.BLUE); in testAntiAliasedOutlineClip() 214 boolean isInnerOrOuterColor = observedColor == Color.BLUE in testAntiAliasedOutlineClip() 215 || observedColor == Color.BLACK; in testAntiAliasedOutlineClip() 218 int blueChannel = Color.blue(observedColor); in testAntiAliasedOutlineClip() 228 result = Color.BLUE == observedColor in testAntiAliasedOutlineClip() 229 || Color.BLACK == observedColor in testAntiAliasedOutlineClip() 230 || CompareUtils.verifyPixelBetweenColors(observedColor, Color.BLACK, in testAntiAliasedOutlineClip() 235 result = super.verifyPixel(x, y, observedColor); in testAntiAliasedOutlineClip()
|
D | ExactCanvasTests.java | 315 protected boolean verifyPixel(int x, int y, int observedColor) { in testBlackTriangleVertices2() 326 return CompareUtils.verifyPixelWithThreshold(observedColor, Color.WHITE, 0); in testBlackTriangleVertices2() 333 return CompareUtils.verifyPixelWithThreshold(observedColor, Color.WHITE, 0); in testBlackTriangleVertices2() 335 return CompareUtils.verifyPixelWithThreshold(observedColor, Color.BLACK, 0); in testBlackTriangleVertices2() 343 return CompareUtils.verifyPixelWithThreshold(observedColor, Color.WHITE, 0); in testBlackTriangleVertices2() 345 return CompareUtils.verifyPixelWithThreshold(observedColor, Color.BLACK, 0); in testBlackTriangleVertices2()
|
D | EdgeEffectTests.java | 94 protected boolean verifyPixel(int x, int y, int observedColor) { in verifyPixel() argument 97 return observedColor == Color.WHITE; in verifyPixel() 101 stretch += Color.red(observedColor) / 255f / WIDTH; in verifyPixel()
|
D | HardwareRendererTests.kt | 407 override fun verifyPixel(x: Int, y: Int, observedColor: Int): Boolean { in testSpotShadowSetup() 408 return CompareUtils.verifyPixelGrayScale(observedColor, 1) in testSpotShadowSetup()
|
D | HardwareBufferRendererTests.kt | 618 override fun verifyPixel(x: Int, y: Int, observedColor: Int): Boolean { in <lambda>() 619 return CompareUtils.verifyPixelGrayScale(observedColor, 1) in <lambda>()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | PerPixelBitmapVerifier.java | 86 protected boolean verifyPixel(int x, int y, int observedColor) { in verifyPixel() argument 88 return CompareUtils.verifyPixelWithThreshold(observedColor, expectedColor, mColorTolerance); in verifyPixel()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/ |
D | PerPixelBitmapVerifier.java | 86 protected boolean verifyPixel(int x, int y, int observedColor) { in verifyPixel() argument 88 return CompareUtils.verifyPixelWithThreshold(observedColor, expectedColor, mColorTolerance); in verifyPixel()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorTest.java | 296 int observedColor = resources.getColor(resourceId, null); in resourceColor() local 297 assertEquals("Color = " + Integer.toHexString(observedColor) + ", " in resourceColor() 300 observedColor); in resourceColor()
|