Searched defs:v1 (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/libs/androidfw/tests/
H A DTypeWrappers_test.cpp44 Res_value v1; local
45 memset(&v1, 0, sizeof(v1));
46 t.header.size += sizeof(v1);
50 offsets[2] = sizeof(e1) + sizeof(v1);
69 memcpy(p, &v1, sizeof(v1));
70 p += sizeof(v1);
/frameworks/base/tools/split-select/
H A DAbi.cpp24 static Vector<Variant> buildVariants(Variant v1, Variant v2) { argument
26 v.add(v1);
31 static Vector<Variant> buildVariants(Variant v1, Variant v2, Variant v3) { argument
33 v.add(v1);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_bug_char.java40 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;
45 byte[] rv = new byte[v1.length];
46 for (int i = 0; i < v1.length; ++i)
47 rv[i] = min(v1[i], v2[i]);
H A DUT_math_agree.java149 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;
154 float[] rv = new float[v1.length];
155 for (int i = 0; i < v1.length; ++i)
156 rv[i] = min(v1[i], v2[i]);
159 private byte min(byte v1, byte v2) { argument
160 return v1 < v
162 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 DUT_bug_char.java40 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;
45 byte[] rv = new byte[v1.length];
46 for (int i = 0; i < v1.length; ++i)
47 rv[i] = min(v1[i], v2[i]);
H A DUT_math_agree.java149 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;
154 float[] rv = new float[v1.length];
155 for (int i = 0; i < v1.length; ++i)
156 rv[i] = min(v1[i], v2[i]);
159 private byte min(byte v1, byte v2) { argument
160 return v1 < v
162 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/base/libs/hwui/
H A DUvMapper.h101 void map(float& u1, float& v1, float& u2, float& v2) const { argument
105 v1 = lerp(mMinV, mMaxV, v1);
H A DPatch.cpp125 float v1 = 0.0f; local
141 v1 += vOffset / bitmapHeight;
144 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
149 v1 = stepY / bitmapHeight;
156 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, 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) {
225 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1
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 DLayerRenderer.cpp173 const float v1 = (height - r->top) * texY; local
177 TextureVertex::set(mesh++, r->left, r->top, u1, v1);
178 TextureVertex::set(mesh++, r->right, r->top, u2, v1);
H A DFontRenderer.cpp537 void FontRenderer::appendMeshQuadNoClip(float x1, float y1, float u1, float v1, argument
545 mCurrentCacheTexture->addQuad(x1, y1, u1, v1, x2, y2, u2, v2,
549 void FontRenderer::appendMeshQuad(float x1, float y1, float u1, float v1, argument
558 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture);
572 void FontRenderer::appendRotatedMeshQuad(float x1, float y1, float u1, float v1, argument
576 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DConvolve3x3.java43 private float blend(float v1, float v2, float p) { argument
44 return (v2 * p) + (v1 * (1.f-p));
H A DConvolve5x5.java43 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 Dconceal.cpp142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local
156 v1 = curr->vChan + chrstart;
182 oscl_memcpy(v1, v2, B_SIZE);
183 v1 += width_C;
185 oscl_memcpy(v1, v2, B_SIZE);
186 v1 += width_C;
/frameworks/base/libs/hwui/utils/
H A DMathUtils.h84 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 DArrayMapTests.java111 private static boolean compare(Object v1, Object v2) { argument
112 if (v1 == null) {
118 return v1.equals(v2);
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c114 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
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/font/
H A DCacheTexture.h157 inline void addQuad(float x1, float y1, float u1, float v1, argument
164 TextureVertex::set(mesh++, x1, y1, u1, v1);
H A DFont.cpp173 float v1 = glyph->mBitmapMinV; local
178 nPenX + width, nPenY - height, u2, v1,
179 nPenX, nPenY - height, u1, v1, glyph->mCacheTexture);
202 float v1 = glyph->mBitmapMinV; local
208 p[2].x(), p[2].y(), u2, v1,
209 p[3].x(), p[3].y(), u1, v1, glyph->mCacheTexture);
268 const float v1 = glyph->mBitmapMinV; local
277 position->y() + destination[2].y(), u2, v1,
279 position->y() + destination[3].y(), u1, v1,
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp72 const float v1 = A[1][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/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java337 private static float hue2RGB(float v1, float v2, float vH) { argument
345 return (v1 + (v2 - v1) * 6.0f * vH);
351 return (v1 + (v2 - v1) * ((2.0f / 3.0f) - vH) * 6.0f);
353 return (v1);
/frameworks/native/include/ui/
H A Dmat4.h113 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
214 mValue[1] = v1;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A DarmCOMM_s.h19 ;// OpenMAX DL: v1.0.2
115 M_VARIANTS $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7
119 _M_VARIANT $v1
167 _M_TRY $cpu, $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7
172 _M_TRY1 $v1
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A DarmCOMM_s.h19 ;// OpenMAX DL: v1.0.2
115 M_VARIANTS $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7
119 _M_VARIANT $v1
170 _M_TRY $cpu, $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7
175 _M_TRY1 $v1
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp408 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 DStatusBarHeaderView.java666 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
[all...]

Completed in 403 milliseconds

12