Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/agg23/
Dagg_math_stroke.h49 float dx2, float dy2, in stroke_calc_arc() argument
55 float a2 = atan2(dy2, dx2); in stroke_calc_arc()
88 out_vertices.add(coord_type(x + dx2, y + dy2)); in stroke_calc_arc()
96 float dx2, float dy2, in stroke_calc_miter() argument
108 v1.x + dx2, v1.y - dy2, in stroke_calc_miter()
109 v2.x + dx2, v2.y - dy2, in stroke_calc_miter()
130 out_vertices.add(coord_type(v1.x + dx2, v1.y - dy2)); in stroke_calc_miter()
134 v1.x, v1.y, dx1, -dy1, dx2, -dy2, in stroke_calc_miter()
140 out_vertices.add(coord_type(v1.x + dx2 - (dy2 * miter_limit), in stroke_calc_miter()
141 v1.y - dy2 - (dx2 * miter_limit))); in stroke_calc_miter()
[all …]
D0000-bug-466.patch44 out_vertices.add(coord_type(x + dx2, y + dy2));
/external/fonttools/Lib/fontTools/misc/
Dtransform.py240 xx2, xy2, yx2, yy2, dx2, dy2 = self
246 xx2*dx1 + yx2*dy1 + dx2,
263 xx2, xy2, yx2, yy2, dx2, dy2 = other
269 xx2*dx1 + yx2*dy1 + dx2,
DpsCharStrings.py674 dx1, dx2, dy2, dx3, dx4, dx5, dx6 = self.popall()
677 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
680 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, dx6, dy6, fd = self.popall()
681 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
684 dx1, dy1, dx2, dy2, dx3, dx4, dx5, dy5, dx6 = self.popall()
688 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
691 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, d6 = self.popall()
692 dx = dx1 + dx2 + dx3 + dx4 + dx5
700 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/mesa3d/src/mesa/swrast/
Ds_aatriangle.c197 const GLfloat dx2 = v0[0] - v2[0]; in compute_coveragef() local
231 cross = (dx2 * (sy - v2[1]) - dy2 * (sx - v2[0])); in compute_coveragef()
233 cross = dx2 + dy2; in compute_coveragef()
/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/tensorflow/tensorflow/core/kernels/image/
Dcrop_and_resize_op_gpu.cu.cc329 float dx1, dx2; in CropAndResizeBackpropBoxesKernel() local
332 dx2 = image_grad_x * (x * width_ratio); in CropAndResizeBackpropBoxesKernel()
335 dx2 = image_grad_x * 0.5 * (image_width - 1); in CropAndResizeBackpropBoxesKernel()
341 GpuAtomicAdd(grads_boxes_ptr + b * 4 + 3, dx2); in CropAndResizeBackpropBoxesKernel()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c317 unsigned dx1, dy1, dx2, dy2; in emit_blit() local
354 dx2 = dbox->x + dbox->width - 1; in emit_blit()
427 OUT_RING(ring, CP_BLIT_4_DST_X2(dx2) | CP_BLIT_4_DST_Y2(dy2)); in emit_blit()
/external/skqp/src/compute/ts/
Dtransform_stack.c629 ts_transform_float_t const dx2 = x3 - x2; in ts_transform_stack_push_unit_to_quad() local
632 ts_transform_float_t const dx3 = -sx - dx2; in ts_transform_stack_push_unit_to_quad()
653 ts_transform_float_t const wx_den = dx1 * dy2 - dx2 * dy1; in ts_transform_stack_push_unit_to_quad()
658 ts_transform_float_t const w0_num = dx3 * dy2 - dx2 * dy3; in ts_transform_stack_push_unit_to_quad()
/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()
/external/skqp/include/core/
DSkPath.h670 SkPath& rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
746 SkPath& rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
805 SkPath& rCubicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SymbolicGradient.pbtxt40 (dL/dx1, dL/dx2, ..., dL/dx_N) = g(x1, x2, ..., x_N,
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPath.java357 protected void rQuadTo(float dx1, float dy1, float dx2, float dy2) { in rQuadTo() argument
363 dx2 += mLastX; in rQuadTo()
365 mPath.quadTo(dx1, dy1, mLastX = dx2, mLastY = dy2); in rQuadTo()
/external/skia/include/core/
DSkPath.h683 SkPath& rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
759 SkPath& rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
818 SkPath& rCubicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
/external/fonttools/Lib/fontTools/pens/
DpointPen.py345 dx2, dy2 = nextPt[0] - pt[0], nextPt[1] - pt[1]
347 a2 = math.atan2(dx2, dy2)
/external/mesa3d/src/intel/compiler/
Dbrw_compile_sf.c37 struct brw_reg dx2; member
289 c->dx2 = brw_vec1_grf(1, 4); in alloc_regs()
499 brw_MAC(p, c->tmp, c->a1_sub_a0, negate(c->dx2)); in brw_emit_tri_setup()
/external/skqp/src/core/
DSkBitmapProcState_matrixProcs.cpp434 SkFractionalInt dx2 = dx+dx; in nofilter_scale_neon() local
435 SkFractionalInt dx4 = dx2+dx2; in nofilter_scale_neon()
/external/tensorflow/tensorflow/python/ops/
Dmath_grad_test.py665 dx1, dx2 = self._nextafter_gradient(x1, x2)
669 self.assertAllClose(expected_dx2, dx2)
677 dx1, dx2 = self._nextafter_gradient(x1, x2)
681 self.assertAllClose(expected_dx2, dx2)
/external/mesa3d/src/imgui/
Dimstb_truetype.h1925 static void stbtt__csctx_rccurve_to(stbtt__csctx *ctx, float dx1, float dy1, float dx2, float dy2, … in stbtt__csctx_rccurve_to() argument
1929 float cx2 = cx1 + dx2; in stbtt__csctx_rccurve_to()
2133 float dx1, dx2, dx3, dx4, dx5, dx6, dy1, dy2, dy3, dy4, dy5, dy6; in stbtt__run_charstring() local
2142 dx2 = s[1]; in stbtt__run_charstring()
2148 stbtt__csctx_rccurve_to(c, dx1, 0, dx2, dy2, dx3, 0); in stbtt__run_charstring()
2156 dx2 = s[2]; in stbtt__run_charstring()
2167 stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3); in stbtt__run_charstring()
2175 dx2 = s[2]; in stbtt__run_charstring()
2182 stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, 0); in stbtt__run_charstring()
2190 dx2 = s[2]; in stbtt__run_charstring()
[all …]
/external/dng_sdk/source/
Ddng_resample.cpp410 real64 dx2 = xPos * xPos; in Initialize()
412 real64 r = sqrt (dx2 + dy2); in Initialize()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blitter.c635 int dx1, dy1, dx2, dy2; in emit_blit_texture() local
659 dx2 = (dbox->x + dbox->width) * nr_samples - 1; in emit_blit_texture()
664 OUT_RING(ring, A6XX_GRAS_2D_DST_BR_X(dx2) | A6XX_GRAS_2D_DST_BR_Y(dy2)); in emit_blit_texture()
/external/rust/crates/plotters-svg/src/
Dsvg.rs703 for (dx2, v_pos) in [VPos::Top, VPos::Center, VPos::Bottom].iter().enumerate() { in test_text_draw()
704 let x = 150_i32 + (dx1 as i32 * 3 + dx2 as i32) * 150; in test_text_draw()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp259 void ApplyRConicTo(SkPath& p, SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2, in ApplyRConicTo() argument
261 p.rConicTo(dx1, dy1, dx2, dy2, w); in ApplyRConicTo()
269 void ApplyRCubicTo(SkPath& p, SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2, in ApplyRCubicTo() argument
271 p.rCubicTo(dx1, dy1, dx2, dy2, dx3, dy3); in ApplyRCubicTo()
302 void ApplyRQuadTo(SkPath& p, SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2) { in ApplyRQuadTo() argument
303 p.rQuadTo(dx1, dy1, dx2, dy2); in ApplyRQuadTo()
/external/tensorflow/tensorflow/core/framework/
Dfunction.proto118 // (dL/dx1, dL/dx2, ..., dL/dx_N) = g(x1, x2, ..., x_N,

12