Home
last modified time | relevance | path

Searched refs:expectedAlpha (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DNinePatchTest.java160 int expectedAlpha = Color.alpha(expectedPixel); in verifyBitmapWithAlpha() local
165 assertEquals(expectedAlpha * alpha / ALPHA_OPAQUE, actualAlpha, 1); in verifyBitmapWithAlpha()
DBitmapTest.java1288 private void verifyAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, in verifyAlphaAndPremul() argument
1308 assertEquals(bitmap.hasAlpha(), expectedAlpha); in verifyAlphaAndPremul() local
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java295 int expectedAlpha = Color.alpha(expectedColor); in areColorsTheSameWithTolerance() local
300 int varianceAlpha = Math.abs(sourceAlpha - expectedAlpha); in areColorsTheSameWithTolerance()