/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
H A D | Bresenham2.java | 69 int dx1 = 0, dy1 = 0, dx2 = 0, dy2 = 0;
72 dx2 = -1;
75 dx2 = 1;
88 dx2 = 0;
101 startX += dx2;
|
/external/pdfium/third_party/agg23/ |
H A D | agg_math_stroke.h | 49 FX_FLOAT dx2, FX_FLOAT dy2, 55 FX_FLOAT a2 = FXSYS_atan2(dy2, dx2); 86 out_vertices.add(coord_type(x + dx2, y + dy2)); 94 FX_FLOAT dx2, FX_FLOAT dy2, 106 v1.x + dx2, v1.y - dy2, 107 v2.x + dx2, v2.y - dy2, 128 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); 132 v1.x, v1.y, dx1, -dy1, dx2, -dy2, 138 out_vertices.add(coord_type(v1.x + dx2 - FXSYS_Mul(dy2, miter_limit), 139 v1.y - dy2 - FXSYS_Mul(dx2, miter_limi 46 stroke_calc_arc(VertexConsumer& out_vertices, FX_FLOAT x, FX_FLOAT y, FX_FLOAT dx1, FX_FLOAT dy1, FX_FLOAT dx2, FX_FLOAT dy2, FX_FLOAT width, FX_FLOAT approximation_scale) argument [all...] |
/external/opencv/cv/src/ |
H A D | _cvgeom.h | 56 double x2, double dx2, double y2, double dy2,
|
H A D | cvgeometry.cpp | 115 double x2, double dx2, double y2, double dy2, double *t2 ) 117 double d = dx1 * dy2 - dx2 * dy1; 295 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; local 310 dx2 = pt.x - v.x; dy2 = pt.y - v.y; 314 else if( dx2*dx + dy2*dy >= 0 ) 315 dist_num = dx2*dx2 + dy2*dy2; 114 icvIntersectLines( double x1, double dx1, double y1, double dy1, double x2, double dx2, double y2, double dy2, double *t2 ) argument
|
H A D | cvlinefit.cpp | 49 double dx2, dy2, dxy; local 87 dx2 = x2 - x * x; 91 t = (float) atan2( 2 * dxy, dx2 - dy2 ) / 2; 108 float dx2, dy2, dz2, dxy, dxz, dyz; local 170 dx2 = x2 - x0 * x0; 181 det[4] = dx2 + dz2; 185 det[8] = dy2 + dx2;
|
/external/opencv3/samples/cpp/ |
H A D | squares.cpp | 41 double dx2 = pt2.x - pt0.x; local 43 return (dx1*dx2 + dy1*dy2)/sqrt((dx1*dx1 + dy1*dy1)*(dx2*dx2 + dy2*dy2) + 1e-10);
|
/external/opencv3/samples/tapi/ |
H A D | squares.cpp | 27 double dx2 = pt2.x - pt0.x; local 29 return (dx1*dx2 + dy1*dy2)/sqrt((dx1*dx1 + dy1*dy1)*(dx2*dx2 + dy2*dy2) + 1e-10);
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
H A D | ImfTiledInputFile.h | 322 // The two readTiles(dx1, dx2, dy1, dy2, ...) functions allow 337 void readTiles (int dx1, int dx2, int dy1, int dy2, 340 void readTiles (int dx1, int dx2, int dy1, int dy2,
|
H A D | ImfTiledOutputFile.h | 325 // The two writeTiles(dx1, dx2, dy1, dy2, ...) functions allow 328 // dx1, dx2 and dy1, dy2, specify inclusive ranges of tile 329 // coordinates. It is valid for dx1 < dx2 or dy1 < dy2; the 383 void writeTiles (int dx1, int dx2, int dy1, int dy2, 386 void writeTiles (int dx1, int dx2, int dy1, int dy2,
|
H A D | ImfTiledOutputFile.cpp | 1101 TiledOutputFile::writeTiles (int dx1, int dx2, int dy1, int dy2, argument 1112 if (!isValidTile (dx1, dy1, lx, ly) || !isValidTile (dx2, dy2, lx, ly)) 1120 if (dx1 > dx2) 1121 swap (dx1, dx2); 1137 int numTiles = (dx2 - dx1 + 1) * (dy2 - dy1 + 1); 1166 if (dxComp > dx2) 1230 if (dxWrite > dx2) 1239 if (dxComp > dx2)
|
/external/fonttools/Lib/fontTools/misc/ |
H A D | transform.py | 192 xx2, xy2, yx2, yy2, dx2, dy2 = self.__affine 198 xx2*dx1 + yx2*dy1 + dx2, 215 xx2, xy2, yx2, yy2, dx2, dy2 = other 221 xx2*dx1 + yx2*dy1 + dx2, 293 xx2, xy2, yx2, yy2, dx2, dy2 = other 295 (xx2, xy2, yx2, yy2, dx2, dy2)
|
H A D | psCharStrings.py | 806 """dy1 dx2 dy2 dx3 {dxa dxb dyb dyc dyd dxe dye dxf}* dyf? vhcurveto (30) 816 """dx1 dx2 dy2 dy3 {dya dxb dyb dxc dxd dxe dye dyf}* dxf? 829 dx1, dx2, dy2, dx3, dx4, dx5, dx6 = self.popall() 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)) 839 dx1, dy1, dx2, dy2, dx3, dx4, dx5, dy5, dx6 = self.popall() 843 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3)) 846 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, d6 = self.popall() 847 dx = dx1 + dx2 [all...] |
/external/fonttools/Tools/fontTools/misc/ |
H A D | transform.py | 192 xx2, xy2, yx2, yy2, dx2, dy2 = self.__affine 198 xx2*dx1 + yx2*dy1 + dx2, 215 xx2, xy2, yx2, yy2, dx2, dy2 = other 221 xx2*dx1 + yx2*dy1 + dx2, 293 xx2, xy2, yx2, yy2, dx2, dy2 = other 295 (xx2, xy2, yx2, yy2, dx2, dy2)
|
H A D | psCharStrings.py | 806 """dy1 dx2 dy2 dx3 {dxa dxb dyb dyc dyd dxe dye dxf}* dyf? vhcurveto (30) 816 """dx1 dx2 dy2 dy3 {dya dxb dyb dxc dxd dxe dye dyf}* dxf? 829 dx1, dx2, dy2, dx3, dx4, dx5, dx6 = self.popall() 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)) 839 dx1, dy1, dx2, dy2, dx3, dx4, dx5, dy5, dx6 = self.popall() 843 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3)) 846 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, d6 = self.popall() 847 dx = dx1 + dx2 [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
H A D | KMeansPlusPlusClusterer.java | 171 final double[] dx2 = new double[pointSet.size()]; 181 dx2[i] = sum; 187 for (int i = 0 ; i < dx2.length; i++) { 188 if (dx2[i] >= r) {
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_sf.h | 68 struct brw_reg dx2; member in struct:brw_sf_compile
|
/external/mesa3d/include/VG/ |
H A D | vgu.h | 113 VGfloat dx2, VGfloat dy2, 119 VGfloat dx2, VGfloat dy2,
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_aatriangle.c | 213 const GLfloat dx2 = v0[0] - v2[0]; local 247 cross = (dx2 * (sy - v2[1]) - dy2 * (sx - v2[0])); 249 cross = dx2 + dy2;
|
/external/pdfium/xfa/src/fxbarcode/common/ |
H A D | BC_CommonPerspectiveTransform.cpp | 104 FX_FLOAT dx2 = x3 - x2;
local 107 FX_FLOAT denominator = dx1 * dy2 - dx2 * dy1;
108 FX_FLOAT a13 = (dx3 * dy2 - dx2 * dy3) / denominator;
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/java/org/skia/canvasproof/ |
H A D | CanvasProofActivity.java | 192 float dx2 = dx * dx; 194 if (dx2 + dy2 > 22500.0) { 195 if (dy2 < dx2) {
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | matrix.h | 306 VGfloat dx2, VGfloat dy2, 309 VGfloat ax = dx0 - dx1 + dx2 - dx3; 316 dx2 - dx1, dy2 - dy1, 0, 320 VGfloat ax1 = dx1 - dx2; 321 VGfloat ax2 = dx3 - dx2; 369 VGfloat dx2, VGfloat dy2, 380 dx2, dy2, dx3, dy3, 303 matrix_square_to_quad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx3, VGfloat dy3, VGfloat dx2, VGfloat dy2, struct matrix *mat) argument 367 matrix_quad_to_quad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat sx0, VGfloat sy0, VGfloat sx1, VGfloat sy1, VGfloat sx2, VGfloat sy2, VGfloat sx3, VGfloat sy3, struct matrix *mat) argument
|
H A D | vgu.c | 388 VGfloat dx2, VGfloat dy2, 399 dx2, dy2, 414 VGfloat dx2, VGfloat dy2, 429 dx2, dy2, 386 vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat * matrix) argument 412 vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat sx0, VGfloat sy0, VGfloat sx1, VGfloat sy1, VGfloat sx2, VGfloat sy2, VGfloat sx3, VGfloat sy3, VGfloat * matrix) argument
|
/external/opencv3/modules/imgproc/src/ |
H A D | linefit.cpp | 51 double dx2, dy2, dxy; local 87 dx2 = x2 - x * x; 91 t = (float) atan2( 2 * dxy, dx2 - dy2 ) / 2; 105 float dx2, dy2, dz2, dxy, dxz, dyz; local 167 dx2 = x2 - x0 * x0; 178 det[4] = dx2 + dz2; 182 det[8] = dy2 + dx2;
|
H A D | geometry.cpp | 193 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; local 203 dx2 = pt.x - v.x; dy2 = pt.y - v.y; 207 else if( dx2*dx + dy2*dy >= 0 ) 208 dist_num = dx2*dx2 + dy2*dy2;
|
/external/opencv/cvaux/src/ |
H A D | cvface.cpp | 188 long dx2 = RightEyeRect.x + RightEyeRect.width/2 - MouthRect.x - MouthRect.width; local 194 (double)(dx2*dx2)/((double)MouthRect.width*MouthRect.width);
|