Home
last modified time | relevance | path

Searched refs:isSrgb (Results 1 – 6 of 6) 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.java372 assertTrue(colorSpace.isSrgb()); in testIsSRGB()
375 colorSpace.isSrgb()); in testIsSRGB()
381 assertFalse(cs.isSrgb()); in testIsSRGB()
DBitmapTest.java2743 private static boolean isSrgb(ColorSpace cs) { in isSrgb() method
2796 if (isSrgb(cs)) { in testNdkCompress()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java1013 assertFalse(colorSpace.isSrgb());
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlTest.java1268 assertTrue(Color.isSrgb(converted)); in testSurfaceTransaction_setDataSpace_display_p3()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt15850 method public boolean isSrgb();
15851 method public static boolean isSrgb(@ColorLong long);
15920 method public boolean isSrgb();