Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java169 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB); in testRanges()
350 assertEquals(3, ColorSpace.get(ColorSpace.Named.SRGB).getComponentCount()); in testGetComponentCount()
371 if (e == ColorSpace.Named.SRGB || isSrgbFallback) { in testIsSRGB()
386 assertFalse(ColorSpace.get(ColorSpace.Named.SRGB).isWideGamut()); in testIsWideGamut()
401 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in testWhitePoint()
417 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in testPrimaries()
433 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in testRGBtoXYZMatrix()
449 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in testXYZtoRGBMatrix()
465 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB); in testRGBtoXYZ()
484 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB); in testXYZtoRGB()
[all …]
DBitmapColorSpaceTest.java101 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createWithColorSpace()
148 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createDefaultColorSpace()
206 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), rotated.getColorSpace()); in createFromSourceWithColorSpace()
225 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), cs); in sRGB()
230 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), cs); in sRGB()
235 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), cs); in sRGB()
362 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), cs); in reuse()
423 alpha, premulCS, ColorSpace.get(ColorSpace.Named.SRGB))); in convertPremulColorToColorInt()
564 verifyColorSpaceMarshalling("green-srgb.png", ColorSpace.get(ColorSpace.Named.SRGB)); in writeColorSpace()
570 verifyParcelUnparcel(bitmapIn, ColorSpace.get(ColorSpace.Named.SRGB)); in writeColorSpace()
[all …]
DColor_ColorLongTest.java83 ColorSpace srgb = ColorSpace.get(Named.SRGB); in testColorSpace()
178 Color color7 = valueOf(new float[] { 0.5f, 0.5f, 1.0f, 0.25f }, ColorSpace.get(Named.SRGB)); in testValueOf()
186 Color color8 = valueOf(components, ColorSpace.get(Named.SRGB)); in testValueOf()
199 valueOf(new float[] { 0.5f, 0.5f, 1.0f }, ColorSpace.get(Named.SRGB)); in testValueOfFailure()
272 ColorSpace srgb = ColorSpace.get(Named.SRGB); in testPackSrgb()
DBitmapTest.java564 ColorSpace.Named.SRGB)); in testCreateBitmap_displayMetrics_mutable()
588 bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888, true, ColorSpace.get(Named.SRGB)); in testCreateBitmap_noDisplayMetrics_mutable()
660 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferSucceeds()
671 Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferMissingGpuUsageFails()
684 Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferWithProtectedUsageFails()
711 Bitmap bitmap = Bitmap.wrapHardwareBuffer(buffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferFor1010102BufferSucceeds()
730 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testGetHardwareBufferMatchesWrapped()
827 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testGetHardwareBufferClosed()
955 final ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in testGetColor()
1409 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), actual); in testSetColorSpace()
[all …]
DBitmapRegionDecoderTest.java94 ColorSpace.Named.SRGB,
99 ColorSpace.Named.SRGB,
102 ColorSpace.Named.SRGB,
509 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), region.getColorSpace()); in testReusedColorSpace()
535 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), region.getColorSpace()); in testReusedColorSpaceCropped()
DGainmapTest.java123 assertEquals(ColorSpace.Named.SRGB.ordinal(), bitmap.getColorSpace().getId()); in checkGainmap()
152 assertEquals(ColorSpace.Named.SRGB.ordinal(), bitmap.getColorSpace().getId()); in checkFountainGainmap()
DYuvImageTest.java225 ColorSpace defaultColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in testGetColorSpace()
DImageDecoderTest.java110 private static final ColorSpace sSRGB = ColorSpace.get(ColorSpace.Named.SRGB);
2430 } else if (requested == ColorSpace.get(ColorSpace.Named.SRGB)) {
2541 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), actual); in testTargetColorSpaceNoF16HARDWARE()
2617 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), actual); in testTargetColorSpaceUpconvert()
DPaintTest.java793 ColorSpace.Named.SRGB,
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DGainmapTests.java71 private static final ColorSpace SRGB = ColorSpace.get(ColorSpace.Named.SRGB); field in GainmapTests
216 Bitmap result = Bitmap.createBitmap(10, 6, Bitmap.Config.RGBA_F16, false, SRGB);
240 Bitmap result = Bitmap.createBitmap(10, 6, Bitmap.Config.RGBA_F16, false, SRGB);
260 Bitmap result = renderTestImageWithHardware(SRGB);
278 Bitmap result = renderTestImageWithHardware(SRGB, true);
310 Bitmap result = renderWithHardware(SRGB, canvas -> {
DHardwareBufferRendererTests.kt90 val colorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>()
123 val srcColorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>()
124 val srcToDst = ColorSpace.connect(srcColorSpace, ColorSpace.get(ColorSpace.Named.SRGB)) in <lambda>()
164 colorSpace: ColorSpace = ColorSpace.get(ColorSpace.Named.SRGB), in <lambda>()
207 colorSpace: ColorSpace = ColorSpace.get(ColorSpace.Named.SRGB), in <lambda>()
445 val colorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>()
470 val srcColorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>()
564 val colorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>()
DColorSpaceTests.java157 ColorSpace.Connector connector = ColorSpace.connect(ColorSpace.get(ColorSpace.Named.SRGB), in testHlgWhitePoint()
173 ColorSpace.Connector connector = ColorSpace.connect(ColorSpace.get(ColorSpace.Named.SRGB), in testPqWhitePoint()
DWideColorGamutTests.java194 return displaySpace == null ? ColorSpace.get(ColorSpace.Named.SRGB) : displaySpace; in displaySpace()
DRuntimeShaderTests.kt320 val srgb = ColorSpace.get(ColorSpace.Named.SRGB) as ColorSpace.Rgb in <lambda>()
DRenderNodeTests.java964 ColorSpace colorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in assertRender()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSimpleObjectsTest.java375 colorSpaceProfiles.getSupportedImageFormatsForColorSpace(ColorSpace.Named.SRGB); in colorSpaceProfilesTest()
403 colorSpaceProfiles.getSupportedDynamicRangeProfiles(ColorSpace.Named.SRGB, in colorSpaceProfilesTest()
DImageReaderTest.java460 if (!availableColorSpaces.contains(ColorSpace.Named.SRGB)) { in testSRGBJpeg()
468 params.mColorSpace = ColorSpace.Named.SRGB; in testSRGBJpeg()
488 if (!availableColorSpaces.contains(ColorSpace.Named.SRGB)) { in testSRGBJpegRepeating()
496 params.mColorSpace = ColorSpace.Named.SRGB; in testSRGBJpegRepeating()
DExtendedCameraCharacteristicsTest.java2258 sdrColorSpaces.add(ColorSpace.Named.SRGB); in test8BitColorSpaceOutputCharacteristics()
2344 sdrColorSpaces.add(ColorSpace.Named.SRGB); in test10BitColorSpaceOutputCharacteristics()
2348 hdrColorSpaces.add(ColorSpace.Named.SRGB); in test10BitColorSpaceOutputCharacteristics()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java665 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in getIsAppRegionOfScreenOfColorResult()
671 .convert(ColorSpace.get(ColorSpace.Named.SRGB)); in getIsAppRegionOfScreenOfColorResult()
772 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in assertColorChangeXIndex()
778 .convert(ColorSpace.get(ColorSpace.Named.SRGB)); in assertColorChangeXIndex()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java575 testGetBitmap(EGL_GL_COLORSPACE_SRGB_KHR, ColorSpace.get(ColorSpace.Named.SRGB), in testGet565Bitmap_SRGB()
581 testGetBitmap(EGL_GL_COLORSPACE_SRGB_KHR, ColorSpace.get(ColorSpace.Named.SRGB), in testGetBitmap_SRGB()
757 return ColorSpace.get(ColorSpace.Named.SRGB); in getColorSpace()
807 ColorSpace.get(ColorSpace.Named.SRGB)); in testGetBitmap()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperManagerTest.java879 final ColorSpace srgb = ColorSpace.get(ColorSpace.Named.SRGB); in testWideGamutWallpaper()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlTest.java1267 ColorSpace.get(ColorSpace.Named.DISPLAY_P3), ColorSpace.get(ColorSpace.Named.SRGB)); in testSurfaceTransaction_setDataSpace_display_p3()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt15978 enum_constant public static final android.graphics.ColorSpace.Named SRGB;