Home
last modified time | relevance | path

Searched refs:sRGB (Results 1 – 10 of 10) 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/base/libs/hwui/utils/
DColor.cpp186 auto colorSpace = ColorSpace::sRGB(); in sRGBToLab()
198 auto colorSpace = ColorSpace::sRGB(); in LabToSRGB()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp314 auto sRGB = SkColorSpace::MakeSRGB(); in SetPixels() local
316 width, height, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in SetPixels()
943 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_getPixel() local
945 1, 1, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_getPixel()
971 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_getPixels() local
973 width, height, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_getPixels()
988 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_setPixel() local
990 1, 1, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_setPixel()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop72 # greater than sRGB. Typical display may have same
79 # Default is sRGB.
199 # 2. Hardware composer's ability to composite contents when sRGB contents
256 # If unspecified, the primaries is sRGB gamut by default.
/frameworks/native/libs/ui/tools/
Dlutgen.cpp82 return ColorSpace::sRGB(); in findColorSpace()
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h233 static const ColorSpace sRGB();
/frameworks/native/libs/ui/include/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.java1201 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createBitmap() local
1203 config.nativeInt, false, sRGB.getNativeInstance()); in createBitmap()
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp392 const ColorSpace srgb(ColorSpace::sRGB()); in GLESRenderEngine()