/frameworks/base/libs/androidfw/tests/ |
H A D | TypeWrappers_test.cpp | 57 Res_value v2; local 58 memset(&v2, 0, sizeof(v2)); 59 t.header.size += sizeof(v2); 73 memcpy(p, &v2, sizeof(v2)); 74 p += sizeof(v2);
|
/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/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/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/av/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/hwui/utils/ |
H A D | MathUtils.h | 84 inline static float lerp(float v1, float v2, float t) { argument 85 return v1 + ((v2 - v1) * t);
|
/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);
|
/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/base/libs/hwui/ |
H A D | Patch.cpp | 140 float v2 = fmax(0.0f, stepY - vOffset) / bitmapHeight; local 144 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, 172 float y1, float y2, float v1, float v2, float stretchX, float rescaleX, 196 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); 207 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); 212 float u1, float v1, float u2, float v2, uint32_t& quadCount) { 226 PATCH_LOGD(" right, bottom = %.2f, %.2f\t\tu2, v2 = %.8f, %.8f", x2, y2, u2, v2); 237 mUvMapper.map(u1, v1, u2, v2); 241 TextureVertex::set(vertex++, x1, y2, u1, v2); 171 generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, float y1, float y2, float v1, float v2, float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) argument 211 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 | LayerRenderer.cpp | 175 const float v2 = (height - r->bottom) * texY; local 179 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); 180 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2);
|
H A D | FontRenderer.cpp | 538 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 545 mCurrentCacheTexture->addQuad(x1, y1, u1, v1, x2, y2, u2, v2, 550 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 558 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); 573 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 576 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); 537 appendMeshQuadNoClip(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument 549 appendMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument 572 appendRotatedMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.h | 158 float x2, float y2, float u2, float v2, 162 TextureVertex::set(mesh++, x2, y2, u2, v2); 157 addQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4) argument
|
H A D | Font.cpp | 174 float v2 = glyph->mBitmapMaxV; local 176 mState->appendMeshQuad(nPenX, nPenY, u1, v2, 177 nPenX + width, nPenY, u2, v2, 203 float v2 = glyph->mBitmapMaxV; local 206 p[0].x(), p[0].y(), u1, v2, 207 p[1].x(), p[1].y(), u2, v2, 269 const float v2 = glyph->mBitmapMaxV; local 273 position->y() + destination[0].y(), u1, v2, 275 position->y() + destination[1].y(), u2, 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/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/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/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/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
H A D | armCOMM_s.h | 115 M_VARIANTS $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7 120 _M_VARIANT $v2 167 _M_TRY $cpu, $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7 173 _M_TRY1 $v2
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
H A D | armCOMM_s.h | 115 M_VARIANTS $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7 120 _M_VARIANT $v2 170 _M_TRY $cpu, $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7 176 _M_TRY1 $v2
|
/frameworks/base/core/jni/ |
H A D | android_util_Process.cpp | 408 static int pid_compare(const void* v1, const void* v2) argument 410 //ALOGI("Compare %" PRId32 " vs %" PRId32 "\n", *((const jint*)v1), *((const jint*)v2)); 411 return *((const jint*)v1) - *((const jint*)v2);
|
/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...] |