Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DColor_ColorLongTest.java104 assertTrue(Color.isSrgb(pack(0.5f, 0.7f, 1.0f))); in testIsSrgb()
105 assertFalse(Color.isSrgb(pack(0.5f, 0.7f, 1.0f, 1.0f, p3))); in testIsSrgb()
107 assertTrue(Color.valueOf(0.5f, 0.7f, 1.0f).isSrgb()); in testIsSrgb()
108 assertFalse(Color.valueOf(0.5f, 0.7f, 1.0f, 1.0f, p3).isSrgb()); in testIsSrgb()
139 assertTrue(color1.getColorSpace().isSrgb()); in testValueOf()
146 assertTrue(color2.getColorSpace().isSrgb()); in testValueOf()
153 assertTrue(color3.getColorSpace().isSrgb()); in testValueOf()
160 assertFalse(color4.getColorSpace().isSrgb()); in testValueOf()
168 assertFalse(color5.getColorSpace().isSrgb()); in testValueOf()
176 assertTrue(color6.getColorSpace().isSrgb()); in testValueOf()
[all …]
DColorSpaceTest.java322 assertTrue(colorSpace.isSrgb()); in testIsSRGB()
325 colorSpace.isSrgb()); in testIsSRGB()
331 assertFalse(cs.isSrgb()); in testIsSRGB()
DBitmapTest.java2761 private static boolean isSrgb(ColorSpace cs) { in isSrgb() method
2814 if (isSrgb(cs)) { in testNdkCompress()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java877 assertFalse(colorSpace.isSrgb());