Searched defs:y2 (Results 26 - 42 of 42) sorted by relevance

12

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java81 // Draws a line using the specified paint from (x1, y1) to (x2, y2).
83 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); argument
85 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2).
87 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint); argument
H A DGLES20Canvas.java479 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { argument
480 draw(GLES20.GL_LINE_STRIP, OFFSET_DRAW_LINE, COUNT_LINE_VERTEX, x1, y1, x2 - x1, y2 - y1,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local
1154 y2 = *((ULong*)(prev + lx)); /* b7 b6 b5 b4 */
1165 y2m = (y2 >> 2) & mask;
1167 y2 = y2 ^(y2m << 2);
1169 y1 += y2;
1171 /* y2m, y2 free */
1174 y2 = *((ULong*)(prev + lx)); /* b11 b10 b9 b8 */
1176 y2m = (y2 >> 2) & mask;
1178 y2
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java266 float x2, float y2, float x3, float y3);
269 float x2, float y2, float x3, float y3);
265 setSourceRegion(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) argument
268 setTargetRegion(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c194 Word16 y2[L_SUBFR]; /* Filtered adaptive excitation */ local
984 * - find filtered pitch exc. y2[]=exc[] convolved with h1[]) *
1004 Convolve_asm(code, h1, y2, L_SUBFR);
1006 Convolve(code, h1, y2, L_SUBFR);
1009 gain2 = G_pitch(xn, y2, g_coeff2, L_SUBFR);
1017 Updt_tar(xn, xn2, y2, gain2, L_SUBFR);
1050 Copy(y2, y1, L_SUBFR);
1084 ACELP_2t64_fx(dn, cn, h2, code, y2, indice);
1089 ACELP_4t64_fx(dn, cn, h2, code, y2, 20, *ser_size, indice);
1097 ACELP_4t64_fx(dn, cn, h2, code, y2, 3
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp135 static void quadTo__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2) { argument
137 obj->quadTo(x1, y1, x2, y2);
145 static void cubicTo__FFFFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument
147 obj->cubicTo(x1, y1, x2, y2, x3, y3);
150 static void rCubicTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) { argument
152 obj->rCubicTo(x1, y1, x2, y2, x3, y3);
/frameworks/base/graphics/java/android/graphics/
H A DPath.java362 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for
368 * @param y2 The y-coordinate of the end point on a quadratic curve
370 public void quadTo(float x1, float y1, float x2, float y2) { argument
372 native_quadTo(mNativePath, x1, y1, x2, y2);
396 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been
402 * @param y2 The y-coordinate of the 2nd control point on a cubic curve
406 public void cubicTo(float x1, float y1, float x2, float y2, argument
409 native_cubicTo(mNativePath, x1, y1, x2, y2, x3, y3);
417 public void rCubicTo(float x1, float y1, float x2, float y2, argument
420 native_rCubicTo(mNativePath, x1, y1, x2, y2, x
796 native_quadTo(long nPath, float x1, float y1, float x2, float y2) argument
800 native_cubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
802 native_rCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp538 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);
580 mBounds->top = fmin(mBounds->top, fmin(y1, fmin(y2, fmin(y3, y4))));
582 mBounds->bottom = fmax(mBounds->bottom, fmax(y1, fmax(y2, fmax(y3, y4))));
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/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java258 /*package*/ static void native_quadTo(long nPath, float x1, float y1, float x2, float y2) { argument
264 pathDelegate.quadTo(x1, y1, x2, y2);
279 float x2, float y2, float x3, float y3) {
285 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3);
290 float x2, float y2, float x3, float y3) {
296 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3);
638 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for
644 * @param y2 The y-coordinate of the end point on a quadratic curve
646 private void quadTo(float x1, float y1, float x2, float y2) { argument
647 mPath.quadTo(x1, y1, mLastX = x2, mLastY = y2);
278 native_cubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
289 native_rCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
687 cubicTo(float x1, float y1, float x2, float y2, float x3, float y3) argument
[all...]
/frameworks/rs/
H A DrsFont.cpp670 float x2, float y2, float z2,
685 ALOGE("V1 x: %f y: %f z: %f", x2, y2, z2);
697 (*currentPos++) = y2;
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/rs/cpu_ref/
H A DrsCpuIntrinsics_x86.c80 const void *y0, const void *y1, const void *y2,
108 p8 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2)), _mm_setzero_si128());
109 p9 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+1)), _mm_setzero_si128());
110 p10 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+2)), _mm_setzero_si128());
111 p11 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+3)), _mm_setzero_si128());
137 y2 = (const char *)y2 + 8;
154 __m128i x2, y2, z2, w2; local
171 y2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x55));
176 y2
79 rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count) argument
210 __m128i x2, y2, z2, w2; local
262 __m128i x2, y2, z2, w2; local
455 __m128i y1, y2, y3, y4; local
517 __m128i y1, y2, y3, y4; local
578 __m128i y1, y2, y3, y4; local
596 rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1, const void *y2, const void *y3, const void *y4, const short *coef, uint32_t count) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java876 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { argument
879 graphics.drawLine(width - x1, y1, width - x2, y2, paint);
881 graphics.drawLine(x1, y1, x2, y2, paint);
1147 int y2 = vLocations[rowSpan.max];
1150 int cellHeight = y2 - y1;
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp306 float x2, float y2, float z2, float u2, float v2,
322 //ALOGE("%4.2f, %4.2f, %4.2f", x2, y2, z2);
326 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
340 float x2, float y2, float z2,
344 x2, y2, z2, 1, 1,
367 static void SC_DrawRect(float x1, float y1, float x2, float y2, float z) { argument
368 SC_DrawQuad(x1, y2, z, x2, y2, z, x2, y1, z, x1, y1, z);
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
339 SC_DrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) argument
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java852 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { argument
855 graphics.drawLine(width - x1, y1, width - x2, y2, paint);
857 graphics.drawLine(x1, y1, x2, y2, paint);
1036 int y2 = vLocations[rowSpan.max];
1039 int cellHeight = y2 - y1;
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp3881 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local
3884 processPosition(mapper, x2, y2);
3926 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0, 0));
3932 x1 += 10; y1 += 15; x2 += 5; y2 -= 10;
3935 processPosition(mapper, x2, y2);
3957 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0, 0));
3963 x2 += 15; y2 -= 20;
3964 processPosition(mapper, x2, y2);
3987 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0, 0));
4006 toDisplayX(x2), toDisplayY(y2),
4158 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local
4334 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local
4604 float y2 = toDisplayY(rawY2); local
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroup.java3017 private static void fillRect(Canvas canvas, Paint paint, int x1, int y1, int x2, int y2) { argument
3018 if (x1 != x2 && y1 != y2) {
3022 if (y1 > y2) {
3023 int tmp = y1; y1 = y2; y2 = tmp;
3025 canvas.drawRect(x1, y1, x2, y2, paint);
3043 private static void drawRectCorners(Canvas canvas, int x1, int y1, int x2, int y2, Paint paint, argument
3046 drawCorner(canvas, paint, x1, y2, lineLength, -lineLength, lineWidth);
3048 drawCorner(canvas, paint, x2, y2, -lineLength, -lineLength, lineWidth);
3052 int x2, int y2, in
3051 fillDifference(Canvas canvas, int x2, int y2, int x3, int y3, int dx1, int dy1, int dx2, int dy2, Paint paint) argument
7307 drawRect(Canvas canvas, Paint paint, int x1, int y1, int x2, int y2) argument
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp91 inline static float distance(float x1, float y1, float x2, float y2) { argument
92 return hypotf(x1 - x2, y1 - y2);

Completed in 713 milliseconds

12