/external/pdfium/third_party/agg23/ |
agg_math_stroke.h | 48 float dx1, float dy1, 54 float a1 = atan2(dy1, dx1); 62 out_vertices.add(coord_type(x + dx1, y + dy1)); 95 float dx1, float dy1, 106 if(calc_intersection(v0.x + dx1, v0.y - dy1, 107 v1.x + dx1, v1.y - dy1, 119 float y2 = v1.y - dy1; 120 if ((((x2 - v0.x) * dy1) - ((v0.y - y2) * dx1) < 0) != 121 (((x2 - v2.x) * dy1) - ((v2.y - y2) * dx1) < 0)) { 122 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); [all...] |
/external/eigen/blas/f2c/ |
drotmg.c | 16 dx1, doublereal *dy1, doublereal *dparam) 80 /* DY1 (input) DOUBLE PRECISION */ 109 dp2 = *dd2 * *dy1; 118 dq2 = dp2 * *dy1; 124 dh21 = -(*dy1) / *dx1; 150 dh22 = *dx1 / *dy1; 155 *dx1 = *dy1 * du;
|
/external/fonttools/Lib/fontTools/misc/ |
transform.py | 191 xx1, xy1, yx1, yy1, dx1, dy1 = other 198 xx2*dx1 + yx2*dy1 + dx2, 199 xy2*dx1 + yy2*dy1 + dy2) 214 xx1, xy1, yx1, yy1, dx1, dy1 = self.__affine 221 xx2*dx1 + yx2*dy1 + dx2, 222 xy2*dx1 + yy2*dy1 + dy2) 292 xx1, xy1, yx1, yy1, dx1, dy1 = self.__affine 294 return (xx1, xy1, yx1, yy1, dx1, dy1) == \
|
psCharStrings.py | 793 """dy1? {dxa dxb dyb dxc}+ hhcurveto""" 796 dy1 = args[0] 799 dy1 = 0 802 self.rCurveTo((dxa, dy1), (dxb, dyb), (dxc, 0)) 803 dy1 = 0 806 """dy1 dx2 dy2 dx3 {dxa dxb dyb dyc dyd dxe dye dxf}* dyf? vhcurveto (30) 830 dy1 = dy3 = dy4 = dy6 = 0 832 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3)) 835 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, dx6, dy6, fd = self.popall() 836 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3) [all...] |
/external/opencv/cv/src/ |
_cvgeom.h | 55 int icvIntersectLines( double x1, double dx1, double y1, double dy1,
|
cvstereobm.cpp | 183 int dy0 = MIN(_dy0, wsz2+1), dy1 = MIN(_dy1, wsz2+1); local 204 int cstep = (height + dy0 + dy1)*ndisp; 211 htext = (int*)cvAlignPtr((int*)(hsad0 + (height+dy1)*ndisp) + wsz2 + 2); 218 memset( hsad0 - dy0*ndisp, 0, (height + dy0 + dy1)*ndisp*sizeof(hsad0[0]) ); 227 for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep ) 260 for( y = -dy0; y < height + dy1; y++, cbuf += ndisp, cbuf_sub += ndisp, 284 for( y = dy1; y <= wsz2; y++ ) 285 htext[height+y] = htext[height+dy1-1]; 305 hsad = hsad0 + MIN(y + wsz2, height+dy1-1)*ndisp; 391 int dy0 = MIN(_dy0, wsz2+1), dy1 = MIN(_dy1, wsz2+1) local [all...] |
cvgeometry.cpp | 114 icvIntersectLines( double x1, double dx1, double y1, double dy1, 117 double d = dx1 * dy2 - dx2 * dy1; 122 *t2 = ((x2 - x1) * dy1 - (y2 - y1) * dx1) / d; 295 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; local 309 dx1 = pt.x - v0.x; dy1 = pt.y - v0.y; 312 if( dx1*dx + dy1*dy <= 0 ) 313 dist_num = dx1*dx1 + dy1*dy1; 318 dist_num = (dy1*dx - dx1*dy); 336 dist_num = dy1*dx - dx1*dy [all...] |
cvapprox.cpp | 209 int dx1, dy1, dx2, dy2; local 218 dy1 = array[i1].pt.y - pt0.y; 222 if( (dx1 | dy1) == 0 || (dx2 | dy2) == 0 ) 225 temp_num = dx1 * dx2 + dy1 * dy2; 228 sqrt( ((double)dx1 * dx1 + (double)dy1 * dy1) *
|
/external/mesa3d/src/mesa/swrast/ |
s_aatriangle.c | 197 const GLfloat dy1 = v2[1] - v1[1]; local 203 assert(dx0 * dy1 - dx1 * dy0 >= 0.0); /* area >= 0.0 */ 222 cross = (dx1 * (sy - v1[1]) - dy1 * (sx - v1[0])); 224 cross = dx1 + dy1;
|
/external/libyuv/files/util/ |
ssim.cc | 158 const int dy1 = y * stride; local 174 const int ul1 = org[-dy1 - x]; 175 const int ur1 = org[-dy1 + x]; 176 const int ll1 = org[dy1 - x]; 177 const int lr1 = org[dy1 + x]; 202 const int u1 = org[-dy1]; 203 const int d1 = org[dy1];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtils.java | 275 int dy1 = bounds.y - boundingBox.y; local 277 int dy2 = dy1 + bounds.height; 280 dy1 *= scale; 290 for (int dy = dy1, sy = sy1; dy < dy2; dy++, sy++) { 301 int dyDelta = dy2 - dy1; 302 for (int dy = dy1, sy = sy1; dy < dy2; dy++, sy = (dy - dy1) * syDelta / dyDelta
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 275 /*package*/ static void nRQuadTo(long nPath, float dx1, float dy1, float dx2, float dy2) { 281 pathDelegate.rQuadTo(dx1, dy1, dx2, dy2); 726 * @param dy1 The amount to add to the y-coordinate of the last point on 733 public void rQuadTo(float dx1, float dy1, float dx2, float dy2) { 738 dy1 += mLastY; 741 mPath.quadTo(dx1, dy1, mLastX = dx2, mLastY = dy2); 769 public void rCubicTo(float dx1, float dy1, float dx2, float dy2, 775 dy1 += mLastY; 780 mPath.curveTo(dx1, dy1, dx2, dy2, mLastX = dx3, mLastY = dy3);
|
/external/tensorflow/tensorflow/core/ops/ |
array_grad_test.cc | 78 const Tensor& dy1, int axis) { 84 f::NDef("dy1", "Placeholder", {}, {{"dtype", T}}), 85 f::NDef("dx", "SymbolicGradient", {"x", "dy0", "dy1"}, 97 {"dy1:0", dy1}}, 108 Tensor dy1(DT_FLOAT, {2, 3}); 110 test::FillIota<float>(&dy1, 100); 111 auto dx = UnpackGrad(x, dy0, dy1, 0); 214 const Tensor& dy1) { 220 f::NDef("dy1", "Placeholder", {}, {{"dtype", T}}) [all...] |
/external/skia/src/gpu/vk/ |
GrVkCopyManager.cpp | 203 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f; local 206 dy1 = -dy1; 226 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform
|
/external/skqp/src/gpu/vk/ |
GrVkCopyManager.cpp | 200 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f; local 203 dy1 = -dy1; 223 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform
|
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 410 * @param dy1 The amount to add to the y-coordinate of the last point on 417 public void rQuadTo(float dx1, float dy1, float dx2, float dy2) { 419 nRQuadTo(mNativePath, dx1, dy1, dx2, dy2); 831 private static native void nRQuadTo(long nPath, float dx1, float dy1, float dx2, float dy2);
|
/external/proguard/src/proguard/gui/splash/ |
OverrideGraphics2D.java | 294 public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) 296 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer); 299 public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) 301 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer);
|
/external/tensorflow/tensorflow/core/kernels/ |
crop_and_resize_op_gpu.cu.cc | 292 float dy1, dy2; local 294 dy1 = image_grad_y * (image_height - 1 - y * height_ratio); 297 dy1 = image_grad_y * 0.5 * (image_height - 1); 310 CudaAtomicAdd(grads_boxes_ptr + b * 4 + 0, dy1);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
OctopusDrawable.java | 348 public Arm(float x, float y, float dx1, float dy1, float dx2, float dy2, float dx3, float dy3, 350 link1 = new Link(0, x, y, dx1, dy1); 351 link2 = new Link(1, x+dx1, y+dy1, dx2, dy2); 352 link3 = new Link(2, x+dx1+dx2, y+dy1+dy2, dx3, dy3);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtilsTest.java | 253 int dy1 = bounds.y - boundingBox.y; local 255 int dy2 = dy1 + bounds.height; 258 dy1 *= scale; 267 g.drawImage(image, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, null);
|
/external/opencv/cvaux/src/ |
decomppoly.cpp | 153 int dx1, dy1, dx2, dy2; 195 dy1 = y2 - y1; 198 if( dx1 * dy2 - dx2 * dy1 < 0 ) // convex condition 288 } // if( dx1 * dy2 - dx2 * dy1 < 0 ) 315 } // if( dx1 * dy2 - dx2 * dy1 < 0 ) else
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
Rotation.java | 357 double dy1 = v1y - u1.getY(); local 362 Vector3D k = new Vector3D(dy1 * dz2 - dz1 * dy2, 364 dx1 * dy2 - dy1 * dx2); 384 k = new Vector3D(dy1 * dz3 - dz1 * dy3, 386 dx1 * dy3 - dy1 * dx3); [all...] |
/external/pdfium/core/fxge/ |
cfx_pathdata.cpp | 53 float dy1 = hw * diff.x / ll; local 54 rect->UpdateRect(CFX_PointF(mx - dx1, my + dy1)); 55 rect->UpdateRect(CFX_PointF(mx + dx1, my - dy1));
|
/external/skia/include/core/ |
SkPath.h | 632 /** Adds quad from last point towards vector (dx1, dy1), to vector (dx2, dy2). 639 Quad control is last point plus vector (dx1, dy1). 644 @param dy1 offset from last point x to quad control y 648 void rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2); 697 /** Adds conic from last point towards vector (dx1, dy1), to vector (dx2, dy2), 710 control is last point plus vector (dx1, dy1). 716 @param dy1 offset from last point x to conic control y 721 void rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2, 758 /** Adds cubic from last point towards vector (dx1, dy1), then towards 766 Cubic control is last point plus vector (dx1, dy1) [all...] |
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 439 int dy1 = Math.max(0, b1.getHeight() - targetHeight); local 444 dy1 / 2,
|