/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic3DLUT.cpp | 133 uint4 v2 = (v + 0x7f) >> (int4)8; local 135 uchar4 ret = convert_uchar4(v2); 152 ALOGE("v2 %08x %08x %08x %08x", v2.x, v2.y, v2.z, v2.w);
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 306 float x2, float y2, float z2, float u2, float v2, 327 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; 305 SC_DrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument
|
/frameworks/rs/driver/runtime/arch/ |
H A D | generic.c | 114 extern float __attribute__((overloadable)) fmax(float v1, float v2) { argument 115 return v1 > v2 ? v1 : v2; 118 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { argument 120 r.x = v1.x > v2.x ? v1.x : v2.x; 121 r.y = v1.y > v2.y ? v1.y : v2.y; 125 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { argument 127 r.x = v1.x > v2 133 fmax(float4 v1, float4 v2) argument 142 fmax(float2 v1, float v2) argument 149 fmax(float3 v1, float v2) argument 157 fmax(float4 v1, float v2) argument 166 fmin(float v1, float v2) argument 174 fmin(float2 v1, float2 v2) argument 181 fmin(float3 v1, float3 v2) argument 189 fmin(float4 v1, float4 v2) argument 198 fmin(float2 v1, float v2) argument 205 fmin(float3 v1, float v2) argument 213 fmin(float4 v1, float v2) argument 227 max(char v1, char v2) argument 231 max(char2 v1, char2 v2) argument 238 max(char3 v1, char3 v2) argument 246 max(char4 v1, char4 v2) argument 255 max(short v1, short v2) argument 259 max(short2 v1, short2 v2) argument 266 max(short3 v1, short3 v2) argument 274 max(short4 v1, short4 v2) argument 283 max(int v1, int v2) argument 287 max(int2 v1, int2 v2) argument 294 max(int3 v1, int3 v2) argument 302 max(int4 v1, int4 v2) argument 311 max(uchar v1, uchar v2) argument 315 max(uchar2 v1, uchar2 v2) argument 322 max(uchar3 v1, uchar3 v2) argument 330 max(uchar4 v1, uchar4 v2) argument 339 max(ushort v1, ushort v2) argument 343 max(ushort2 v1, ushort2 v2) argument 350 max(ushort3 v1, ushort3 v2) argument 358 max(ushort4 v1, ushort4 v2) argument 367 max(uint v1, uint v2) argument 371 max(uint2 v1, uint2 v2) argument 378 max(uint3 v1, uint3 v2) argument 386 max(uint4 v1, uint4 v2) argument 395 max(float v1, float v2) argument 399 max(float2 v1, float2 v2) argument 403 max(float2 v1, float v2) argument 407 max(float3 v1, float3 v2) argument 411 max(float3 v1, float v2) argument 415 max(float4 v1, float4 v2) argument 419 max(float4 v1, float v2) argument 428 min(int8_t v1, int8_t v2) argument 432 min(char2 v1, char2 v2) argument 439 min(char3 v1, char3 v2) argument 447 min(char4 v1, char4 v2) argument 456 min(int16_t v1, int16_t v2) argument 460 min(short2 v1, short2 v2) argument 467 min(short3 v1, short3 v2) argument 475 min(short4 v1, short4 v2) argument 484 min(int32_t v1, int32_t v2) argument 488 min(int2 v1, int2 v2) argument 495 min(int3 v1, int3 v2) argument 503 min(int4 v1, int4 v2) argument 512 min(uchar v1, uchar v2) argument 516 min(uchar2 v1, uchar2 v2) argument 523 min(uchar3 v1, uchar3 v2) argument 531 min(uchar4 v1, uchar4 v2) argument 540 min(ushort v1, ushort v2) argument 544 min(ushort2 v1, ushort2 v2) argument 551 min(ushort3 v1, ushort3 v2) argument 559 min(ushort4 v1, ushort4 v2) argument 568 min(uint v1, uint v2) argument 572 min(uint2 v1, uint2 v2) argument 579 min(uint3 v1, uint3 v2) argument 587 min(uint4 v1, uint4 v2) argument 596 min(float v1, float v2) argument 600 min(float2 v1, float2 v2) argument 604 min(float2 v1, float v2) argument 608 min(float3 v1, float3 v2) argument 612 min(float3 v1, float v2) argument 616 min(float4 v1, float4 v2) argument 620 min(float4 v1, float v2) argument [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 12 extern float __attribute__((overloadable)) fmin(float v, float v2); 13 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2); 14 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2); 15 extern float4 __attribute__((overloadable)) fmin(float4 v, float v2); 17 extern float __attribute__((overloadable)) fmax(float v, float v2); 18 extern float2 __attribute__((overloadable)) fmax(float2 v, float v2); 19 extern float3 __attribute__((overloadable)) fmax(float3 v, float v2); 20 extern float4 __attribute__((overloadable)) fmax(float4 v, float v2); 71 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \ 73 r.x = fnc(v1.x, v2 1207 float2 v2 = {native_log2(v.x), native_log2(v.y)}; local 1211 float3 v2 = {native_log2(v.x), native_log2(v.y), native_log2(v.z)}; local 1215 float4 v2 = {native_log2(v.x), native_log2(v.y), native_log2(v.z), native_log2(v.w)}; local 1247 float v2 = native_log2(v); local 1252 float2 v2 = native_log2(v); local 1257 float3 v2 = native_log2(v); local 1262 float4 v2 = native_log2(v); local 1267 min(double v1, double v2) argument 1271 min(double2 v1, double2 v2) argument 1278 min(double3 v1, double3 v2) argument 1286 min(double4 v1, double4 v2) argument 1295 min(long v1, long v2) argument 1298 min(long2 v1, long2 v2) argument 1304 min(long3 v1, long3 v2) argument 1311 min(long4 v1, long4 v2) argument 1320 min(ulong v1, ulong v2) argument 1323 min(ulong2 v1, ulong2 v2) argument 1329 min(ulong3 v1, ulong3 v2) argument 1336 min(ulong4 v1, ulong4 v2) argument 1345 max(double v1, double v2) argument 1349 max(double2 v1, double2 v2) argument 1356 max(double3 v1, double3 v2) argument 1364 max(double4 v1, double4 v2) argument 1373 max(long v1, long v2) argument 1376 max(long2 v1, long2 v2) argument 1382 max(long3 v1, long3 v2) argument 1389 max(long4 v1, long4 v2) argument 1398 max(ulong v1, ulong v2) argument 1401 max(ulong2 v1, ulong2 v2) argument 1407 max(ulong3 v1, ulong3 v2) argument 1414 max(ulong4 v1, ulong4 v2) argument 1486 native_distance(float v1, float v2) argument 1487 native_distance(float2 v1, float2 v2) argument 1488 native_distance(float3 v1, float3 v2) argument 1489 native_distance(float4 v1, float4 v2) argument 1496 native_divide(float v1, float v2) argument 1497 native_divide(float2 v1, float2 v2) argument 1498 native_divide(float3 v1, float3 v2) argument 1499 native_divide(float4 v1, float4 v2) argument [all...] |
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Convolve3x3.java | 43 private float blend(float v1, float v2, float p) { argument 44 return (v2 * p) + (v1 * (1.f-p));
|
H A D | Convolve5x5.java | 43 private float blend(float v1, float v2, float p) { argument 44 return (v2 * p) + (v1 * (1.f-p));
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 40 private byte min(byte v1, byte v2) { argument 41 return v1 < v2 ? v1 : v2; 43 private byte[] min(byte[] v1, byte[] v2) { argument 44 assert v1.length == v2.length; 47 rv[i] = min(v1[i], v2[i]);
|
H A D | UT_math_agree.java | 149 private float min(float v1, float v2) { argument 150 return v1 < v2 ? v1 : v2; 152 private float[] min(float[] v1, float[] v2) { argument 153 assert v1.length == v2.length; 156 rv[i] = min(v1[i], v2[i]); 159 private byte min(byte v1, byte v2) { argument 160 return v1 < v2 ? v1 : v2; 162 private byte[] min(byte[] v1, byte[] v2) { argument 169 min(short v1, short v2) argument 172 min(short[] v1, short[] v2) argument 179 min(int v1, int v2) argument 182 min(int[] v1, int[] v2) argument 189 min(long v1, long v2) argument 192 min(long[] v1, long[] v2) argument 202 max(float v1, float v2) argument 205 max(float[] v1, float[] v2) argument 212 max(byte v1, byte v2) argument 215 max(byte[] v1, byte[] v2) argument 222 max(short v1, short v2) argument 225 max(short[] v1, short[] v2) argument 232 max(int v1, int v2) argument 235 max(int[] v1, int[] v2) argument 242 max(long v1, long v2) argument 245 max(long[] v1, long[] v2) argument 255 fmin(float v1, float v2) argument 258 fmin(float[] v1, float[] v2) argument 261 fmin(float[] v1, float v2) argument 269 fmax(float v1, float v2) argument 272 fmax(float[] v1, float[] v2) argument 275 fmax(float[] v1, float v2) argument [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 40 private byte min(byte v1, byte v2) { argument 41 return v1 < v2 ? v1 : v2; 43 private byte[] min(byte[] v1, byte[] v2) { argument 44 assert v1.length == v2.length; 47 rv[i] = min(v1[i], v2[i]);
|
H A D | UT_math_agree.java | 149 private float min(float v1, float v2) { argument 150 return v1 < v2 ? v1 : v2; 152 private float[] min(float[] v1, float[] v2) { argument 153 assert v1.length == v2.length; 156 rv[i] = min(v1[i], v2[i]); 159 private byte min(byte v1, byte v2) { argument 160 return v1 < v2 ? v1 : v2; 162 private byte[] min(byte[] v1, byte[] v2) { argument 169 min(short v1, short v2) argument 172 min(short[] v1, short[] v2) argument 179 min(int v1, int v2) argument 182 min(int[] v1, int[] v2) argument 189 min(long v1, long v2) argument 192 min(long[] v1, long[] v2) argument 202 max(float v1, float v2) argument 205 max(float[] v1, float[] v2) argument 212 max(byte v1, byte v2) argument 215 max(byte[] v1, byte[] v2) argument 222 max(short v1, short v2) argument 225 max(short[] v1, short[] v2) argument 232 max(int v1, int v2) argument 235 max(int[] v1, int[] v2) argument 242 max(long v1, long v2) argument 245 max(long[] v1, long[] v2) argument 255 fmin(float v1, float v2) argument 258 fmin(float[] v1, float[] v2) argument 261 fmin(float[] v1, float v2) argument 269 fmax(float v1, float v2) argument 272 fmax(float[] v1, float[] v2) argument 275 fmax(float[] v1, float v2) argument [all...] |
/frameworks/rs/ |
H A D | rsFont.cpp | 102 float v2 = glyph->mBitmapMaxV; local 107 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2, 108 nPenX + width, nPenY, 0, u2, v2, 671 float u2, float v2, 701 (*currentPos++) = v2; 668 appendMeshQuad(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument
|
/frameworks/native/include/ui/ |
H A D | mat4.h | 113 tmat44(const tvec4<A>& v0, const tvec4<B>& v1, const tvec4<C>& v2, const tvec4<D>& v3); 212 tmat44<T>::tmat44(const tvec4<A>& v0, const tvec4<B>& v1, const tvec4<C>& v2, const tvec4<D>& v3) { argument 215 mValue[2] = v2;
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 659 vertex_t *v, *v0, *v1, *v2; 683 v2 = v++; 684 const uint32_t cc = v0->flags & v1->flags & v2->flags; 686 c->prims.renderTriangle(c, v0, v1, v2); 687 swap(((winding^=1) ? v1 : v0), v2); 872 vertex_t* v2; local 883 v2 = fetch_vertex(c, read_index(type, indices)); 884 const uint32_t cc = v0->flags & v1->flags & v2->flags; 886 c->prims.renderTriangle(c, v0, v1, v2); 889 consumed = v2; 919 vertex_t* const v2 = fetch_vertex(c, *p++); local 933 vertex_t* const v2 = fetch_vertex(c, *p++); local [all...] |
H A D | primitives.cpp | 40 vertex_t* v0, vertex_t* v1, vertex_t* v2); 45 vertex_t* v0, vertex_t* v1, vertex_t* v2); 48 vertex_t* v0, vertex_t* v1, vertex_t* v2); 51 vertex_t* v0, vertex_t* v1, vertex_t* v2); 54 vertex_t* v0, vertex_t* v1, vertex_t* v2); 57 vertex_t* v0, vertex_t* v1, vertex_t* v2); 60 vertex_t* v0, vertex_t* v1, vertex_t* v2); 63 vertex_t* v0, vertex_t* v1, vertex_t* v2); 74 vertex_t* v0, vertex_t* v1, vertex_t* v2) 88 if(!(v2 73 lightTriangleDarkSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 96 lightTriangleDarkFlat(ogles_context_t* c, vertex_t* , vertex_t* , vertex_t* v2) argument 109 lightTriangleSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 120 lightTriangleFlat(ogles_context_t* c, vertex_t* , vertex_t* , vertex_t* v2) argument 159 lightTriangleDarkSmoothFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 167 lightTriangleDarkFlatFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 177 lightTriangleSmoothFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 185 lightTriangleFlatFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 236 initTriangle( vertex_t const* v0, vertex_t const* v1, vertex_t const* v2) argument 390 fetch_texcoord_impl(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 435 fetch_texcoord(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 574 primitive_clip_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 614 triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 631 lerp_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 715 lerp_texcoords(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 759 lerp_texcoords_w(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 850 clip_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.cpp | 4751 void GLTrace_glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { argument 4775 // copy argument v2 4779 arg_v2->add_floatvalue(v2); 4784 glContext->hooks->gl.glUniform3f(location, v0, v1, v2); 4838 void GLTrace_glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) { argument 4862 // copy argument v2 4866 arg_v2->add_intvalue(v2); 4871 glContext->hooks->gl.glUniform3i(location, v0, v1, v2); 4925 void GLTrace_glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { argument 4949 // copy argument v2 5018 GLTrace_glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) argument 8050 GLTrace_glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) argument 8096 GLTrace_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) argument 11232 GLTrace_glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) argument 11284 GLTrace_glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) argument 11428 GLTrace_glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) argument 11480 GLTrace_glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) argument 11624 GLTrace_glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) argument 11676 GLTrace_glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) argument 18893 GLTrace_glProgramUniform3fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) argument 18992 GLTrace_glProgramUniform3iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) argument 19091 GLTrace_glProgramUniform4fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) argument 19196 GLTrace_glProgramUniform4iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) argument 19614 GLTrace_glProgramUniform3uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) argument 19666 GLTrace_glProgramUniform4uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) argument [all...] |
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 169 static void vector3Sub(VECTOR3 *dest, VECTOR3 *v1, VECTOR3 *v2) argument 171 dest->x = v1->x - v2->x; 172 dest->y = v1->y - v2->y; 173 dest->z = v1->z - v2->z; 244 VECTOR3 v1, v2, n; local 259 vector3Sub(&v2, &pd, &pa); 264 * v2.x v2.y v2.z | v2 [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 73 static inline int max(int v1, int v2) argument 75 return (v1 > v2) ? v1 : v2;
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 73 const float v2 = A[2][i]; local 74 D[0][i] = v0*B[0][0] + v1*B[0][1] + v2*B[0][2]; 75 D[1][i] = v0*B[1][0] + v1*B[1][1] + v2*B[1][2]; 76 D[2][i] = v0*B[2][0] + v1*B[2][1] + v2*B[2][2];
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 420 const uint16_t v2 = chars[(*iter)++]; local 421 // test whether v2 in (0xdc00..0xdfff), trail surrogate 422 if ((v2 & 0xfc00) == 0xdc00) { 425 return (((hb_codepoint_t)v) << 10) + v2 - delta;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BlendComposite.java | 337 private static float hue2RGB(float v1, float v2, float vH) { argument 345 return (v1 + (v2 - v1) * 6.0f * vH); 348 return (v2); 351 return (v1 + (v2 - v1) * ((2.0f / 3.0f) - vH) * 6.0f);
|
/frameworks/base/tools/split-select/ |
H A D | Abi.cpp | 24 static Vector<Variant> buildVariants(Variant v1, Variant v2) { argument 27 v.add(v2); 31 static Vector<Variant> buildVariants(Variant v1, Variant v2, Variant v3) { argument 34 v.add(v2);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES30.java | 1084 // C function void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 ) 1090 int v2 1093 // C function void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) 1099 int v2, 1095 glUniform4ui( int location, int v0, int v1, int v2, int v3 ) argument
|
H A D | GLES31.java | 417 // C function void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 ) 424 int v2 427 // C function void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) 434 int v2, 455 // C function void glProgramUniform3ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 ) 462 int v2 465 // C function void glProgramUniform4ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) 472 int v2, 493 // C function void glProgramUniform3f ( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2 ) 500 float v2 429 glProgramUniform4i( int program, int location, int v0, int v1, int v2, int v3 ) argument 467 glProgramUniform4ui( int program, int location, int v0, int v1, int v2, int v3 ) argument 505 glProgramUniform4f( int program, int location, float v0, float v1, float v2, float v3 ) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarHeaderView.java | 666 public void interpoloate(LayoutValues v1, LayoutValues v2, float t) { argument 667 timeScale = v1.timeScale * (1 - t) + v2.timeScale * t; 668 clockY = v1.clockY * (1 - t) + v2.clockY * t; 669 dateY = v1.dateY * (1 - t) + v2.dateY * t; 670 avatarScale = v1.avatarScale * (1 - t) + v2.avatarScale * t; 671 avatarX = v1.avatarX * (1 - t) + v2.avatarX * t; 672 avatarY = v1.avatarY * (1 - t) + v2.avatarY * t; 673 batteryX = v1.batteryX * (1 - t) + v2.batteryX * t; 674 batteryY = v1.batteryY * (1 - t) + v2.batteryY * t; 675 settingsTranslation = v1.settingsTranslation * (1 - t) + v2 [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ArrayMapTests.java | 111 private static boolean compare(Object v1, Object v2) { argument 113 return v2 == null; 115 if (v2 == null) { 118 return v1.equals(v2);
|