Home
last modified time | relevance | path

Searched refs:z2 (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java346 float x2, float y2, float z2) { in hasMoved() argument
347 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); in hasMoved()
349 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2)); in hasMoved()
361 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2 in hasMoved()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp154 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrix4x4_K() local
172 z2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0xaa)); in rsdIntrinsicColorMatrix4x4_K()
177 z2 = _mm_add_epi32(z2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0xaa))); in rsdIntrinsicColorMatrix4x4_K()
182 z2 = _mm_srai_epi32(z2, 8); in rsdIntrinsicColorMatrix4x4_K()
186 z2 = packus_epi32(z2, w2); in rsdIntrinsicColorMatrix4x4_K()
187 o4 = _mm_packus_epi16(x2, z2); in rsdIntrinsicColorMatrix4x4_K()
210 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrix3x3_K() local
228 z2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0xaa)); in rsdIntrinsicColorMatrix3x3_K()
232 z2 = _mm_add_epi32(z2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0xaa))); in rsdIntrinsicColorMatrix3x3_K()
236 z2 = _mm_srai_epi32(z2, 8); in rsdIntrinsicColorMatrix3x3_K()
[all …]
/frameworks/base/core/java/android/util/
DMathUtils.java108 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { in dist() argument
111 final float z = (z2 - z1); in dist()
/frameworks/rs/driver/
DrsdGL.h91 float x2, float y2, float z2, float u2, float v2,
DrsdRuntimeStubs.cpp854 float x2, float y2, float z2, float u2, float v2, argument
874 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
888 float x2, float y2, float z2, argument
892 x2, y2, z2, 1, 1,
1026 float x2, float y2, float z2, argument
1030 x2, y2, z2,
1036 float x2, float y2, float z2, float u2, float v2, argument
1040 x2, y2, z2, u2, v2,
DrsdGL.cpp542 float x2, float y2, float z2, float u2, float v2, in rsdGLDrawQuadTexCoords() argument
546 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsdGLDrawQuadTexCoords()
/frameworks/rs/script_api/
Drs_graphics.spec489 arg: float z2
515 arg: float z2
699 float x1, y1, z1, x2, y2, z2;
700 rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2);
706 bBoxMax->z = z2;
/frameworks/rs/
DrsFont.h248 float x2, float y2, float z2,
DrsFont.cpp665 float x2, float y2, float z2, in appendMeshQuad() argument
693 (*currentPos++) = z2; in appendMeshQuad()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Drasterize.rscript49 // string(solve([x1*dx+y1*dy+zoff=z1,x2*dx+y2*dy+zoff=z2,x3*dx+y3*dy+zoff=z3],[dx,dy,zoff]));
/frameworks/rs/script_api/include/
Drs_graphics.rsh816 rsgDrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3,
837 float z2, float u2, float v2, float x3, float y3, float z3, float u3,
1046 float x1, y1, z1, x2, y2, z2;
1047 rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2);
1053 bBoxMax->z = z2;