Searched refs:dz (Results 1 - 10 of 10) sorted by relevance

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Dvr.rs28 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);
[all...]
H A DViewMatrix.java265 int dz = ((dir >> 0) & 0xF);
272 if (dz > 1) {
273 dz = -1;
277 mLookPoint[2] + 2 * mScreenWidth * dz};
278 double[] zv = new double[]{-dx, -dy, -dz};
363 double dz = Math.sqrt(Math.abs(1 - (dx * dx + dy * dy)));
366 v[2] = dz;
/frameworks/base/graphics/java/android/graphics/
H A DCamera.java161 public native float dotWithNormal(float dx, float dy, float dz); argument
/frameworks/base/libs/hwui/
H A DMatrix.cpp433 float dz = x * data[kPerspective0] + y * data[kPerspective1] + data[kPerspective2]; local
434 if (dz) dz = 1.0f / dz;
436 x = dx * dz;
437 y = dy * dz;
H A DCanvasState.cpp169 void CanvasState::translate(float dx, float dy, float dz) { argument
170 mSnapshot->transform->translate(dx, dy, dz);
H A DCanvasState.h109 void translate(float dx, float dy, float dz = 0.0f);
H A DOpenGLRenderer.h303 void translate(float dx, float dy, float dz = 0.0f);
H A DOpenGLRenderer.cpp2040 void OpenGLRenderer::translate(float dx, float dy, float dz) { argument
2041 mState.translate(dx, dy, dz);
/frameworks/base/core/jni/android/graphics/
H A DCamera.cpp35 jfloat dx, jfloat dy, jfloat dz) {
38 v->translate(dx, dy, dz);
34 Camera_translate(JNIEnv* env, jobject obj, jfloat dx, jfloat dy, jfloat dz) argument
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp394 float dz = z1 - z0; local
397 *pSphere++ = z0 + dz * 0.5f;
398 *pSphere++ = distance(dx, dy, dz) * 0.5f;

Completed in 235 milliseconds