Home
last modified time | relevance | path

Searched refs:xyz (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DFrame.java129 float[] xyz = whitepoint; in make() local
130 float rW = (xyz[0] * matrix[0][0]) + (xyz[1] * matrix[0][1]) + (xyz[2] * matrix[0][2]); in make()
131 float gW = (xyz[0] * matrix[1][0]) + (xyz[1] * matrix[1][1]) + (xyz[2] * matrix[1][2]); in make()
132 float bW = (xyz[0] * matrix[2][0]) + (xyz[1] * matrix[2][1]) + (xyz[2] * matrix[2][2]); in make()
DCam.java149 float[] xyz = CamUtils.xyzFromInt(argb); in fromIntInFrame() local
153 float rT = (xyz[0] * matrix[0][0]) + (xyz[1] * matrix[0][1]) + (xyz[2] * matrix[0][2]); in fromIntInFrame()
154 float gT = (xyz[0] * matrix[1][0]) + (xyz[1] * matrix[1][1]) + (xyz[2] * matrix[1][2]); in fromIntInFrame()
155 float bT = (xyz[0] * matrix[2][0]) + (xyz[1] * matrix[2][1]) + (xyz[2] * matrix[2][2]); in fromIntInFrame()
/cts/tests/tests/graphics/src/android/graphics/cts/
DParcelableColorSpaceTest.java75 float[] xyz = new float[] {1f, 2f, 3f, 4f, 5f, 6f, 7f, 8f, 9f}; in testReadWriteCustom() local
76 ColorSpace colorSpace = new ColorSpace.Rgb("DemoSpace", xyz, 1.9); in testReadWriteCustom()
96 float[] xyz = new float[] {1f, 2f, 3f, 4f, 5f, 6f, 7f, 8f, 9f}; in testWriteInvalid() local
97 ColorSpace colorSpace = new ColorSpace.Rgb("DemoSpace", xyz, in testWriteInvalid()
114 float[] xyz = new float[] {1f, 2f, 3f, 4f, 5f, 6f, 7f, 8f, 9f}; in testIsParceableCustom() local
115 ColorSpace colorSpace = new ColorSpace.Rgb("DemoSpace", xyz, 1.9); in testIsParceableCustom()
123 float[] xyz = new float[] {1f, 2f, 3f, 4f, 5f, 6f, 7f, 8f, 9f}; in testIsParcelableInvalid() local
124 ColorSpace colorSpace = new ColorSpace.Rgb("DemoSpace", xyz, in testIsParcelableInvalid()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_colormatrix.rscript39 pin.xyz = rsGetElementAt_float3(in, x, y);
57 u.xyz = rsGetElementAt_uchar3(in, x, y);
78 rsSetElementAt_float3(out, pin.xyz, x, y);
96 rsSetElementAt_uchar3(out, u.xyz, x, y);
/cts/tests/openglperf2/
Dcob_exporter.py50 v = vertex.co.xyz
51 n = vertex.normal.xyz
/cts/tests/openglperf2/assets/fragment/
Dwater25 vec3 map1 = texture2D(u_Texture1, v_TexCoordinate + offset).xyz * 2.0 - 1.0;
26 vec3 map2 = texture2D(u_Texture2, v_TexCoordinate + offset).xyz * 2.0 - 1.0;
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java881 float[] xyz = new float[3]; in normalizeFM() local
882 map(forwardMatrix, tmp, /*out*/xyz); in normalizeFM()
885 float[] m = new float[] {1.0f / xyz[0], 0, 0, 0, 1.0f / xyz[1], 0, 0, 0, 1.0f / xyz[2]}; in normalizeFM()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_fast_d1new.rscript97 float3 tmp = convert_float3(in.xyz) * g_kOneOver255;