Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DWideColorGamutTests.java53 private static final ColorSpace DISPLAY_P3 = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); field in WideColorGamutTests
66 Color.valueOf(0.937f, 0.000f, 0.000f, 1.0f, DISPLAY_P3).convert(SCRGB),
67 Color.valueOf(1.000f, 0.000f, 0.000f, 1.0f, DISPLAY_P3).convert(SCRGB),
68 Color.valueOf(0.918f, 0.200f, 0.137f, 1.0f, DISPLAY_P3).convert(SCRGB)
143 final Color greenP3 = Color.valueOf(0, 1.0f, 0, 1.0f, DISPLAY_P3); in testCanvasDrawColorLong()
170 final Color greenP3 = Color.valueOf(0, 1.0f, 0, 1.0f, DISPLAY_P3); in testCanvasDrawColorLongBlendMode()
171 final Color redP3 = Color.valueOf(1.0f, 0, 0, 1.0f, DISPLAY_P3); in testCanvasDrawColorLongBlendMode()
DExactCanvasTests.java355 ColorSpace.get(ColorSpace.Named.DISPLAY_P3))); in testColorLongs()
357 ColorSpace.get(ColorSpace.Named.DISPLAY_P3)), BlendMode.PLUS); in testColorLongs()
360 ColorSpace.get(ColorSpace.Named.DISPLAY_P3))); in testColorLongs()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColor_ColorLongTest.java51 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testRed()
59 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testGreen()
67 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testBlue()
75 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testAlpha()
84 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testColorSpace()
102 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testIsSrgb()
113 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testIsWideGamut()
124 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testIsInColorSpace()
132 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testValueOf()
300 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testPack()
[all …]
DBitmapColorSpaceTest.java85 ColorSpace.Named.DISPLAY_P3, in createWithColorSpace()
240 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), cs); in p3()
245 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), cs); in p3()
250 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), cs); in p3()
314 new Asset("green-p3.png", ColorSpace.Named.DISPLAY_P3), in reconfigure()
370 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), cs); in reuse()
387 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), cs); in verifyGetPixel()
433 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), cs); in verifyGetPixels()
477 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), b.getColorSpace()); in verifySetPixel()
482 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), b.getColorSpace()); in verifySetPixel()
[all …]
DRadialGradientTest.java70 ColorSpace p3 = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); in testColorLong()
174 colors[1] = Color.pack(.5f, .5f, .5f, 1.0f, ColorSpace.get(ColorSpace.Named.DISPLAY_P3)); in testMismatchColorLongs()
181 long color1 = Color.pack(.5f, .5f, .5f, 1.0f, ColorSpace.get(ColorSpace.Named.DISPLAY_P3)); in testMismatchColorLongs2()
DLinearGradientTest.java82 ColorSpace p3 = ColorSpace.get(ColorSpace.Named.DISPLAY_P3);
196 colors[1] = Color.pack(.5f, .5f, .5f, 1.0f, ColorSpace.get(ColorSpace.Named.DISPLAY_P3));
203 long color1 = Color.pack(.5f, .5f, .5f, 1.0f, ColorSpace.get(ColorSpace.Named.DISPLAY_P3));
DSweepGradientTest.java211 colors[1] = Color.pack(.5f, .5f, .5f, 1.0f, ColorSpace.get(ColorSpace.Named.DISPLAY_P3)); in testMismatchColorLongs()
218 long color1 = Color.pack(.5f, .5f, .5f, 1.0f, ColorSpace.get(ColorSpace.Named.DISPLAY_P3)); in testMismatchColorLongs2()
257 ColorSpace p3 = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); in testColorLong()
DBitmapRegionDecoderTest.java87 ColorSpace.Named.DISPLAY_P3,
95 ColorSpace.Named.DISPLAY_P3,
518 assertEquals(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), region.getColorSpace()); in testReusedColorSpace()
527 opts.inPreferredColorSpace = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); in testInColorSpace()
534 assertSame(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), opts.outColorSpace); in testInColorSpace()
DBitmapTest.java807 ColorSpace.get(ColorSpace.Named.DISPLAY_P3)); in testEraseColorOnP3()
1167 mBitmap.setColorSpace(ColorSpace.get(Named.DISPLAY_P3)); in testSetColorSpaceRecycled()
1233 ColorSpace.get(Named.DISPLAY_P3)); in testSetColorSpaceIncreasedRange()
1612 ColorSpace.Named.DISPLAY_P3 in testParcelF16ColorSpace()
DColorSpaceTest.java310 assertEquals(3, ColorSpace.get(ColorSpace.Named.DISPLAY_P3).getComponentCount()); in testGetComponentCount()
DImageDecoderTest.java2155 ColorSpace.get(ColorSpace.Named.DISPLAY_P3)),
2166 ColorSpace.get(ColorSpace.Named.DISPLAY_P3)),
DPaintTest.java780 ColorSpace.Named.DISPLAY_P3}) {
/cts/tests/tests/transition/src/android/transition/cts/
DSharedElementCallbackTest.java49 ColorSpace cs = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); in testSnapshot()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java226 testGetBitmap(EGL_GL_COLORSPACE_DISPLAY_P3_EXT, ColorSpace.get(ColorSpace.Named.DISPLAY_P3), in testGetBitmap_8888_P3()
233 ColorSpace.get(ColorSpace.Named.DISPLAY_P3), false, true, in testGetBitmap_8888_PassthroughP3()
240 ColorSpace.get(ColorSpace.Named.DISPLAY_P3), true, true, in testGetBitmap_FP16_PassthroughP3()
246 ColorSpace.Rgb displayP3 = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.DISPLAY_P3); in testGetBitmap_FP16_LinearP3()