/frameworks/base/graphics/java/android/renderscript/ |
D | Matrix.java | 68 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 81 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z); in loadRotate() 86 z *= recipLen; in loadRotate() 90 float yz = y * z; in loadRotate() 91 float zx = z * x; in loadRotate() 94 float zs = z * s; in loadRotate() 103 mMat[10] = z*z*nc + c; in loadRotate() 106 public void loadScale(float x, float y, float z) { in loadScale() argument 110 mMat[10] = z; in loadScale() 113 public void loadTranslate(float x, float y, float z) { in loadTranslate() argument [all …]
|
D | Type.java | 61 int z = getZ(); in calcElementCount() local 72 if(z == 0) { in calcElementCount() 73 z = 1; in calcElementCount() 76 int count = x * y * z * faces; in calcElementCount() 77 if(hasLod && (x > 1) && (y > 1) && (z > 1)) { in calcElementCount() 84 if(z > 1) { in calcElementCount() 85 z >>= 1; in calcElementCount() 88 count += x * y * z * faces; in calcElementCount()
|
/frameworks/base/opengl/tests/angeles/ |
D | demo.c | 101 float x, y, z; member 173 dest->z = v1->z - v2->z; in vector3Sub() 182 point->z = (float)(sin(p) / r2); in superShapeMap() 256 pa.z = pb.z = 0; in createSuperShape() 267 n.x = v1.y * v2.z - v1.z * v2.y; in createSuperShape() 268 n.y = v1.z * v2.x - v1.x * v2.z; in createSuperShape() 269 n.z = v1.x * v2.y - v1.y * v2.x; in createSuperShape() 284 ca = pa.z + 0.5f; in createSuperShape() 292 result->normalArray[i + 2] = FIXED(n.z); in createSuperShape() 311 result->vertexArray[currentVertex * 3 + 2] = FIXED(pa.z); in createSuperShape() [all …]
|
/frameworks/base/libs/rs/ |
D | rsScriptC_Lib.cpp | 43 float z; member 49 float z; member 181 float len = sqrtf(v->x * v->x + v->y * v->y + v->z * v->z); in SC_vec3Norm() 185 v->z *= len; in SC_vec3Norm() 190 return sqrtf(v->x * v->x + v->y * v->y + v->z * v->z); in SC_vec3Length() 197 dest->z = lhs->z + rhs->z; in SC_vec3Add() 204 dest->z = lhs->z - rhs->z; in SC_vec3Sub() 209 float x = lhs->y * rhs->z - lhs->z * rhs->y; in SC_vec3Cross() 210 float y = lhs->z * rhs->x - lhs->x * rhs->z; in SC_vec3Cross() 211 float z = lhs->x * rhs->y - lhs->y * rhs->x; in SC_vec3Cross() local [all …]
|
D | rsMatrix.h | 42 void loadRotate(float rot, float x, float y, float z); 43 void loadScale(float x, float y, float z); 44 void loadTranslate(float x, float y, float z); 57 void rotate(float rot, float x, float y, float z) { in rotate() 59 tmp.loadRotate(rot, x, y, z); in rotate() 62 void scale(float x, float y, float z) { in scale() 64 tmp.loadScale(x, y, z); in scale() 67 void translate(float x, float y, float z) { in translate() 69 tmp.loadTranslate(x, y, z); in translate()
|
D | rsMatrix.cpp | 61 void Matrix::loadRotate(float rot, float x, float y, float z) in loadRotate() argument 75 const float len = sqrtf(x*x + y*y + z*z); in loadRotate() 80 z *= recipLen; in loadRotate() 84 const float yz = y * z; in loadRotate() 85 const float zx = z * x; in loadRotate() 88 const float zs = z * s; in loadRotate() 97 m[10] = z*z*nc + c; in loadRotate() 100 void Matrix::loadScale(float x, float y, float z) in loadScale() argument 105 m[10] = z; in loadScale() 108 void Matrix::loadTranslate(float x, float y, float z) in loadTranslate() argument [all …]
|
D | rsAdapter.h | 45 inline void setZ(uint32_t z) {mZ = z;} in setZ() argument 77 inline void setZ(uint32_t z) {mZ = z;} in setZ() argument
|
D | rsLight.cpp | 47 void Light::setPosition(float x, float y, float z) in setPosition() argument 51 mPosition[2] = z; in setPosition() 121 void rsi_LightSetPosition(Context *rsc, RsLight vl, float x, float y, float z) in rsi_LightSetPosition() argument 124 l->setPosition(x, y, z); in rsi_LightSetPosition()
|
D | rsNoise.h | 28 float SC_noisef3(float x, float y, float z); 30 float SC_turbulencef3(float x, float y, float z, float octaves);
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 251 final float z = -2.0f * (r_depth); in orthoM() local 257 m[mOffset +10] = z; in orthoM() 340 public static float length(float x, float y, float z) { in length() argument 341 return (float) Math.sqrt(x * x + y * y + z * z); in length() 370 float x, float y, float z) { in scaleM() argument 376 sm[ 8 + smi] = m[ 8 + mi] * z; in scaleM() 390 float x, float y, float z) { in scaleM() argument 395 m[ 8 + mi] *= z; in scaleM() 411 float x, float y, float z) { in translateM() argument 418 tm[12 + tmi] = m[mi] * x + m[4 + mi] * y + m[8 + mi] * z + in translateM() [all …]
|
D | GLErrorWrapper.java | 670 public void glRotatef(float angle, float x, float y, float z) { in glRotatef() argument 672 mgl.glRotatef(angle, x, y, z); in glRotatef() 676 public void glRotatex(int angle, int x, int y, int z) { in glRotatex() argument 678 mgl.glRotatex(angle, x, y, z); in glRotatex() 694 public void glScalef(float x, float y, float z) { in glScalef() argument 696 mgl.glScalef(x, y, z); in glScalef() 700 public void glScalex(int x, int y, int z) { in glScalex() argument 702 mgl.glScalex(x, y, z); in glScalex() 821 public void glTranslatef(float x, float y, float z) { in glTranslatef() argument 823 mgl.glTranslatef(x, y, z); in glTranslatef() [all …]
|
/frameworks/base/core/jni/ |
D | android_util_Base64.cpp | 76 unsigned long t, x, y, z; in base64_decode() local 81 for (x = y = z = t = 0; x < inlen; x++) { in base64_decode() 99 if (z + g > *outlen) { in base64_decode() 102 out[z++] = (unsigned char)((t>>16)&255); in base64_decode() 103 if (g > 1) out[z++] = (unsigned char)((t>>8)&255); in base64_decode() 104 if (g > 2) out[z++] = (unsigned char)(t&255); in base64_decode() 111 *outlen = z; in base64_decode()
|
/frameworks/base/libs/rs/java/Rollo/res/raw/ |
D | rollo2.c | 41 float z = 4.f; in main() local 88 drawQuad(tx1, ty1, z, in main() 89 tx2, ty1, z, in main() 90 tx2, ty2, z, in main() 91 tx1, ty2, z); in main() 107 float tz1 = z + tmpSin * iconSize; in main() 108 float tz2 = z; in main() 133 float tz1 = z; in main() 134 float tz2 = z + tmpSin * iconSize; in main()
|
/frameworks/base/opengl/libagl/ |
D | vertex.cpp | 41 c->currentNormal.z = 0x10000; in ogles_init_vertex() 77 v->window.z = gglMulAddx(gglMulx(v->clip.z, rw, 16), m[10], m[14], 28); in perspective() 95 if (v->clip.z < -w) clip |= vertex_t::CLIP_N; in clipFrustumPerspective() 96 if (v->clip.z > w) clip |= vertex_t::CLIP_F; in clipFrustumPerspective() 147 v->window.z = v->clip.z; in ogles_vertex_perspective2D() 213 void glNormal3f(GLfloat x, GLfloat y, GLfloat z) in glNormal3f() argument 218 c->currentNormal.z = gglFloatToFixed(z); in glNormal3f() 221 void glNormal3x(GLfixed x, GLfixed y, GLfixed z) in glNormal3x() argument 226 c->currentNormal.z = z; in glNormal3x()
|
D | matrix.cpp | 316 void matrixf_t::translate(GLfloat x, GLfloat y, GLfloat z) { in translate() argument 318 m[12+i] += m[i]*x + m[4+i]*y + m[8+i]*z; in translate() 322 void matrixf_t::scale(GLfloat x, GLfloat y, GLfloat z) { in scale() argument 326 m[8+i] *= z; in scale() 330 void matrixf_t::rotate(GLfloat a, GLfloat x, GLfloat y, GLfloat z) in rotate() argument 339 if (isOnef(x) && isZerof(y) && isZerof(z)) { in rotate() 345 } else if (isZerof(x) && isOnef(y) && isZerof(z)) { in rotate() 351 } else if (isZerof(x) && isZerof(y) && isOnef(z)) { in rotate() 358 const GLfloat len = sqrtf(x*x + y*y + z*z); in rotate() 363 z *= recipLen; in rotate() [all …]
|
D | copybit.h | 29 bool drawTexiOESWithCopybit_impl(GLint x, GLint y, GLint z, 45 inline bool drawTexiOESWithCopybit(GLint x, GLint y, GLint z, in drawTexiOESWithCopybit() argument 51 return drawTexiOESWithCopybit_impl(x, y, z, w, h, c); in drawTexiOESWithCopybit()
|
D | light.cpp | 54 static GLfixed fog_linear(ogles_context_t* c, GLfixed z); 55 static GLfixed fog_exp(ogles_context_t* c, GLfixed z); 56 static GLfixed fog_exp2(ogles_context_t* c, GLfixed z); 69 c->lighting.lights[i].position.z = 0x10000; in ogles_init_light() 70 c->lighting.lights[i].spotDir.z = -0x10000; in ogles_init_light() 120 static GLfixed fog_linear(ogles_context_t* c, GLfixed z) { in fog_linear() argument 121 return clampF(gglMulx((c->fog.end - ((z<0)?-z:z)), c->fog.invEndMinusStart)); in fog_linear() 124 static GLfixed fog_exp(ogles_context_t* c, GLfixed z) { in fog_exp() argument 125 const float e = fixedToFloat(gglMulx(c->fog.density, ((z<0)?-z:z))); in fog_exp() 129 static GLfixed fog_exp2(ogles_context_t* c, GLfixed z) { in fog_exp2() argument [all …]
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
D | FilmStripMesh.java | 38 float z; field in FilmStripMesh.Vertex 48 z = 0; in Vertex() 54 z = _z; in xyz() 71 float dz = v1.z - v2.z; in computeNorm() 222 t.z = vtx[ct*2+1] / 100.f; in init() 234 tm.addVertex(t.x, t.y, t.z); in init() 239 tm.addVertex(t.x, t.y, t.z); in init()
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
D | GL11Ext.java | 49 float z, in glDrawTexfOES() argument 66 int z, in glDrawTexiOES() argument 83 short z, in glDrawTexsOES() argument 100 int z, in glDrawTexxOES() argument
|
/frameworks/base/opengl/tools/glgen/specs/jsr239/ |
D | glspec-1.1ext | 2 void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height ) 4 void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height ) 6 void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height ) 8 void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height )
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 44 void mx4transform(float x, float y, float z, float w, const float* pM, float* pDest) { in mx4transform() argument 45 pDest[0] = pM[0 + 4 * 0] * x + pM[0 + 4 * 1] * y + pM[0 + 4 * 2] * z + pM[0 + 4 * 3] * w; in mx4transform() 46 pDest[1] = pM[1 + 4 * 0] * x + pM[1 + 4 * 1] * y + pM[1 + 4 * 2] * z + pM[1 + 4 * 3] * w; in mx4transform() 47 pDest[2] = pM[2 + 4 * 0] * x + pM[2 + 4 * 1] * y + pM[2 + 4 * 2] * z + pM[2 + 4 * 3] * w; in mx4transform() 48 pDest[3] = pM[3 + 4 * 0] * x + pM[3 + 4 * 1] * y + pM[3 + 4 * 2] * z + pM[3 + 4 * 3] * w; in mx4transform() 222 inline float distance2(float x, float y, float z) { in distance2() argument 223 return x * x + y * y + z * z; in distance2() 226 inline float distance(float x, float y, float z) { in distance() argument 227 return sqrtf(distance2(x, y, z)); in distance() 280 float z = *pSrc++; in util_computeBoundingSphere() local [all …]
|
/frameworks/base/libs/rs/java/ImageProcessing/res/raw/ |
D | threshold.rs | 12 pixel.z = (in->b & 0xFF) / 255.0f; 21 out->b = pixel.z * 255.0f; 31 luminanceVector.z = 0.0721f;
|
/frameworks/base/opengl/libs/GLES_CM/ |
D | glext_api.in | 10 void API_ENTRY(glDrawTexsOES)(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) { 11 CALL_GL_API(glDrawTexsOES, x, y, z, width, height); 13 void API_ENTRY(glDrawTexiOES)(GLint x, GLint y, GLint z, GLint width, GLint height) { 14 CALL_GL_API(glDrawTexiOES, x, y, z, width, height); 16 void API_ENTRY(glDrawTexxOES)(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) { 17 CALL_GL_API(glDrawTexxOES, x, y, z, width, height); 28 void API_ENTRY(glDrawTexfOES)(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) { 29 CALL_GL_API(glDrawTexfOES, x, y, z, width, height); 133 void API_ENTRY(glRotatexOES)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { 134 CALL_GL_API(glRotatexOES, angle, x, y, z); [all …]
|
/frameworks/base/opengl/tools/glgen/specs/gles11/ |
D | GLES11Ext.spec | 4 void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height ) 5 void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height ) 6 void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) 10 void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height ) 45 void glRotatexOES ( GLfixed angle, GLfixed x, GLfixed y, GLfixed z ) 47 void glScalexOES ( GLfixed x, GLfixed y, GLfixed z ) 52 void glTranslatexOES ( GLfixed x, GLfixed y, GLfixed z )
|
/frameworks/base/include/private/ui/ |
D | LayerState.h | 36 x(0), y(0), z(0), w(0), h(0), in layer_state_t() 57 uint32_t z; member
|