/external/deqp/modules/egl/ |
teglPartialUpdateTests.cpp | 158 // (x1,y1) lie in the lower-left quadrant while (x2,y2) lie in the upper-right. 169 const int y2 = rnd.getInt((dst.height-1)/8, (dst.height-1)/4) * 4; local 173 const ColoredRect coloredRect (IVec2(x1, y1), IVec2(x2, y2), Color(r, g, b)); 257 const float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); local 262 x1, y2, 263 x2, y2, 265 x2, y2,
|
teglSwapBuffersWithDamageTests.cpp | 199 const float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); local 204 x1, y2, 205 x2, y2, 207 x2, y2,
|
/external/deqp/modules/gles3/functional/ |
es3fPixelBufferObjectTests.cpp | 461 float y2 = 2.0f * m_random.getFloat() - 1.0f; local 468 renderTriangle(tcu::Vec3(x1, y1, z1), tcu::Vec3(x2, y2, z2), tcu::Vec3(x3, y3, z3));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
DangiTest.java | 272 int y2 = DATA[i++]; local 282 if (y != y2 || m != m2 || d != d2) { 284 + ", expected " + y2 + "/" + (m2 + 1) + "/" + d2);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
DangiTest.java | 268 int y2 = DATA[i++]; local 278 if (y != y2 || m != m2 || d != d2) { 280 + ", expected " + y2 + "/" + (m2 + 1) + "/" + d2);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
BitmapFontCache.java | 400 final float x2 = x + width, y2 = y + height; local 416 vertices[idx++] = y2; 422 vertices[idx++] = y2;
|
Sprite.java | 140 float y2 = y + height;
local 146 vertices[Y2] = y2;
149 vertices[Y3] = y2;
167 float y2 = y + height;
local 173 vertices[Y2] = y2;
176 vertices[Y3] = y2;
244 vertices[Y2] += yAmount;
262 vertices[Y2] += yAmount; 444 final float y2 = localY2Cos + localXSin + worldOriginY; local 459 final float y2 = localY2 + worldOriginY; local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/renderers/ |
OrthoCachedTiledMapRenderer.java | 251 final float y2 = y1 + region.getRegionHeight() * unitScale; local 267 vertices[Y2] = y2; 273 vertices[Y3] = y2; 368 final float y2 = y1 + region.getRegionHeight() * unitScale; local 382 vertices[Y2] = y2; 388 vertices[Y3] = y2;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
Box2DCharacterControllerTest.java | 84 float y2 = y1;
local 86 Body ground = createEdge(BodyType.StaticBody, -50 + i * 2, y1, -50 + i * 2 + 2, y2, 0);
87 y1 = y2;
88 y2 = 1; // (float)Math.random() + 1;
131 private Body createEdge (BodyType type, float x1, float y1, float x2, float y2, float density) {
137 poly.set(new Vector2(0, 0), new Vector2(x2 - x1, y2 - y1));
|
PolygonRegionTest.java | 215 float y2;
local 227 y2 = sin * p2x + cos * p2y;
233 y4 = y3 - (y2 - y1);
239 y2 = p2y;
251 y2 += worldOriginY;
261 renderer.line(x1, y1, x2, y2);
262 renderer.line(x2, y2, x3, y3);
|
/external/libopus/src/ |
analysis.c | 119 float x2, y2; local 127 y2 = y*y; 128 if(x2<y2){ 129 float den = (y2 + cB*x2) * (y2 + cC*x2); 131 return -x*y*(y2 + cA*x2) / den + (y<0 ? -cE : cE); 135 float den = (x2 + cB*y2) * (x2 + cC*y2); 137 return x*y*(x2 + cA*y2) / den + (y<0 ? -cE : cE) - (x*y<0 ? -cE : cE);
|
/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/libvncserver/libvncserver/ |
cursor.c | 29 void rfbScaledScreenUpdate(rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2); 476 int j,x1,x2,y1,y2,bpp=s->serverFormat.bitsPerPixel/8, local 494 y2=y1+c->height; 496 if(y2>=s->height) y2=s->height-1; 497 y2-=y1; if(y2<=0) { 503 for(j=0;j<y2;j++) 509 rfbScaledScreenUpdate(s, x1, y1, x1+x2, y1+y2); 518 int i,j,x1,x2,y1,y2,i1,j1,bpp=s->serverFormat.bitsPerPixel/8 local 686 int x,y,x2,y2; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_state.c | 515 int x1, y1, x2, y2; local 526 y2 = y1 + h - 1; 527 DBG("%s %d..%d,%d..%d (inverted)\n", __FUNCTION__, x1, x2, y1, y2); 535 y2 = y + h - 1; 536 DBG("%s %d..%d,%d..%d (not inverted)\n", __FUNCTION__, x1, x2, y1, y2); 542 y2 = CLAMP(y2, 0, ctx->DrawBuffer->Height - 1); 544 DBG("%s %d..%d,%d..%d (clamped)\n", __FUNCTION__, x1, x2, y1, y2); 548 i915->state.Buffer[I915_DESTREG_SR2] = (y2 << 16) | (x2 & 0xffff); [all...] |
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
wmesa.c | 567 GLint y2 = FLIP(y[i]); local 568 Color = GetPixel(pwc->hDC, x[i], y2); 670 GLint y2 = FLIP(y[i]); local 671 lpdw = ((LPDWORD)(pwfb->pbPixels + pwfb->ScanWidth * y2)) + x[i]; 776 GLint y2 = FLIP(y[i]); local 777 lpb = ((LPBYTE)(pwfb->pbPixels + pwfb->ScanWidth * y2)) + (3 * x[i]); 881 GLint y2 = FLIP(y[i]); local 882 lpw = ((LPWORD)(pwfb->pbPixels + pwfb->ScanWidth * y2)) + x[i]; [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...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_api.c | 786 vbo_exec_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) 794 CALL_Vertex2f(GET_DISPATCH(), (x2, y2)); local 795 CALL_Vertex2f(GET_DISPATCH(), (x1, y2)); local [all...] |
vbo_save_api.c | 1114 _save_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) 1120 (void) y2; 1177 _save_OBE_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) 1183 CALL_Vertex2f(GET_DISPATCH(), (x2, y2)); local 1184 CALL_Vertex2f(GET_DISPATCH(), (x1, y2)); local [all...] |
/external/opencv/cv/src/ |
cvpyrsegmentation.cpp | 52 ushort x1, y1, x2, y2; member in struct:_CvRect16u [all...] |
cvtemplmatch.cpp | 208 int x1 = MAX( 0, x0 ), y1 = MAX( 0, y0 ), x2, y2; local 214 y2 = MIN( img->rows, y0 + isz.height ); 221 src = cvGetSubRect( img, &sstub, cvRect(x1,y1,x2-x1,y2-y1) ); 226 if( x2 - x1 < isz.width || y2 - y1 < isz.height ) 228 cvRect( x1 - x0, y1 - y0, x2 - x1, y2 - y1 )); 234 planes[i] = cvInitMatHeader( &temp, y2 - y1, x2 - x1, depth, _buf );
|
cvundistort.cpp | 63 float y = (v - v0)*ify, y2 = y*y; local 67 float x = (u - u0)*ifx, x2 = x*x, r2 = x2 + y2, _2xy = 2*x*y; 70 float _y = fy*(y*kr + p1*(r2 + 2*y2) + p2*_2xy) + y0; 242 float y = (v - v0)*ify, y2 = y*y; local 246 float x = (u - u0)*ifx, x2 = x*x, r2 = x2 + y2, _2xy = 2*x*y; 249 double _y = fy*(y*kr + p1*(r2 + 2*y2) + p2*_2xy) + y0; 356 double x2 = x*x, y2 = y*y; local 357 double r2 = x2 + y2, _2xy = 2*x*y; 360 double v = fy*(y*kr + p1*(r2 + 2*y2) + p2*_2xy) + v0;
|
/external/opencv3/modules/calib3d/src/ |
homography_decomp.cpp | 288 int y2 = row == 2 ? 1 : 2; local 290 return (M(y1, x2) * M(y2, x1) - M(y1, x1) * M(y2, x2));
|
/external/opencv3/modules/stitching/src/ |
motion_estimators.cpp | 563 double y2 = H2(1,0)*p2.x + H2(1,1)*p2.y + H2(1,2); local 565 len = std::sqrt(x2*x2 + y2*y2 + z2*z2); 566 x2 /= len; y2 /= len; z2 /= len; 570 err.at<double>(3 * match_idx + 1, 0) = mult * (y1 - y2);
|
/external/opencv3/modules/videoio/src/ |
cap_dc1394.cpp | 958 register int y0, y1, y2, y3, u, v; local [all...] |
/external/pdfium/core/src/fxge/skia/ |
fx_skia_device.cpp | 162 FX_FIXFLOAT x2 = pPoints[i + 1].m_PointX, y2 = pPoints[i + 1].m_PointY; local 165 pObject2Device->Transform(x2, y2); 168 m_PathData.cubicTo(x, y, x2, y2, x3, y3);
|