/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 263 /*package*/ static void native_quadTo(long nPath, float x1, float y1, float x2, float y2) { 269 pathDelegate.quadTo(x1, y1, x2, y2); 284 float x2, float y2, float x3, float y3) { 290 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3); 295 float x2, float y2, float x3, float y3) { 301 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3); 701 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 707 * @param y2 The y-coordinate of the end point on a quadratic curve 709 public void quadTo(float x1, float y1, float x2, float y2) { 710 mPath.quadTo(x1, y1, mLastX = x2, mLastY = y2); [all...] |
/prebuilts/go/darwin-x86/src/crypto/elliptic/ |
elliptic_test.go | 353 x2, y2 := p256Generic.ScalarBaseMult(k.Bytes()) 354 if x.Cmp(x2) != 0 || y.Cmp(y2) != 0 { 355 t.Errorf("#%d: got (%x, %x), want (%x, %x)", i, x, y, x2, y2) 402 x2, y2 := curve.Double(x, y) 403 if x2.Sign() != 0 || y2.Sign() != 0 {
|
elliptic.go | 29 // Add returns the sum of (x1,y1) and (x2,y2) 30 Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int) 57 y2 := new(big.Int).Mul(y, y) 58 y2.Mod(y2, curve.P) 70 return x3.Cmp(y2) == 0 102 func (curve *CurveParams) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) { 104 z2 := zForAffine(x2, y2) 105 return curve.affineFromJacobian(curve.addJacobian(x1, y1, z1, x2, y2, z2)) 109 // (x2, y2, z2) and returns their sum, also in Jacobian form [all...] |
/prebuilts/go/darwin-x86/src/math/cmplx/ |
tan.go | 118 y2 := 1.0 128 y2 *= y 129 t := y2 + x2 138 y2 *= y 139 t = y2 - x2
|
/prebuilts/go/linux-x86/src/crypto/elliptic/ |
elliptic_test.go | 353 x2, y2 := p256Generic.ScalarBaseMult(k.Bytes()) 354 if x.Cmp(x2) != 0 || y.Cmp(y2) != 0 { 355 t.Errorf("#%d: got (%x, %x), want (%x, %x)", i, x, y, x2, y2) 402 x2, y2 := curve.Double(x, y) 403 if x2.Sign() != 0 || y2.Sign() != 0 {
|
elliptic.go | 29 // Add returns the sum of (x1,y1) and (x2,y2) 30 Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int) 57 y2 := new(big.Int).Mul(y, y) 58 y2.Mod(y2, curve.P) 70 return x3.Cmp(y2) == 0 102 func (curve *CurveParams) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) { 104 z2 := zForAffine(x2, y2) 105 return curve.affineFromJacobian(curve.addJacobian(x1, y1, z1, x2, y2, z2)) 109 // (x2, y2, z2) and returns their sum, also in Jacobian form [all...] |
/prebuilts/go/linux-x86/src/math/cmplx/ |
tan.go | 118 y2 := 1.0 128 y2 *= y 129 t := y2 + x2 138 y2 *= y 139 t = y2 - x2
|
/external/ImageMagick/coders/ |
xps.c | 232 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 235 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 243 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 246 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 254 height=(size_t) (floor(bounds.y2+0.5)-ceil(bounds.y1-0.5));
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
SpriteBatch.java | 269 float y2;
local 284 y2 = sin * p2x + cos * p2y;
290 y4 = y3 - (y2 - y1);
296 y2 = p2y;
308 y2 += worldOriginY;
340 vertices[idx++] = y2;
681 float y2;
local 696 y2 = sin * p2x + cos * p2y;
702 y4 = y3 - (y2 - y1);
708 y2 = p2y; 801 float y2; local 912 float y2 = transform.m11 * height + transform.m12; local [all...] |
/external/opencv3/modules/core/include/opencv2/core/cuda/ |
filters.hpp | 99 const int y2 = y1 + 1; local 102 out = out + src_reg * ((x2 - x) * (y2 - y)); 105 out = out + src_reg * ((x - x1) * (y2 - y)); 107 src_reg = src(y2, x1); 110 src_reg = src(y2, x2);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Intersector.java | 352 * @param y2 355 public static float intersectLinePlane (float x, float y, float z, float x2, float y2, float z2, Plane plane, 357 Vector3 direction = tmp.set(x2, y2, z2).sub(x, y, z); 732 float x1 = p1.x, y1 = p1.y, x2 = p2.x, y2 = p2.y, x3 = p3.x, y3 = p3.y, x4 = p4.x, y4 = p4.y; local 734 float d = (y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1); 739 intersection.set(x1 + (x2 - x1) * ua, y1 + (y2 - y1) * ua); 747 public static boolean intersectLines (float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, 749 float d = (y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1); 754 intersection.set(x1 + (x2 - x1) * ua, y1 + (y2 - y1) * ua); 766 float x1 = p1.x, y1 = p1.y, x2 = p2.x, y2 = p2.y local 807 float x1 = p1.x, y1 = p1.y, x2 = p2.x, y2 = p2.y; local 839 float x1 = p1.x, y1 = p1.y, x2 = p2.x, y2 = p2.y, x3 = p3.x, y3 = p3.y, x4 = p4.x, y4 = p4.y; local 962 float y2 = verts1[(i + 3) % count1]; local 1028 float y2 = verts2[(i + 3) % count2]; local [all...] |
Vector2.java | 140 public static float dot (float x1, float y1, float x2, float y2) {
141 return x1 * x2 + y1 * y2;
189 public static float dst (float x1, float y1, float x2, float y2) {
191 final float y_d = y2 - y1;
211 public static float dst2 (float x1, float y1, float x2, float y2) {
213 final float y_d = y2 - y1;
|
/external/ImageMagick/MagickCore/ |
paint.c | 131 s->y2=(double) (delta); \ 236 offset=(ssize_t) s->y2; 445 gradient->gradient_vector.y2=(double) image->rows-1.0; 461 gradient->gradient_vector.y2=0.0; 469 gradient->gradient_vector.y2=0.0; 477 gradient->gradient_vector.y2=0.0; 485 gradient->gradient_vector.y2=0.0; 493 gradient->gradient_vector.y2=0.0; 501 gradient->gradient_vector.y2=(double) image->rows-1.0; 509 gradient->gradient_vector.y2=(double) image->columns-1.0 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
ConstraintPainter.java | 328 int x1, y1, x2, y2; local 345 y2 = targetBounds.y + 1 * targetBounds.h / 4; 347 y2 = targetBounds.y + 3 * targetBounds.h / 4; 351 graphics.drawArrow(x1, y1, x2, y2, ARROW_SIZE); 590 int ty = targetBounds.y2(); 629 targetX + PARENT_RECT_SIZE / 2, targetBounds.y2()); 633 int minBottom = Math.min(sourceBounds.y2(), targetBounds.y2()); 638 if (center > sourceBounds.y && center < sourceBounds.y2()) { 644 graphics.drawLine(sharedX, targetBounds.y, sharedX, targetBounds.y2()); [all...] |
/external/deqp/modules/egl/ |
teglPreservingSwapTests.cpp | 111 void render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType); 160 void GLES2Program::render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) 167 x1, y2, 0.0f, 1.0f, 168 x2, y2, 0.0f, 1.0f, 170 x2, y2, 0.0f, 1.0f, 219 const int y2i = (int)(((float)py/2.0f) * y2 + (float)oy); 237 void render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType); 252 void ReferenceProgram::render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) 266 const int y2i = (int)((py/2.0) * y2 + oy);
|
/external/libvncserver/libvncserver/ |
rfbregion.c | 516 sraRgnCreateRect(int x1, int y1, int x2, int y2) { 527 vspan = sraSpanCreate(y1, y2, hlist); 637 rect->y2 = vcurr->end; 662 rect->x1, rect->y1, rect->x2, rect->y2); 770 r->y2 = i->sPtrs[i->ptrPos-2]->end; 809 sraClipRect2(int *x, int *y, int *x2, int *y2, 821 if (*y2 <= cy) 822 *y2 = cy+1; 825 if (*y2 > cy2) 826 *y2 = cy2 [all...] |
scale.c | 93 double x1,y1,w1,h1, x2, y2, w2, h2; local 114 y2 = FLOOR(y1); 118 h2 = CEIL(h1 + ( y1 - y2 )); 122 * function, *x, *y, *w, *h, x2, y2, w2, h2, 128 *y = (int)y2; 263 void rfbScaledScreenUpdate(rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2) 277 rfbScaledScreenUpdateRect(screen, ptr, x1, y1, x2-x1, y2-y1);
|
/external/opencv3/modules/imgproc/src/ |
lsd.cpp | 81 const double x2, const double y2) 83 return (x2 - x1)*(x2 - x1) + (y2 - y1)*(y2 - y1); 87 const double x2, const double y2) 89 return sqrt(distSq(x1, y1, x2, y2)); 195 * Where Vec4i/Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end. 275 double x1, y1, x2, y2; // first and second point of the line segment member in struct:cv::LineSegmentDetectorImpl::rect 290 * Where Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end. 510 rec.x2 += 0.5; rec.y2 += 0.5; 516 rec.x2 /= SCALE; rec.y2 /= SCALE [all...] |
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
mat4.js | 838 y2 = y + y, 842 xy = x * y2, 844 yy = y * y2, 848 wy = w * y2, 892 y2 = y + y, 896 xy = x * y2, 898 yy = y * y2, 902 wy = w * y2, 952 y2 = y + y, 956 xy = x * y2, [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|
/prebuilts/go/darwin-x86/misc/cgo/gmp/ |
pi.go | 71 y2 := k*2 + 1 73 accum.Mul(accum, tmp1.SetInt64(y2)) 75 denom.Mul(denom, tmp1.SetInt64(y2))
|
/prebuilts/go/linux-x86/misc/cgo/gmp/ |
pi.go | 71 y2 := k*2 + 1 73 accum.Mul(accum, tmp1.SetInt64(y2)) 75 denom.Mul(denom, tmp1.SetInt64(y2))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|