Searched refs:expectedAlpha (Results 1 – 3 of 3) sorted by relevance
160 int expectedAlpha = Color.alpha(expectedPixel); in verifyBitmapWithAlpha() local165 assertEquals(expectedAlpha * alpha / ALPHA_OPAQUE, actualAlpha, 1); in verifyBitmapWithAlpha()
1288 private void verifyAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, in verifyAlphaAndPremul() argument1308 assertEquals(bitmap.hasAlpha(), expectedAlpha); in verifyAlphaAndPremul() local
295 int expectedAlpha = Color.alpha(expectedColor); in areColorsTheSameWithTolerance() local300 int varianceAlpha = Math.abs(sourceAlpha - expectedAlpha); in areColorsTheSameWithTolerance()