/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
ShapeRenderer.java | 44 * shapeRenderer.line(x, y, x2, y2);
241 public final void line (float x, float y, float z, float x2, float y2, float z2) {
242 line(x, y, z, x2, y2, z2, color, color);
251 public final void line (float x, float y, float x2, float y2) {
252 line(x, y, 0.0f, x2, y2, 0.0f, color, color);
261 public final void line (float x, float y, float x2, float y2, Color c1, Color c2) {
262 line(x, y, 0.0f, x2, y2, 0.0f, c1, c2);
267 public void line (float x, float y, float z, float x2, float y2, float z2, Color c1, Color c2) {
269 rectLine(x, y, x2, y2, defaultRectLineWidth);
276 renderer.vertex(x2, y2, z2); 512 float y2 = sin * fx2 + cos * fy + worldOriginY; local 1071 float y2; local 1105 float y2; local [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/fonttools/Lib/fontTools/misc/ |
bezierTools.py | 331 x2, y2 = pt2 335 by = (y2 - cy) * 2.0 342 x2, y2 = pt2 347 cy = (y2 -dy) * 3.0 349 by = (y3 - y2) * 3.0 - cy 362 y2 = (by * 0.5) + cy 365 return (x1, y1), (x2, y2), (x3, y3) 376 y2 = (cy / 3.0) + dy 378 y3 = (by + cy) / 3.0 + y2 381 return (x1, y1), (x2, y2), (x3, y3), (x4, y4 [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
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/opencv3/modules/imgproc/test/ |
test_canny.cpp | 198 int y1 = 0, y2 = 0, x1 = 0, x2 = 0; local 210 y1 = y2 = y; x1 = x + 1; x2 = x - 1; 214 y1 = y + 1; y2 = y - 1; x1 = x + 1; x2 = x - 1; 218 y1 = y - 1; y2 = y + 1; x1 = x + 1; x2 = x - 1; 223 x1 = x2 = x; y1 = y + 1; y2 = y - 1; 229 if( (unsigned)y2 < (unsigned)height && (unsigned)x2 < (unsigned)width ) 230 c = (float)fabs(mag.at<float>(y2, x2));
|
/external/freetype/src/cff/ |
cf2intrp.c | 722 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 724 CF2_Fixed y3 = cf2_stack_getReal( opStack, index + 5 ) + y2; 727 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1283 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 1315 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1360 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1409 CF2_Fixed x1, x2, x3, y1, y2, y3; local [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/ |
cf2intrp.c | 722 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 724 CF2_Fixed y3 = cf2_stack_getReal( opStack, index + 5 ) + y2; 727 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1283 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 1315 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1360 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1409 CF2_Fixed x1, x2, x3, y1, y2, y3; local [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
cf2intrp.c | 722 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 724 CF2_Fixed y3 = cf2_stack_getReal( opStack, index + 5 ) + y2; 727 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1283 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 1315 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1360 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1409 CF2_Fixed x1, x2, x3, y1, y2, y3; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_blit.c | 268 int x1, y1, x2, y2; local 291 y2 = cy + ch + irb->draw_y; 299 x1, y1, x2 - x1, y2 - y1); 362 assert(y1 < y2); 377 OUT_BATCH((y2 << 16) | x2); 456 OUT_BATCH((100 << 16) | 100); /* clip x2, y2 */ 535 uint32_t x1, y1, x2, y2; local 559 y2 = image_y + height; 567 x1, y1, x2 - x1, y2 - y1); 596 OUT_BATCH((y2 << 16) | x2) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 377 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 383 * @param y2 The y-coordinate of the end point on a quadratic curve 385 public void quadTo(float x1, float y1, float x2, float y2) { 387 native_quadTo(mNativePath, x1, y1, x2, y2); 411 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been 417 * @param y2 The y-coordinate of the 2nd control point on a cubic curve 421 public void cubicTo(float x1, float y1, float x2, float y2, 424 native_cubicTo(mNativePath, x1, y1, x2, y2, x3, y3); 432 public void rCubicTo(float x1, float y1, float x2, float y2, 435 native_rCubicTo(mNativePath, x1, y1, x2, y2, x3, y3) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/environment/ |
AmbientCubemap.java | 98 final float x2 = x * x, y2 = y * y, z2 = z * z;
local 99 float d = x2 + y2 + z2;
108 data[idx] += y2 * rd;
109 data[idx + 1] += y2 * gd;
110 data[idx + 2] += y2 * bd;
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
arc.c | 180 x1p = (arc->x2*COS + arc->y2*SIN)/arc->a; 181 y1p = (-arc->x2*SIN + arc->y2*COS)/arc->b; 244 arc->x2, arc->y2, 245 &arc->x2, &arc->y2); 256 arc->x1, arc->y1, arc->x2, arc->y2); 262 vec1[1] = arc->y2 - arc->cy; 322 double x1, y1, x2, y2; local 335 y2 = arc->cy + a_cos_eta2 * arc->sin_theta + 339 x1, y1, x2, y2); 342 arc->x2, arc->y2); [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_screen_dri.c | 142 xy2 = ((int)src->y2 < (int)bbox->y2 + dst_y) ? src->y2 : 143 (int)bbox->y2 + dst_y; 148 dst->y2 = xy2;
|
/frameworks/base/services/core/java/com/android/server/power/ |
WirelessChargerDetector.java | 313 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
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_utils.h | 90 const float y2) { 91 return GeometryUtils::SQUARE_FLOAT(x1 - x2) + GeometryUtils::SQUARE_FLOAT(y1 - y2); 95 const float x1, const float y1, const float x2, const float y2, const bool extend) { 99 const float ray2y = y2 - y1; 117 projectionY = y2;
|
/external/libgdx/gdx/jni/gdx2d/ |
gdx2d.c | 517 static inline void vline(const gdx2d_pixmap* pixmap, int32_t y1, int32_t y2, int32_t x, uint32_t col) {
528 if(y1 > y2) {
530 y1 = y2;
531 y2 = tmp;
535 if(y2 < 0) return;
538 if(y2 >= (int32_t)pixmap->height) y2 = pixmap->height - 1;
539 y2 += 1;
543 while(y1 != y2) {
611 int32_t y2 = y + height - 1; local 673 int32_t y2; member in struct:edge [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_hypotl.c | 51 long double a=x,b=y,t1,t2,y1,y2,w; local 111 y2 = b - y1; 115 w = sqrtl(t1*y1-(w*(-w)-(t1*y2+t2*b)));
|
/external/ceres-solver/internal/ceres/ |
implicit_schur_complement.cc | 112 // y2 = E' y1 116 // y3 = -(E'E)^-1 y2 178 // y2 = b - y1 181 // y3 = E' y2 208 // y2 = (E'E)^-1 y1 209 Vector y2 = Vector::Zero(A_->num_cols_e()); local 210 block_diagonal_EtE_inverse_->RightMultiply(tmp_e_cols_.data(), y2.data()); 212 // y3 = E y2 214 A_->RightMultiplyE(y2.data(), tmp_rows_.data());
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btCapsuleShape.cpp | 142 const btScalar y2 = ly*ly; local 146 inertia[0] = scaledmass * (y2+z2); 148 inertia[2] = scaledmass * (x2+y2);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
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/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
plot_dynamics.py | 114 # x1, x2, y1, y2 115 _, x2, _, y2 = plt.axis() 117 y2 = v.getYMax() 118 plt.axis((0, x2, 0, y2))
|
/frameworks/base/libs/hwui/ |
ShadowTessellator.cpp | 133 double y2 = poly[p2].y; local 134 double a = (x1 * y2 - x2 * y1); 136 sumy += (y1 + y2) * a;
|
/external/boringssl/src/crypto/poly1305/ |
poly1305_arm.c | 48 uint32_t y2; local 69 y2 = x2 + (y1 >> 26); 71 y3 = x3 + (y2 >> 26); 72 y2 &= 0x3ffffff; 80 y2 ^= x2; 86 y2 &= swap; 92 y2 ^= x2; 98 r->v[4] = y2;
|
/external/drm_hwcomposer/ |
separate_rects.h | 34 TFloat x1, y1, x2, y2; member in struct:separate_rects::Rect::__anon11458::__anon11460 45 : x1(xx1), y1(yy1), x2(xx2), y2(yy2) {
|
/external/fonttools/Lib/fontTools/pens/ |
reportLabPen.py | 27 (x2,y2) = p2 29 self.path.curveTo(x1, y1, x2, y2, x3, y3)
|