Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorTest.java388 float[] hsv = new float[2]; in testHSVToColorArrayTooShort() local
389 Color.HSVToColor(hsv); in testHSVToColorArrayTooShort()
394 float[] hsv = new float[3]; in testHSVToColor() local
395 Color.colorToHSV(Color.RED, hsv); in testHSVToColor()
396 assertEquals(Color.RED, Color.HSVToColor(hsv)); in testHSVToColor()
401 float[] hsv = new float[3]; in testHSVToColorWithAlpha() local
402 Color.colorToHSV(Color.RED, hsv); in testHSVToColorWithAlpha()
403 assertEquals(Color.RED, Color.HSVToColor(0xff, hsv)); in testHSVToColorWithAlpha()
453 float[] hsv = new float[2]; in testRGBToHSVArrayTooShort() local
454 Color.RGBToHSV(0xff, 0x00, 0x00, hsv); in testRGBToHSVArrayTooShort()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorSpaceTests.java296 float[] hsv = new float[3]; in testMultiAtlasGlyphsWithColorSpace() local
297 Color.colorToHSV(color.toArgb(), hsv); in testMultiAtlasGlyphsWithColorSpace() local
298 if (hsv[1] > saturationThreshold) { in testMultiAtlasGlyphsWithColorSpace()