/frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/ |
H A D | Matrix_DelegateTest.java | 50 float[] v2 = new float[9]; 52 m2.getValues(v2); 55 assertEquals(v1[i], v2[i]);
|
/frameworks/compile/libbcc/tests/data/src/ |
H A D | addressOf.c | 14 float *v2 = &s[index].x; local 15 printf("testStruct: %g %g %g\n",base.x, *v, *v2);
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
H A D | rs_cl.c | 87 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \ 89 r.x = fnc(v1.x, v2.x); \ 90 r.y = fnc(v1.y, v2.y); \ 93 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \ 95 r.x = fnc(v1.x, v2.x); \ 96 r.y = fnc(v1.y, v2.y); \ 97 r.z = fnc(v1.z, v2.z); \ 100 extern float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2) { \ 102 r.x = fnc(v1.x, v2.x); \ 103 r.y = fnc(v1.y, v2 [all...] |
/frameworks/base/opengl/libagl/ |
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* v0, vertex_t* v1, 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* v0, vertex_t* v1, 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 570 primitive_nop_triangle(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 826 cull_triangle(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...] |
H A D | array.cpp | 655 vertex_t *v, *v0, *v1, *v2; 679 v2 = v++; 680 const uint32_t cc = v0->flags & v1->flags & v2->flags; 682 c->prims.renderTriangle(c, v0, v1, v2); 683 swap(((winding^=1) ? v1 : v0), v2); 868 vertex_t* v2; local 879 v2 = fetch_vertex(c, read_index(type, indices)); 880 const uint32_t cc = v0->flags & v1->flags & v2->flags; 882 c->prims.renderTriangle(c, v0, v1, v2); 885 consumed = v2; 915 vertex_t* const v2 = fetch_vertex(c, *p++); local 929 vertex_t* const v2 = fetch_vertex(c, *p++); local [all...] |
/frameworks/base/libs/rs/driver/ |
H A D | rsdRuntimeMath.cpp | 45 static float SC_mad(float v1, float v2, float v3) { argument 46 return v1 * v2 + v3; 88 static uint32_t SC_max_u32(uint32_t v, uint32_t v2) {return rsMax(v, v2);} argument 89 static uint16_t SC_max_u16(uint16_t v, uint16_t v2) {return rsMax(v, v2);} argument 90 static uint8_t SC_max_u8(uint8_t v, uint8_t v2) {return rsMax(v, v2);} argument 91 static int32_t SC_max_i32(int32_t v, int32_t v2) {return rsMax(v, v2);} argument 92 SC_max_i16(int16_t v, int16_t v2) argument 93 SC_max_i8(int8_t v, int8_t v2) argument 95 SC_min_u32(uint32_t v, uint32_t v2) argument 96 SC_min_u16(uint16_t v, uint16_t v2) argument 97 SC_min_u8(uint8_t v, uint8_t v2) argument 98 SC_min_i32(int32_t v, int32_t v2) argument 99 SC_min_i16(int16_t v, int16_t v2) argument 100 SC_min_i8(int8_t v, int8_t v2) argument 114 SC_max_f32(float v, float v2) argument 118 SC_min_f32(float v, float v2) argument [all...] |
H A D | rsdRuntimeStubs.cpp | 178 float x2, float y2, float z2, float u2, float v2, 184 x2, y2, z2, u2, v2, 177 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/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | conceal.cpp | 142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local 159 v2 = prevFrame + size + (size >> 2) + chrstart; 182 oscl_memcpy(v1, v2, B_SIZE); 184 v2 += width_C; 185 oscl_memcpy(v1, v2, B_SIZE); 187 v2 += width_C;
|
/frameworks/base/libs/rs/scriptc/ |
H A D | rs_cl.rsh | 65 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); \ 66 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2); \ 67 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2); 70 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float v2); \ 71 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, float v2); \ 72 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, float v2); 75 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2); \ 76 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, int3 v2); \ 77 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2); \ 80 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, int v2); \ [all...] |
H A D | rs_graphics.rsh | 257 * @param v2 271 float x2, float y2, float z2, float u2, float v2,
|
/frameworks/base/libs/hwui/ |
H A D | Patch.cpp | 169 float v2 = fmax(0.0f, stepY - vOffset) / bitmapHeight; local 177 generateRow(vertex, y1, y2, v1, v2, stretchX, right - left, 214 void Patch::generateRow(TextureVertex*& vertex, float y1, float y2, float v1, float v2, argument 242 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); 260 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); 265 float u1, float v1, float u2, float v2, uint32_t& quadCount) { 274 PATCH_LOGD(" right, bottom = %.2f, %.2f\t\tu2, v2 = %.4f, %.4f", x2, y2, u2, v2); 290 TextureVertex::set(vertex++, x1, y2, u1, v2); 293 TextureVertex::set(vertex++, x1, y2, u1, v2); 264 generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, float u1, float v1, float u2, float v2, uint32_t& quadCount) argument [all...] |
H A D | Patch.h | 78 float v1, float v2, float stretchX, float width, float bitmapWidth, 82 float u1, float v1, float u2, float v2,
|
H A D | LayerRenderer.cpp | 157 const float v2 = (height - r->bottom) * texY; local 161 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); 162 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2);
|
H A D | FontRenderer.cpp | 102 float v2 = glyph->mBitmapMaxV; local 107 mState->appendMeshQuad(nPenX, nPenY, 0, u1, v2, 108 nPenX + width, nPenY, 0, u2, v2, 615 float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, 636 (*currentPos++) = v2; 614 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
|
H A D | FontRenderer.h | 283 float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3,
|
/frameworks/base/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/base/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/base/services/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 193 bool test(OP op, int v1, int v2); 194 void assertTest(OP op, int v1, int v2); 206 bool MCameraClient::test(OP op, int v1, int v2) { argument 208 case EQ: return v1 == v2; 209 case GT: return v1 > v2; 210 case LT: return v1 < v2; 211 case GE: return v1 >= v2; 212 case LE: return v1 <= v2; 218 void MCameraClient::assertTest(OP op, int v1, int v2) { argument 219 if (!test(op, v1, v2)) { [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 557 byte[] v2 = intToByteArray(value[1]); 558 v = concatArrays(v, v2); 583 byte[] v2 = shortToByteArray(value[1]); 584 v = concatArrays(v, v2);
|
/frameworks/base/libs/rs/ |
H A D | rsFont.cpp | 99 float v2 = glyph->mBitmapMaxV; local 104 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2, 105 nPenX + width, nPenY, 0, u2, v2, 648 float u2, float v2, 680 (*currentPos++) = v2; 645 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
|
H A D | rsScriptC_LibGL.cpp | 133 float x2, float y2, float z2, float u2, float v2, 152 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; 131 rsrDrawQuadTexCoords(Context *rsc, Script *sc, 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
|
H A D | rsFont.h | 247 float u2, float v2,
|
H A D | rsRuntime.h | 60 float x2, float y2, float z2, float u2, float v2,
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentProviderOperationTest.java | 253 ContentValues v2 = op1.resolveValueBackReferences(previousResults, previousResults.length); 254 assertEquals(expectedValues, v2); 293 values.put("v2", "43");
|
/frameworks/base/include/private/opengles/ |
H A D | gl_context.h | 334 vertex_t* v0, vertex_t* v1, vertex_t* v2); 541 vertex_t const* v2);
|