/external/skia/experimental/docs/ |
interpolatorFunctions.js | 27 var x1 = curve[0], y1 = curve[1], x2 = curve[2], y2 = curve[3]; 31 var ay = interp_cubic_coords(y1, y2, y3, y4, t1); 33 var ey = interp_cubic_coords(y1, y2, y3, y4, (t1*2+t2)/3); 35 var fy = interp_cubic_coords(y1, y2, y3, y4, (t1+t2*2)/3); 37 var dy = interp_cubic_coords(y1, y2, y3, y4, t2);
|
/external/fio/ |
graph.c | 242 double x1, y1, x2, y2; local 256 y2 = bg->ydim * 0.90; 258 y1 = y2 - (((v - mindata) / domain) * range); 260 cairo_line_to(cr, x1, y2); 261 cairo_line_to(cr, x2, y2); 271 double *y1, double *x2, double *y2) 281 *y2 = 0.90 * g->ydim; 293 cairo_line_to(cr, *x2 + offset, *y2 - offset); 301 cairo_line_to(cr, *x1, *y2); 302 cairo_line_to(cr, *x2, *y2); 438 double x1, y1, x2, y2; local 529 double x1, y1, x2, y2; local [all...] |
/external/libpng/contrib/tools/ |
genpng.c | 18 * shape ::= color width shape x1 y1 x2 y2 42 * shape ::= color width shape x1 y1 x2 y2 52 * y2 ::= <number> 179 double x1, y1, x2, y2; member in struct:arg 347 square_check(double x, double y, double x1, double y1, double x2, double y2) 348 /* Is x,y inside the square (x1,y1)..(x2,y2)? */ 353 * x<x1 | x<y1 | x<x2 | x<y2 359 * So 'inside' is (x<x1) != (x<x2) && (y<y1) != (y<y2); 361 return ((x<x1) ^ (x<x2)) & ((y<y1) ^ (y<y2)); 367 return square_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
BicubicSplineInterpolatingFunction.java | 402 final double y2 = y * y; local 403 final double y3 = y2 * y; 404 final double[] pY = {1, y, y2, y3}; 505 final double y2 = y * y; 506 final double y3 = y2 * y; 507 final double[] pY = {1, y, y2, y3}; 518 final double y2 = y * y; 519 final double[] pY = {0, 1, y, y2}; 528 final double y2 = y * y; 529 final double y3 = y2 * y [all...] |
/external/pdfium/third_party/agg23/ |
agg_rasterizer_scanline_aa.cpp | 162 AGG_INLINE void outline_aa::render_hline(int ey, int x1, int y1, int x2, int y2) 170 if(y1 == y2) { 175 delta = y2 - y1; 179 p = (poly_base_size - fx1) * (y2 - y1); 184 p = fx1 * (y2 - y1); 200 p = poly_base_size * (y2 - y1 + delta); 221 delta = y2 - y1; 224 void outline_aa::render_line(int x1, int y1, int x2, int y2) 230 int cy = (y1 + y2) >> 1; 232 render_line(cx, cy, x2, y2); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 71 gc.drawLine(x, b.y, x, b.y2()); 91 int y2 = b.y2() - MARGIN_SIZE; local 92 for (int y = y1; y < y2; y += GRID_SIZE) { 193 int y2; local 196 y2 = rowMatch.matchedLine - rowMatch.margin; 200 y2 = rowMatch.matchedLine + rowMatch.margin; 203 gc.drawLine(b.x, y2, b.x2(), y2); 205 centerX - 3, y1 + (y2 - y1 - 16) / 2) [all...] |
/device/google/dragon/audio/hal/dsp/ |
crossover2.c | 38 float32x4_t y2 = {lp->y2L, hp->y2L, lp->y2R, hp->y2R}; local 60 "vmls.f32 q1, %q[a2], %q[y2] \n" 62 "vmla.f32 q2, %q[b2], %q[y2] \n" 63 "vmov.f32 %q[y2], %q[y1] \n" 83 [y2]"+w"(y2), 104 lp->y2L = y2[0]; lp->y2R = y2[2]; 111 hp->y2L = y2[1]; hp->y2R = y2[3] 124 __m128 y2 = {lp->y2L, hp->y2L, lp->y2R, hp->y2R}; local 322 float32x4_t y2 = {lp->y2L, hp->y2L, lp->y2R, hp->y2R}; local 402 __m128 y2 = {lp->y2L, hp->y2L, lp->y2R, hp->y2R}; local [all...] |
/external/libvncserver/test/ |
encodingstest.c | 226 y1=(rand()%(server->height-1)),y2=(rand()%(server->height-1)); local 228 if(y1>y2) { i=y1; y1=y2; y2=i; } 229 x2++; y2++; 232 for(j=y1;j<y2;j++) 233 server->frameBuffer[i*4+c+j*server->paddedWidthInBytes]=255*(i-x1+j-y1)/(x2-x1+y2-y1); 235 rfbMarkRectAsModified(server,x1,y1,x2,y2); 238 rfbLog("Sent update (%d,%d)-(%d,%d)\n",x1,y1,x2,y2);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_hypot.c | 33 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y)) 35 * y1= y with lower 32 bits chopped, y2 = y-y1. 57 double a,b,t1,t2,y1,y2,w; local 114 y2 = b - y1; 118 w = sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b)));
|
e_hypotf.c | 25 float a,b,t1,t2,y1,y2,w; local 74 y2 = b - y1; 77 w = __ieee754_sqrtf(t1*y1-(w*(-w)-(t1*y2+t2*b)));
|
/external/fdlibm/ |
e_hypot.c | 30 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y)) 32 * y1= y with lower 32 bits chopped, y2 = y-y1. 55 double a=x,b=y,t1,t2,y1,y2,w; local 104 y2 = b - y1; 108 w = ieee_sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b)));
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btConeShape.h | 62 const btScalar y2 = ly*ly; local 66 inertia = scaledmass * (btVector3(y2+z2,x2+z2,x2+y2)); 68 // inertia.x() = scaledmass * (y2+z2); 70 // inertia.z() = scaledmass * (x2+y2);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Polygon.java | 207 float y2 = vertices[(i + 3) % numFloats];
208 if (((y1 <= y && y < y2) || (y2 <= y && y < y1)) && x < ((x2 - x1) / (y2 - y1) * (y - y1) + x1)) intersects++;
|
/external/opencv/cv/src/ |
_cvgeom.h | 56 double x2, double dx2, double y2, double dy2,
|
/external/skia/include/c/ |
sk_path.h | 52 (x0,y0) and (x1,y1), and ending at (x2,y2). If no 59 float x2, float y2);
|
/external/skia/src/svg/parser/ |
SkSVGLinearGradient.cpp | 19 SVG_ATTRIBUTE(y2)
|
/external/tpm2/ |
Commit_fp.h | 16 TPM2B_ECC_PARAMETER y2; member in struct:__anon24597
|
/external/dng_sdk/source/ |
dng_1d_function.cpp | 62 real64 y2 = Evaluate (x2); local 68 y1 = y2;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
spstproc.cpp | 111 y2 -- Word16 Array -- Filtered fixed codebook excitation 183 Word16 y2[], /* i : Filtered fixed codebook excitation */ 295 * y2 Q10 Q12 307 L_temp = ((Word32)y2[i] * gain_code);
|
/frameworks/base/core/java/android/transition/ |
CircularPropagation.java | 100 private static double distance(float x1, float y1, float x2, float y2) { 102 double y = y2 - y1;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
BogusMoveEventDetector.java | 107 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { 108 return (int)Math.hypot(x1 - x2, y1 - y2);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
Gdx2DPixmap.java | 173 public void drawLine (int x, int y, int x2, int y2, int color) {
174 drawLine(basePtr, x, y, x2, y2, color);
193 public void fillTriangle (int x1, int y1, int x2, int y2, int x3, int y3, int color) {
194 fillTriangle(basePtr, x1, y1, x2, y2, x3, y3, color);
326 private static native void drawLine (long pixmap, int x, int y, int x2, int y2, int color); /*
327 gdx2d_draw_line((gdx2d_pixmap*)pixmap, x, y, x2, y2, color);
346 private static native void fillTriangle (long pixmap, int x1, int y1, int x2, int y2, int x3, int y3, int color); /*
347 gdx2d_fill_triangle((gdx2d_pixmap*)pixmap, x1, y1, x2, y2, x3, y3, color);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
path.c | 365 VGfloat x0, y0, x1, y1, x2, y2, x3, y3; local 466 y2 = data[3]; 470 map_if_relative(ox, oy, relative, &x2, &y2); 475 py = y2; 479 matrix_map_point(matrix, x2, y2, &x2, &y2); 482 x2, y2, x3, y3); 501 y2 = (y3 + 2*y1) / 3.f; 510 matrix_map_point(matrix, x2, y2, &x2, &y2); 1027 VGfloat x0, y0, x1, y1, x2, y2, x3, y3; local 1058 VGfloat x0, y0, x1, y1, x2, y2, x3, y3; local 1088 VGfloat x0, y0, x1, y1, x2, y2, x3, y3; local 1234 VGfloat x0, y0, x1, y1, x2, y2, x3, y3; local [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testautomation_rect.c | 21 int x1, int y1, int x2, int y2, 34 SDLTest_AssertCheck(x1 == x1Ref && y1 == y1Ref && x2 == x2Ref && y2 == y2Ref, 36 x1, y1, x2, y2, 54 int x2, y2; local 65 y2 = 15; 67 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2); 68 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 15, 31, 15); 73 y2 = yBottom; 75 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2); 76 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 15, 0, 15, 31) 125 int x2, y2; local 192 int x2, y2; local 247 int x2, y2, x2Ref, y2Ref; local 283 int y2 = 2 * rect.h; local [all...] |
/external/mesa3d/src/mesa/program/ |
prog_noise.c | 259 float x1, y1, x2, y2; local 282 y2 = y0 - 1.0f + 2.0f * G2; 305 t2 = 0.5f - x2 * x2 - y2 * y2; 310 n2 = t2 * t2 * grad2(perm[ii + 1 + perm[jj + 1]], x2, y2); 346 float x1, y1, z1, x2, y2, z2, x3, y3, z3; local 419 y2 = y0 - j2 + 2.0f * G3; 449 t2 = 0.6f - x2 * x2 - y2 * y2 - z2 * z2; 456 y2, z2) 529 float x1, y1, z1, w1, x2, y2, z2, w2, x3, y3, z3, w3, x4, y4, z4, w4; local [all...] |