Home
last modified time | relevance | path

Searched refs:dx2 (Results 1 – 25 of 37) sorted by relevance

12

/external/pdfium/third_party/agg23/
Dagg_math_stroke.h49 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/
DBresenham2.java69 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/
Dtransform.py192 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)
DpsCharStrings.py829 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/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java171 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/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java692 float dx1, dx2, dy1, dy2; in counterClockwise() local
695 dx2 = p2.x - p0.x; in counterClockwise()
697 if (dx1 * dy2 > dy1 * dx2) { in counterClockwise()
700 if (dx1 * dy2 < dy1 * dx2) { in counterClockwise()
703 if ((dx1 * dx2 < 0) || (dy1 * dy2 < 0)) { in counterClockwise()
706 if ((dx1 * dx1 + dy1 * dy1) < (dx2 * dx2 + dy2 * dy2)) { in counterClockwise()
/external/mesa3d/src/gallium/state_trackers/vega/
Dmatrix.h306 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()
Dvgu.c388 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()
Drenderer.h155 int dx2, int dy2,
/external/opencv/cv/src/
Dcvgeometry.cpp115 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()
Dcvlinefit.cpp49 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()
Dcvapprox.cpp209 int dx1, dy1, dx2, dy2; in icvApproximateChainTC89() local
219 dx2 = array[i2].pt.x - pt0.x; in icvApproximateChainTC89()
222 if( (dx1 | dy1) == 0 || (dx2 | dy2) == 0 ) in icvApproximateChainTC89()
225 temp_num = dx1 * dx2 + dy1 * dy2; in icvApproximateChainTC89()
229 ((double)dx2 * dx2 + (double)dy2 * dy2) )); in icvApproximateChainTC89()
D_cvgeom.h56 double x2, double dx2, double y2, double dy2,
Dcvsurf.cpp88 int dx2 = src[k][2]*newSize/oldSize; in icvResizeHaarPattern() local
92 dst[k].p2 = dy1*widthStep + dx2; in icvResizeHaarPattern()
93 dst[k].p3 = dy2*widthStep + dx2; in icvResizeHaarPattern()
94 dst[k].w = src[k][4]/((float)(dx2-dx1)*(dy2-dy1)); in icvResizeHaarPattern()
/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c213 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/
DCanvasProofActivity.java192 float dx2 = dx * dx; in dispatchTouchEvent() local
194 if (dx2 + dy2 > 22500.0) { in dispatchTouchEvent()
195 if (dy2 < dx2) { in dispatchTouchEvent()
/external/pdfium/xfa/src/fxbarcode/common/
DBC_CommonPerspectiveTransform.cpp104 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/
Dvgu.h113 VGfloat dx2, VGfloat dy2,
119 VGfloat dx2, VGfloat dy2,
/external/opencv/cvaux/src/
Dcvface.cpp188 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()
Ddecomppoly.cpp153 int dx1, dy1, dx2, dy2;
196 dx2 = x3 - x2;
198 if( dx1 * dy2 - dx2 * dy1 < 0 ) // convex condition
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java294 …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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf.h68 struct brw_reg dx2; member
/external/skia/src/opts/
DSkBitmapProcState_opts_SSE2.cpp497 SkFixed dx2 = dx + dx; in ClampX_ClampY_filter_affine_SSE2() local
501 __m128i wide_d2 = _mm_set_epi32(dx2, dy2, dx2, dy2); in ClampX_ClampY_filter_affine_SSE2()
533 fx += dx2; in ClampX_ClampY_filter_affine_SSE2()
DSkBitmapProcState_matrix_neon.h65 SkFractionalInt dx2 = dx+dx; in SCALE_NOFILTER_NAME() local
66 SkFractionalInt dx4 = dx2+dx2; in SCALE_NOFILTER_NAME()
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java359 double dx2 = v2x - u2.getX(); in Rotation() local
363 dz1 * dx2 - dx1 * dz2, in Rotation()
364 dx1 * dy2 - dy1 * dx2); in Rotation()
395 dz2 * dx3 - dx2 * dz3, in Rotation()
396 dx2 * dy3 - dy2 * dx3); in Rotation()

12