Home
last modified time | relevance | path

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

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaProviderTestUtils.java286 final float[] actualHSV = new float[3]; in isColorMostlyEquals() local
288 Color.colorToHSV(actual, actualHSV); in isColorMostlyEquals()
291 if (Math.abs(expectedHSV[0] - actualHSV[0]) > 36) return false; in isColorMostlyEquals()
292 if (Math.abs(expectedHSV[1] - actualHSV[1]) > 0.1f) return false; in isColorMostlyEquals()
293 if (Math.abs(expectedHSV[2] - actualHSV[2]) > 0.1f) return false; in isColorMostlyEquals()