Home
last modified time | relevance | path

Searched refs:getPrimaries (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/ui/tests/
Dcolorspace_test.cpp56 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()
/frameworks/native/include/ui/
DColorSpace.h207 constexpr const std::array<float2, 3>& getPrimaries() const noexcept { in getPrimaries() function
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java2708 public float[] getPrimaries(@NonNull @Size(min = 6) float[] primaries) { in getPrimaries() method in ColorSpace.Rgb
2725 public float[] getPrimaries() { in getPrimaries() method in ColorSpace.Rgb
4029 getPrimaries(rgb, primaries, mUcs);
4064 private static void getPrimaries(@NonNull Rgb rgb,
4076 rgb.getPrimaries(primaries);
4114 getPrimaries(rgb, primaries, mUcs);
4251 getPrimaries(rgb, primaries, mUcs);
/frameworks/base/api/
Dcurrent.txt12945 method public float[] getPrimaries(float[]);
12946 method public float[] getPrimaries();
Dsystem-current.txt13725 method public float[] getPrimaries(float[]);
13726 method public float[] getPrimaries();