Searched defs:y2 (Results 1 - 25 of 42) sorted by last modified time

12

/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/rs/cpu_ref/
H A DrsCpuIntrinsicConvolve3x3.cpp88 const void *y2, const short *coef, uint32_t count);
199 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
200 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2);
246 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
247 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2);
291 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
292 const uchar *py0 = (const uchar *)(pin + stride * y2);
336 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
337 const float4 *py0 = (const float4 *)(pin + stride * y2);
381 uint32_t y2 local
425 uint32_t y2 = rsMax((int32_t)p->y - 1, 0); local
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp346 const void *y2, const void *y3, const void *y4,
362 uint32_t y2 = p->y; local
368 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2);
422 uint32_t y2 = p->y; local
428 const uchar2 *py2 = (const uchar2 *)(pin + stride * y2);
471 uint32_t y2 = p->y; local
477 const uchar *py2 = (const uchar *)(pin + stride * y2);
520 uint32_t y2 = p->y; local
526 const float4 *py2 = (const float4 *)(pin + stride * y2);
569 uint32_t y2 local
618 uint32_t y2 = p->y; local
[all...]
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/rs/driver/
H A DrsdPath.cpp47 float y1, yc, y2; member in struct:DrvPathStatic::__anon1493
126 s->y2 = fin[5];
168 vtx[5] = s->y2;
175 vtx[11] = s->y2;
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/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/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);
/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/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNoisyVelocityTracker.java42 public MotionEventCopy(float x2, float y2, long eventTime) { argument
44 this.y = y2;
/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/base/services/core/java/com/android/server/power/
H A DWirelessChargerDetector.java313 float x2, float y2, float z2) {
314 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2);
316 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2));
328 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2
312 hasMoved(float x1, float y1, float z1, float x2, float y2, float z2) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp73 int u, v, y1, y2, y3, y4; local
76 y2 = pInY[1];
84 pOutColor[1] = convertYuvToRgba(y2, u, v);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java326 private Quad(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) { argument
329 mBottomLeft = new PointF(x2, y2);
/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
H A DPatch.cpp124 float y2 = 0.0f; local
134 y2 = y1 + floorf(segment * stretchY + 0.5f);
136 y2 = y1 + segment * rescaleY;
139 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1));
144 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
148 y1 = y2;
155 y2 = height;
156 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX,
172 float y1, float y2, floa
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 DShadowTessellator.cpp160 double y2 = poly[p2].y; local
161 double a = (x1 * y2 - x2 * y1);
163 sumy += (y1 + y2) * a;
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h158 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
/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/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp150 jfloat y2,
155 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
168 jfloat y2,
173 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
143 Java_android_filterfw_core_ShaderProgram_setSourceRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
161 Java_android_filterfw_core_ShaderProgram_setTargetRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
/frameworks/base/core/java/android/transition/
H A DCircularPropagation.java102 private static float distance(float x1, float y1, float x2, float y2) { argument
104 float y = y2 - y1;
/frameworks/base/core/java/android/util/
H A DMathUtils.java94 public static float dist(float x1, float y1, float x2, float y2) { argument
96 final float y = (y2 - y1);
100 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { argument
102 final float y = (y2 - y1);

Completed in 4905 milliseconds

12