Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java313 float x2, float y2, float z2) { in hasMoved() argument
314 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); in hasMoved()
316 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2)); in hasMoved()
328 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2 in hasMoved()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.c154 __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/rs/scriptc/
Drs_graphics.rsh259 * @param z2
269 float x2, float y2, float z2,
285 * @param z2
301 float x2, float y2, float z2, float u2, float v2,
414 float x1, y1, z1, x2, y2, z2;
415 rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2);
421 bBoxMax->z = z2;
/frameworks/base/core/java/android/util/
DMathUtils.java100 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { in dist() argument
103 final float z = (z2 - z1); in dist()
/frameworks/rs/driver/
DrsdGL.h94 float x2, float y2, float z2, float u2, float v2,
DrsdGL.cpp536 float x2, float y2, float z2, float u2, float v2, in rsdGLDrawQuadTexCoords() argument
540 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsdGLDrawQuadTexCoords()
DrsdRuntimeStubs.cpp306 float x2, float y2, float z2, float u2, float v2, in SC_DrawQuadTexCoords() argument
326 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in SC_DrawQuadTexCoords()
340 float x2, float y2, float z2, in SC_DrawQuad() argument
344 x2, y2, z2, 1, 1, in SC_DrawQuad()
/frameworks/rs/
DrsFont.h248 float x2, float y2, float z2,
DrsFont.cpp670 float x2, float y2, float z2, in appendMeshQuad() argument
698 (*currentPos++) = z2; in appendMeshQuad()