Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTestUtils.java181 float idealAlpha = Color.alpha(idealColor) / 255.0f; in compareImages() local
186 totalError += Math.abs((idealAlpha * Color.red(idealColor)) in compareImages()
188 totalError += Math.abs((idealAlpha * Color.green(idealColor)) in compareImages()
190 totalError += Math.abs((idealAlpha * Color.blue(idealColor)) in compareImages()