Home
last modified time | relevance | path

Searched refs:dz (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rscript28 float3 dz;
50 dz = rsMatrixMultiply(&matrix3, (float3) {0.f, 0.f, 1.f});
51 zoomFactor = dz.x * dz.x + dz.y * dz.y + dz.z * dz.z;
59 mLight = mLightRelitvePos.x + dx + mLightRelitvePos.y * dy + mLightRelitvePos.z * dz;
61 rscale = 1.5f/length(dz);
112 float3 p = s + x * dx + y * dy + dz * zstart;
179 p += dz * jitter[(x+(y<<11))%JITTER_LENGTH];
256 float dot_prod = dot(dv, dz);
266 float spec = dot(r, dz);
285 p += dz;
DViewMatrix.java265 int dz = ((dir >> 0) & 0xF); in look() local
272 if (dz > 1) { in look()
273 dz = -1; in look()
277 mLookPoint[2] + 2 * mScreenWidth * dz}; in look()
278 double[] zv = new double[]{-dx, -dy, -dz}; in look()
363 double dz = Math.sqrt(Math.abs(1 - (dx * dx + dy * dy))); in ballToVec() local
366 v[2] = dz; in ballToVec()
/frameworks/base/libs/hwui/
DMatrix.cpp438 float dz = x * data[kPerspective0] + y * data[kPerspective1] + data[kPerspective2]; in mapPoint() local
439 if (dz) dz = 1.0f / dz; in mapPoint()
441 x = dx * dz; in mapPoint()
442 y = dy * dz; in mapPoint()
/frameworks/base/graphics/java/android/graphics/
DCamera.java155 public native float dotWithNormal(float dx, float dy, float dz); in dotWithNormal() argument
/frameworks/base/libs/hwui/jni/
DCamera.cpp32 jfloat dx, jfloat dy, jfloat dz) { in Camera_translate() argument
35 v->translate(dx, dy, dz); in Camera_translate()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp375 float dz = z1 - z0; in util_computeBoundingSphere() local
378 *pSphere++ = z0 + dz * 0.5f; in util_computeBoundingSphere()
379 *pSphere++ = distance(dx, dy, dz) * 0.5f; in util_computeBoundingSphere()