Searched refs:dy (Results 401 - 425 of 771) sorted by relevance

<<11121314151617181920>>

/external/skia/experimental/Intersection/
H A DLineParameters.h100 double dy() const { function in class:LineParameters
/external/skia/gm/
H A Dcubicpaths.cpp37 for (SkScalar dy = -1; dy <= 1; dy += 1) {
42 canvas->translate(dx, dy);
/external/skia/src/core/
H A DSkBitmapDevice.cpp355 SkScalar dx = 0, dy = 0; local
360 dy = SkIntToScalar(srcIR.fTop);
362 if (dx || dy) {
363 matrix.preTranslate(dx, dy);
/external/skia/src/effects/
H A DSkLayerDrawLooper.cpp125 static void postTranslate(SkCanvas* canvas, SkScalar dx, SkScalar dy) { argument
127 m.postTranslate(dx, dy);
353 void SkLayerDrawLooper::Builder::addLayer(SkScalar dx, SkScalar dy) { argument
356 info.fOffset.set(dx, dy);
/external/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient.cpp269 SkScalar dy, fy = srcPt.fY; local
275 dy = SkFixedToScalar(fixedY);
279 dy = fDstToIndex.getSkewY();
282 TwoPtRadialContext rec(twoPointConicalGradient.fRec, fx, fy, dx, dy);
/external/skia/src/pathops/
H A DSkPathOpsQuad.cpp223 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2); local
227 /* by = */ dst[1].fY = 2*dy - (ay + cy)/2;
246 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2);
248 b.fY = 2 * dy - (a.fY + c.fY) / 2;
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
H A DAndroidPathRenderer.cpp660 float dy = p2y - p1y; local
661 float d1 = sk_float_abs((c1x - p2x) * dy - (c1y - p2y) * dx);
662 float d2 = sk_float_abs((c2x - p2x) * dy - (c2y - p2y) * dx);
667 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) {
705 float dy = by - ay; local
706 float d = (cx - bx) * dy - (cy - by) * dx;
708 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) {
/external/opencv/cv/src/
H A Dcvfilter.cpp1855 void CvSepFilter::init_sobel_kernel( CvMat* _kx, CvMat* _ky, int dx, int dy, int flags )
1875 if( dx < 0 || dy < 0 || dx+dy <= 0 )
1877 "Both derivative orders (dx and dy) must be non-negative "
1883 int order = k == 0 ? dx : dy;
1962 void CvSepFilter::init_scharr_kernel( CvMat* _kx, CvMat* _ky, int dx, int dy, int flags )
1976 if( ((dx|dy)&~1) || dx+dy != 1 )
1983 int order = k == 0 ? dx : dy;
2023 int dx, int dy, in
[all...]
/external/pixman/pixman/
H A Dpixman.c162 int dy)
175 if (rbox->y1 < (v = cbox->y1 + dy))
177 if (rbox->y2 > (v = cbox->y2 + dy))
191 if (dx || dy)
192 pixman_region32_translate (region, -dx, -dy);
197 if (dx || dy)
198 pixman_region32_translate (region, dx, dy);
208 int dy)
220 dx, dy);
159 clip_general_image(pixman_region32_t * region, pixman_region32_t * clip, int dx, int dy) argument
205 clip_source_image(pixman_region32_t * region, pixman_image_t * image, int dx, int dy) argument
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_surface.c501 int dx, dy; local
513 dy = clip->y - dstrect->y;
514 if(dy > 0) {
515 h -= dy;
516 dstrect->y += dy;
517 srcy += dy;
519 dy = dstrect->y + h - clip->y - clip->h;
520 if(dy > 0)
521 h -= dy;
/external/skia/experimental/AndroidPathRenderer/
H A DAndroidPathRenderer.cpp660 float dy = p2y - p1y; local
661 float d1 = sk_float_abs((c1x - p2x) * dy - (c1y - p2y) * dx);
662 float d2 = sk_float_abs((c2x - p2x) * dy - (c2y - p2y) * dx);
667 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) {
705 float dy = by - ay; local
706 float d = (cx - bx) * dy - (cy - by) * dx;
708 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) {
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dpostproc.c680 int dy; local
685 dy = *y_1 - y_0;
689 *y_1 = ((width-x_0)*dy)/dx + y_0;
694 dy = *y_1 - y_0;
698 *y_1 = ((0-x_0)*dy)/dx + y_0;
703 dy = *y_1 - y_0;
706 if (dy)
707 *x_1 = ((height-y_0)*dx)/dy + x_0;
712 dy = *y_1 - y_0;
715 if (dy)
[all...]
/external/libvpx/libvpx/vp8/common/
H A Dpostproc.c676 int dy; local
681 dy = *y_1 - y_0;
685 *y_1 = ((width-x_0)*dy)/dx + y_0;
690 dy = *y_1 - y_0;
694 *y_1 = ((0-x_0)*dy)/dx + y_0;
699 dy = *y_1 - y_0;
702 if (dy)
703 *x_1 = ((height-y_0)*dx)/dy + x_0;
708 dy = *y_1 - y_0;
711 if (dy)
[all...]
/external/libyuv/files/source/
H A Dscale.cc2625 int dy = (src_height << 16) / dst_height; local
2627 int y = (dy >= 65536) ? ((dy >> 1) - 32768) : (dy >> 1);
2635 y += dy;
2667 y += dy;
2687 int dy = (src_height << 16) / dst_height; local
2688 int y = (dy >= 65536) ? ((dy >> 1) - 32768) : (dy >>
2759 int dy = (src_height << 16) / dst_height; local
2789 int dy = (src_height << 16) / dst_height; local
[all...]
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/
H A Dearth.cc406 int dy = height_ / num_regions_; local
409 *y = r * dy;
410 *h = dy;
433 float dy = (y1 - y0);
435 float dy_dy_dz_dz = dy * dy + dz * dz;
436 float two_dy_y0_y_two_dz_z0_z = 2.0f * dy * (y0 - planet_y_) +
467 float py = y0 + t * dy;
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DSpatialNavigation.cpp335 LayoutUnit dy = 0; local
344 dy = - ScrollableArea::pixelsPerLineStep();
347 dy = ScrollableArea::pixelsPerLineStep();
354 frame->view()->scrollBy(IntSize(dx, dy));
371 LayoutUnit dy = 0; local
381 dy = - std::min<LayoutUnit>(ScrollableArea::pixelsPerLineStep(), container->renderBox()->scrollTop());
385 dy = std::min<LayoutUnit>(ScrollableArea::pixelsPerLineStep(), container->renderBox()->scrollHeight() - (container->renderBox()->scrollTop() + container->renderBox()->clientHeight()));
392 container->renderBox()->scrollByRecursively(IntSize(dx, dy));
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextLayoutAttributesBuilder.cpp173 data.dy = dyList->at(i)->value(lengthContext);
185 RefPtr<SVGLengthList> dyList = position.element->dy()->currentValue();
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGTransformDistance.cpp133 float dy = first->translate().y() + second->translate().y() * repeatCount; local
134 transform->setTranslate(dx, dy);
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatPoint.h74 void move(float dx, float dy) argument
77 m_y += dy;
H A DLayoutPoint.h58 void move(LayoutUnit dx, LayoutUnit dy) { m_x += dx; m_y += dy; } argument
/external/chromium_org/third_party/freetype/src/autofit/
H A Dafhints.c482 FT_Pos dy )
488 if ( dy >= dx )
490 if ( dy >= -dx )
493 ll = dy;
500 ss = dy;
503 else /* dy < dx */
505 if ( dy >= -dx )
509 ss = dy;
514 ll = dy;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_stipple.c137 float dy = y0 > y1 ? y0 - y1 : y1 - y0; local
139 float length = MAX2(dx, dy);
H A Ddraw_pipe_wide_line.c78 const float dy = fabsf(pos0[1] - pos2[1]); local
92 if (dx > dy) {
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dapi_masks.c221 VGint dx, VGint dy,
243 mask_copy(mask, sx, sy, dx, dy, width, height);
219 vegaCopyMask(VGMaskLayer maskLayer, VGint sx, VGint sy, VGint dx, VGint dy, VGint width, VGint height) argument
H A Darc.c100 double dy = y0 - y1; local
106 dsq = dx*dx + dy*dy;
119 sdy = s*dy;
168 double dx, dy, dsq, scale; local
184 dy = y0p - y1p;
186 dsq = dx*dx + dy*dy;

Completed in 1782 milliseconds

<<11121314151617181920>>