Home
last modified time | relevance | path

Searched refs:sRGB (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/ui/tests/
Dcolorspace_test.cpp41 ColorSpace sRGB("sRGB", sRGBToXYZ); in TEST_F() local
43 EXPECT_EQ(sRGBToXYZ, sRGB.getRGBtoXYZ()); in TEST_F()
44 EXPECT_EQ(XYZtoSRGB, sRGB.getXYZtoRGB()); in TEST_F()
54 ColorSpace sRGB("sRGB", sRGBToXYZ); in TEST_F() local
56 EXPECT_NEAR(0.640f, sRGB.getPrimaries()[0].x, 1e-5f); in TEST_F()
57 EXPECT_NEAR(0.330f, sRGB.getPrimaries()[0].y, 1e-5f); in TEST_F()
59 EXPECT_NEAR(0.300f, sRGB.getPrimaries()[1].x, 1e-5f); in TEST_F()
60 EXPECT_NEAR(0.600f, sRGB.getPrimaries()[1].y, 1e-5f); in TEST_F()
62 EXPECT_NEAR(0.150f, sRGB.getPrimaries()[2].x, 1e-5f); in TEST_F()
63 EXPECT_NEAR(0.060f, sRGB.getPrimaries()[2].y, 1e-5f); in TEST_F()
[all …]
/frameworks/native/libs/shaders/
Dshaders.cpp251 return ColorSpace::sRGB(); in toColorSpace()
270 return ColorSpace::sRGB(); in toColorSpace()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/common/
DBaseDrawingView.kt26 val sRGB = ColorSpace.get(ColorSpace.Named.SRGB) constant in com.android.test.silkfx.common.BaseDrawingView
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java162 final ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in testSnapshotBuilder() local
181 builder.setColorSpace(sRGB); in testSnapshotBuilder()
199 assertEquals(sRGB, snapshot.getColorSpace()); in testSnapshotBuilder()
/frameworks/base/libs/hwui/jni/
DBitmap.cpp265 auto sRGB = SkColorSpace::MakeSRGB(); in SetPixels() local
267 width, height, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in SetPixels()
959 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_getPixel() local
961 1, 1, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_getPixel()
987 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_getPixels() local
989 width, height, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_getPixels()
1004 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_setPixel() local
1006 1, 1, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_setPixel()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt55 val colorSpaces = arrayOf(sRGB, displayP3, bt2020_pq, scRGB) in onDraw()
/frameworks/native/libs/shaders/tests/
Dshaders_test.cpp81 ColorSpace inputColorSpace = ColorSpace::sRGB(); in TEST_F()
/frameworks/base/libs/hwui/utils/
DColor.cpp364 auto colorSpace = ColorSpace::sRGB(); in sRGBToLab()
376 auto colorSpace = ColorSpace::sRGB(); in LabToSRGB()
/frameworks/native/libs/ui/tools/
Dlutgen.cpp82 return ColorSpace::sRGB(); in findColorSpace()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop92 # greater than sRGB. Typical display may have same
99 # Default is sRGB.
220 # 2. Hardware composer's ability to composite contents when sRGB contents
291 # If unspecified, the primaries is sRGB gamut by default.
/frameworks/native/libs/ui/include_types/ui/
DColorSpace.h233 static const ColorSpace sRGB();
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h233 static const ColorSpace sRGB();
/frameworks/native/libs/ui/
DColorSpace.cpp233 const ColorSpace ColorSpace::sRGB() { in sRGB() function in android::ColorSpace
/frameworks/base/graphics/java/android/graphics/
DBitmap.java1310 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createBitmap() local
1312 config.nativeInt, false, sRGB.getNativeInstance()); in createBitmap()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLESRenderEngine.cpp367 const ColorSpace srgb(ColorSpace::sRGB()); in GLESRenderEngine()