Home
last modified time | relevance | path

Searched refs:fz (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp38 float fz = centerZ - eyeZ; in gluLookAt() local
41 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); in gluLookAt()
44 fz *= rlf; in gluLookAt()
54 float sx = fy * upZ - fz * upY; in gluLookAt()
55 float sy = fz * upX - fx * upZ; in gluLookAt()
59 float ux = sy * fz - sz * fy; in gluLookAt()
60 float uy = sz * fx - sx * fz; in gluLookAt()
76 m[10] = -fz; in gluLookAt()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp44 float fz = centerZ - eyeZ; in gluLookAt() local
47 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); in gluLookAt()
50 fz *= rlf; in gluLookAt()
60 float sx = fy * upZ - fz * upY; in gluLookAt()
61 float sy = fz * upX - fx * upZ; in gluLookAt()
65 float ux = sy * fz - sz * fy; in gluLookAt()
66 float uy = sz * fx - sx * fz; in gluLookAt()
82 m[10] = -fz; in gluLookAt()
/frameworks/base/libs/hwui/utils/
DColor.cpp151 float fz = fy - (v[2] * 0.005f); in toXyz() local
154 float Z = fz > D ? fz * fz * fz : (1.0f / B) * (fz - C); in toXyz()
170 float fz = Z > A ? pow(Z, 1.0f / 3.0f) : B * Z + C; in fromXyz() local
174 float b = 200.0f * (fy - fz); in fromXyz()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp49 float fz = centerZ - eyeZ; in gluLookAt() local
52 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); in gluLookAt()
55 fz *= rlf; in gluLookAt()
65 float sx = fy * upZ - fz * upY; in gluLookAt()
66 float sy = fz * upX - fx * upZ; in gluLookAt()
70 float ux = sy * fz - sz * fy; in gluLookAt()
71 float uy = sz * fx - sx * fz; in gluLookAt()
87 m[10] = -fz; in gluLookAt()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java707 float fz = centerZ - eyeZ; in setLookAtM() local
710 float rlf = 1.0f / Matrix.length(fx, fy, fz); in setLookAtM()
713 fz *= rlf; in setLookAtM()
716 float sx = fy * upZ - fz * upY; in setLookAtM()
717 float sy = fz * upX - fx * upZ; in setLookAtM()
727 float ux = sy * fz - sz * fy; in setLookAtM()
728 float uy = sz * fx - sx * fz; in setLookAtM()
743 rm[rmOffset + 10] = -fz; in setLookAtM()
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
Dreduce_general_examples_halter.rs7 #pragma rs reduce(fz) \
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java491 final double fz = fy - b / 200;
497 tmp = Math.pow(fz, 3);
498 final double zr = tmp > XYZ_EPSILON ? tmp : (116 * fz - 16) / XYZ_KAPPA;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce_backward.java177 private boolean fz(RenderScript RS, ScriptC_reduce_backward s) { in fz() method in UT_reduce_backward
317 pass &= fz(pRS, s); in run()
DUT_reduce.java682 private int fz(final int[] input) { in fz() method in UT_reduce
704 private boolean fz(RenderScript RS, ScriptC_reduce s, int seed, int size[]) { in fz() method in UT_reduce
711 final int javaResult = fz(inputArray); in fz()
749 final int javaResultLinear = fz(inputArray); in fz2()
793 final int javaResultLinear = fz(inputArray); in fz3()
1133 new TestDescription("fz", this::fz, 8, new int[]{100000}, 20),
1449 new TestDescription("fz", this::fz, 4, new int[]{100000 << 10}),
Dreduce_backward.rs96 #pragma rs reduce(fz) \
Dreduce.rs163 #pragma rs reduce(fz) \
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce_backward.java175 private boolean fz(RenderScript RS, ScriptC_reduce_backward s) { in fz() method in UT_reduce_backward
315 pass &= fz(pRS, s); in run()
DUT_reduce.java680 private int fz(final int[] input) { in fz() method in UT_reduce
702 private boolean fz(RenderScript RS, ScriptC_reduce s, int seed, int size[]) { in fz() method in UT_reduce
709 final int javaResult = fz(inputArray); in fz()
747 final int javaResultLinear = fz(inputArray); in fz2()
791 final int javaResultLinear = fz(inputArray); in fz3()
1131 new TestDescription("fz", this::fz, 8, new int[]{100000}, 20),
1447 new TestDescription("fz", this::fz, 4, new int[]{100000 << 10}),
Dreduce_backward.rs94 #pragma rs reduce(fz) \
Dreduce.rs161 #pragma rs reduce(fz) \
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rs97 #pragma rs reduce(fz) \
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rs86 #pragma rs reduce(fz) \
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java2001 float fz = fy - (v[2] * 0.005f); in toXyz() local
2004 float Z = fz > D ? fz * fz * fz : (1.0f / B) * (fz - C); in toXyz()
2021 float fz = Z > A ? (float) Math.pow(Z, 1.0 / 3.0) : B * Z + C; in fromXyz() local
2025 float b = 200.0f * (fy - fz); in fromXyz()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java861 final double fz = fy - b / 200;
867 tmp = Math.pow(fz, 3);
868 final double zr = tmp > XYZ_EPSILON ? tmp : (116 * fz - 16) / XYZ_KAPPA;
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_metadata.ll20 ; CHECK: exportReduceList[4]: fz - 0x00000009 - 1 - 4
319 !11 = !{!"fz", !"4", !12, !"fzInit", !"fzCombine", null, !"fzFound"}
Dtest_reduce_general_cleanup.ll340 !13 = !{!"fz", !"4", !14, !"fzInit", !"fzCombine"}