/external/pdfium/third_party/agg23/ |
D | agg_math_stroke.h | 49 FX_FLOAT dx2, FX_FLOAT dy2, in stroke_calc_arc() argument 55 FX_FLOAT a2 = FXSYS_atan2(dy2, dx2); in stroke_calc_arc() 86 out_vertices.add(coord_type(x + dx2, y + dy2)); in stroke_calc_arc() 94 FX_FLOAT dx2, FX_FLOAT dy2, in stroke_calc_miter() argument 106 v1.x + dx2, v1.y - dy2, in stroke_calc_miter() 107 v2.x + dx2, v2.y - dy2, in stroke_calc_miter() 128 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_miter() 132 v1.x, v1.y, dx1, -dy1, dx2, -dy2, in stroke_calc_miter() 138 out_vertices.add(coord_type(v1.x + dx2 - FXSYS_Mul(dy2, miter_limit), in stroke_calc_miter() 139 v1.y - dy2 - FXSYS_Mul(dx2, miter_limit))); in stroke_calc_miter() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
D | Bresenham2.java | 69 int dx1 = 0, dy1 = 0, dx2 = 0, dy2 = 0; in line() local 72 dx2 = -1; in line() 75 dx2 = 1; in line() 88 dx2 = 0; in line() 101 startX += dx2; in line()
|
/external/fonttools/Lib/fontTools/misc/ |
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)
|
D | psCharStrings.py | 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 + dx3 + dx4 + dx5 855 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
|
/external/opencv3/samples/cpp/ |
D | squares.cpp | 41 double dx2 = pt2.x - pt0.x; in angle() local 43 return (dx1*dx2 + dy1*dy2)/sqrt((dx1*dx1 + dy1*dy1)*(dx2*dx2 + dy2*dy2) + 1e-10); in angle()
|
/external/opencv3/samples/tapi/ |
D | squares.cpp | 27 double dx2 = pt2.x - pt0.x; in angle() local 29 return (dx1*dx2 + dy1*dy2)/sqrt((dx1*dx1 + dy1*dy1)*(dx2*dx2 + dy2*dy2) + 1e-10); in angle()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
D | KMeansPlusPlusClusterer.java | 171 final double[] dx2 = new double[pointSet.size()]; in chooseInitialCenters() local 181 dx2[i] = sum; in chooseInitialCenters() 187 for (int i = 0 ; i < dx2.length; i++) { in chooseInitialCenters() 188 if (dx2[i] >= r) { in chooseInitialCenters()
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfTiledInputFile.h | 337 void readTiles (int dx1, int dx2, int dy1, int dy2, 340 void readTiles (int dx1, int dx2, int dy1, int dy2,
|
D | ImfTiledOutputFile.h | 383 void writeTiles (int dx1, int dx2, int dy1, int dy2, 386 void writeTiles (int dx1, int dx2, int dy1, int dy2,
|
D | ImfTiledOutputFile.cpp | 1101 TiledOutputFile::writeTiles (int dx1, int dx2, int dy1, int dy2, in writeTiles() argument 1112 if (!isValidTile (dx1, dy1, lx, ly) || !isValidTile (dx2, dy2, lx, ly)) in writeTiles() 1120 if (dx1 > dx2) in writeTiles() 1121 swap (dx1, dx2); in writeTiles() 1137 int numTiles = (dx2 - dx1 + 1) * (dy2 - dy1 + 1); in writeTiles() 1166 if (dxComp > dx2) in writeTiles() 1230 if (dxWrite > dx2) in writeTiles() 1239 if (dxComp > dx2) in writeTiles()
|
D | ImfTiledInputFile.cpp | 943 TiledInputFile::readTiles (int dx1, int dx2, int dy1, int dy2, int lx, int ly) in readTiles() argument 963 if (dx1 > dx2) in readTiles() 964 std::swap (dx1, dx2); in readTiles() 992 for (int dx = dx1; dx <= dx2; dx++) in readTiles() 1052 TiledInputFile::readTiles (int dx1, int dx2, int dy1, int dy2, int l) in readTiles() argument 1054 readTiles (dx1, dx2, dy1, dy2, l, l); in readTiles()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | matrix.h | 306 VGfloat dx2, VGfloat dy2, in matrix_square_to_quad() argument 309 VGfloat ax = dx0 - dx1 + dx2 - dx3; in matrix_square_to_quad() 316 dx2 - dx1, dy2 - dy1, 0, in matrix_square_to_quad() 320 VGfloat ax1 = dx1 - dx2; in matrix_square_to_quad() 321 VGfloat ax2 = dx3 - dx2; in matrix_square_to_quad() 369 VGfloat dx2, VGfloat dy2, in matrix_quad_to_quad() argument 380 dx2, dy2, dx3, dy3, in matrix_quad_to_quad()
|
D | vgu.c | 388 VGfloat dx2, VGfloat dy2, in vguComputeWarpSquareToQuad() argument 399 dx2, dy2, in vguComputeWarpSquareToQuad() 414 VGfloat dx2, VGfloat dy2, in vguComputeWarpQuadToQuad() argument 429 dx2, dy2, in vguComputeWarpQuadToQuad()
|
/external/opencv/cv/src/ |
D | cvgeometry.cpp | 115 double x2, double dx2, double y2, double dy2, double *t2 ) in icvIntersectLines() argument 117 double d = dx1 * dy2 - dx2 * dy1; in icvIntersectLines() 295 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; in cvPointPolygonTest() local 310 dx2 = pt.x - v.x; dy2 = pt.y - v.y; in cvPointPolygonTest() 314 else if( dx2*dx + dy2*dy >= 0 ) in cvPointPolygonTest() 315 dist_num = dx2*dx2 + dy2*dy2; in cvPointPolygonTest()
|
D | cvlinefit.cpp | 49 double dx2, dy2, dxy; in icvFitLine2D_wods() local 87 dx2 = x2 - x * x; in icvFitLine2D_wods() 91 t = (float) atan2( 2 * dxy, dx2 - dy2 ) / 2; in icvFitLine2D_wods() 108 float dx2, dy2, dz2, dxy, dxz, dyz; in icvFitLine3D_wods() local 170 dx2 = x2 - x0 * x0; in icvFitLine3D_wods() 181 det[4] = dx2 + dz2; in icvFitLine3D_wods() 185 det[8] = dy2 + dx2; in icvFitLine3D_wods()
|
/external/opencv3/modules/imgproc/src/ |
D | linefit.cpp | 51 double dx2, dy2, dxy; in fitLine2D_wods() local 87 dx2 = x2 - x * x; in fitLine2D_wods() 91 t = (float) atan2( 2 * dxy, dx2 - dy2 ) / 2; in fitLine2D_wods() 105 float dx2, dy2, dz2, dxy, dxz, dyz; in fitLine3D_wods() local 167 dx2 = x2 - x0 * x0; in fitLine3D_wods() 178 det[4] = dx2 + dz2; in fitLine3D_wods() 182 det[8] = dy2 + dx2; in fitLine3D_wods()
|
D | approx.cpp | 184 int dx1, dy1, dx2, dy2; in icvApproximateChainTC89() local 194 dx2 = array[i2].pt.x - pt0.x; in icvApproximateChainTC89() 197 if( (dx1 | dy1) == 0 || (dx2 | dy2) == 0 ) in icvApproximateChainTC89() 200 temp_num = dx1 * dx2 + dy1 * dy2; in icvApproximateChainTC89() 204 ((double)dx2 * dx2 + (double)dy2 * dy2) )); in icvApproximateChainTC89()
|
D | geometry.cpp | 193 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; in pointPolygonTest() local 203 dx2 = pt.x - v.x; dy2 = pt.y - v.y; in pointPolygonTest() 207 else if( dx2*dx + dy2*dy >= 0 ) in pointPolygonTest() 208 dist_num = dx2*dx2 + dy2*dy2; in pointPolygonTest()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aatriangle.c | 213 const GLfloat dx2 = v0[0] - v2[0]; in compute_coveragef() local 247 cross = (dx2 * (sy - v2[1]) - dy2 * (sx - v2[0])); in compute_coveragef() 249 cross = dx2 + dy2; in compute_coveragef()
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/java/org/skia/canvasproof/ |
D | CanvasProofActivity.java | 192 float dx2 = dx * dx; in dispatchTouchEvent() local 194 if (dx2 + dy2 > 22500.0) { in dispatchTouchEvent() 195 if (dy2 < dx2) { in dispatchTouchEvent()
|
/external/opencv3/modules/stitching/src/ |
D | seam_finders.cpp | 502 int dx2 = unionTl_.x - tl2.x, dy2 = unionTl_.y - tl2.y; in resolveConflicts() local 508 int l = labels_(y - dy2, x - dx2); in resolveConflicts() 509 if (l > 0 && (states_[l-1] & FIRST) && mask1.at<uchar>(y - dy2 + dy1, x - dx2 + dx1)) in resolveConflicts() 519 if (l > 0 && (states_[l-1] & SECOND) && mask2.at<uchar>(y - dy1 + dy2, x - dx1 + dx2)) in resolveConflicts() 735 int dx2 = unionTl_.x - tl2.x, dy2 = unionTl_.y - tl2.y; in computeCosts() local 748 float costColor = (diff(image1, y + dy1, x + dx1 - 1, image2, y + dy2, x + dx2) + in computeCosts() 749 … diff(image1, y + dy1, x + dx1, image2, y + dy2, x + dx2 - 1)) / 2; in computeCosts() 755 … std::abs(gradx2_(y + dy2, x + dx2)) + std::abs(gradx2_(y + dy2, x + dx2 - 1)) + 1.f; in computeCosts() 772 float costColor = (diff(image1, y + dy1 - 1, x + dx1, image2, y + dy2, x + dx2) + in computeCosts() 773 … diff(image1, y + dy1, x + dx1, image2, y + dy2 - 1, x + dx2)) / 2; in computeCosts() [all …]
|
/external/pdfium/xfa/src/fxbarcode/common/ |
D | BC_CommonPerspectiveTransform.cpp | 104 FX_FLOAT dx2 = x3 - x2; in SquareToQuadrilateral() local 107 FX_FLOAT denominator = dx1 * dy2 - dx2 * dy1; in SquareToQuadrilateral() 108 FX_FLOAT a13 = (dx3 * dy2 - dx2 * dy3) / denominator; in SquareToQuadrilateral()
|
/external/mesa3d/include/VG/ |
D | vgu.h | 113 VGfloat dx2, VGfloat dy2, 119 VGfloat dx2, VGfloat dy2,
|
/external/opencv/cvaux/src/ |
D | cvface.cpp | 188 long dx2 = RightEyeRect.x + RightEyeRect.width/2 - MouthRect.x - MouthRect.width; in CalculateError() local 194 (double)(dx2*dx2)/((double)MouthRect.width*MouthRect.width); in CalculateError()
|
/external/proguard/src/proguard/gui/splash/ |
D | OverrideGraphics2D.java | 294 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument 296 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer); in drawImage() 299 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument 301 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer); in drawImage()
|