Searched defs:dx (Results 26 - 50 of 870) sorted by path

1234567891011>>

/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/life/
H A Dlife.c146 int dx = rand() % (radius * 2) - radius; local
149 if (dx * dx + dy * dy <= radius * radius)
150 DrawCell(x + dx, y + dy);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/
H A Dvoronoi.cc193 float dx = x - pos[i].x; local
195 float dd = (dx * dx + dy * dy);
/external/chromium_org/pdf/
H A Dpaint_aggregator.cc48 int32_t dx = scroll_delta.x(); local
51 if (dx > 0) {
53 damaged_rect.set_width(dx);
55 damaged_rect.set_x(scroll_rect.right() + dx);
56 damaged_rect.set_width(-dx);
/external/chromium_org/ppapi/examples/scaling/
H A Dscaling.cc180 int dx = (width / 2) - x; local
182 float dist_squared = (dx * dx) + (dy * dy);
/external/chromium_org/ppapi/tests/
H A Dtest_graphics_2d.cc472 int dx = -40, dy = -48; local
473 int scroll_x = image_x + dx, scroll_y = image_y + dy;
475 dc.Scroll(clip, pp::Point(dx, dy));
539 dx = 6;
541 scroll_x = image_x + dx;
544 dc.Scroll(clip, pp::Point(dx, dy));
548 pp::Rect scroll_rect(image_width - dx, image_height - dy);
/external/chromium_org/ppapi/utility/graphics/
H A Dpaint_aggregator.cc45 int32_t dx = scroll_delta.x(); local
48 if (dx > 0) {
50 damaged_rect.set_width(dx);
52 damaged_rect.set_x(scroll_rect.right() + dx);
53 damaged_rect.set_width(-dx);
/external/chromium_org/remoting/host/
H A Dinput_injector_linux.cc152 int HorizontalScrollWheelToX11ButtonNumber(int dx);
569 int InputInjectorLinux::Core::HorizontalScrollWheelToX11ButtonNumber(int dx) { argument
570 return (dx > 0 ? pointer_button_map_[5] : pointer_button_map_[6]);
/external/chromium_org/skia/ext/
H A Dvector_platform_device_emf_win.cc307 SkScalar dx = 0, dy = 0; local
309 dx = SkIntToScalar(srcIR.fLeft);
314 if (dx || dy) {
315 matrix.preTranslate(dx, dy);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp806 void CanvasRenderingContext2D::transform(float m11, float m12, float m21, float m22, float dx, float dy) argument
814 if (!std::isfinite(m11) | !std::isfinite(m21) | !std::isfinite(dx) | !std::isfinite(m12) | !std::isfinite(m22) | !std::isfinite(dy))
817 AffineTransform transform(m11, m12, m21, m22, dx, dy);
859 void CanvasRenderingContext2D::setTransform(float m11, float m12, float m21, float m22, float dx, float dy) argument
865 if (!std::isfinite(m11) | !std::isfinite(m21) | !std::isfinite(dx) | !std::isfinite(m12) | !std::isfinite(m22) | !std::isfinite(dy))
869 transform(m11, m12, m21, m22, dx, dy);
1475 float dx, float dy, float dw, float dh, ExceptionState& exceptionState)
1480 drawImageInternal(imageSource, sx, sy, sw, sh, dx, dy, dw, dh, exceptionState, op, blendMode, c);
1485 float dx, float dy, float dw, float dh, ExceptionState& exceptionState,
1507 if (!std::isfinite(dx) || !st
1473 drawImage(CanvasImageSource* imageSource, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh, ExceptionState& exceptionState) argument
1483 drawImageInternal(CanvasImageSource* imageSource, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh, ExceptionState& exceptionState, CompositeOperator op, blink::WebBlendMode blendMode, GraphicsContext* c) argument
1568 drawImageFromRect(HTMLImageElement* image, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh, const String& compositeOperation) argument
1847 putImageData(ImageData* data, float dx, float dy) argument
1852 putImageData(ImageData* data, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DSpatialNavigation.cpp334 LayoutUnit dx = 0; local
338 dx = - ScrollableArea::pixelsPerLineStep();
341 dx = ScrollableArea::pixelsPerLineStep();
354 frame->view()->scrollBy(IntSize(dx, dy));
370 LayoutUnit dx = 0; local
374 dx = - std::min<LayoutUnit>(ScrollableArea::pixelsPerLineStep(), container->renderBox()->scrollLeft());
378 dx = std::min<LayoutUnit>(ScrollableArea::pixelsPerLineStep(), container->renderBox()->scrollWidth() - (container->renderBox()->scrollLeft() + container->renderBox()->clientWidth()));
392 container->renderBox()->scrollByRecursively(IntSize(dx, dy));
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DInlineBox.cpp187 void InlineBox::adjustPosition(float dx, float dy) argument
189 m_topLeft.move(dx, dy);
192 toRenderBox(renderer()).move(dx, dy);
H A DInlineFlowBox.cpp257 void InlineFlowBox::adjustPosition(float dx, float dy) argument
259 InlineBox::adjustPosition(dx, dy);
261 child->adjustPosition(dx, dy);
263 m_overflow->move(dx, dy); // FIXME: Rounding error here since overflow was pixel snapped, but nobody other than list markers passes non-integral values here.
H A DRenderBox.h175 void move(LayoutUnit dx, LayoutUnit dy) { m_frameRect.move(dx, dy); } argument
H A DRenderOverflow.h53 void move(LayoutUnit dx, LayoutUnit dy);
73 inline void RenderOverflow::move(LayoutUnit dx, LayoutUnit dy) argument
75 m_layoutOverflow.move(dx, dy);
76 m_visualOverflow.move(dx, dy);
77 m_contentsVisualOverflow.move(dx, dy);
H A DRenderThemeChromiumSkia.cpp444 int dx = rect.width() * renderProgress->position(); local
445 return IntRect(rect.x(), rect.y(), dx, rect.height());
H A DRootInlineBox.cpp178 void RootInlineBox::adjustPosition(float dx, float dy) argument
180 InlineFlowBox::adjustPosition(dx, dy);
181 LayoutUnit blockDirectionDelta = isHorizontal() ? dy : dx; // The block direction delta is a LayoutUnit.
188 ellipsisBox()->adjustPosition(dx, dy);
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DRasterShape.cpp72 int dx = (xInterceptsIndex >= m_xIntercepts.size()) ? 0 : m_xIntercepts[xInterceptsIndex]; local
73 return IntShapeInterval(m_x1 - dx, m_x2 + dx);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextLayoutAttributes.h38 float dx; member in struct:blink::SVGCharacterData
71 , dx(SVGTextLayoutAttributes::emptyValue())
H A DSVGTextLayoutEngine.cpp88 void SVGTextLayoutEngine::updateRelativePositionAdjustmentsIfNeeded(float dx, float dy) argument
91 if (dx == SVGTextLayoutAttributes::emptyValue() && dy == SVGTextLayoutAttributes::emptyValue())
94 if (dx == SVGTextLayoutAttributes::emptyValue())
95 dx = 0;
101 m_dx += dx;
104 m_dx = dx;
111 m_dx = dx;
505 // Apply dx/dy value adjustments to current text position, if needed.
506 updateRelativePositionAdjustmentsIfNeeded(data.dx, data.dy);
525 // Apply dx/d
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFEDropShadowElement.h37 SVGAnimatedNumber* dx() { return m_dx.get(); } function in class:blink::FINAL
H A DSVGFEOffsetElement.h35 SVGAnimatedNumber* dx() { return m_dx.get(); } function in class:blink::FINAL
H A DSVGGlyphRefElement.cpp107 void SVGGlyphRefElement::setDx(float dx) argument
111 m_dx = dx;
H A DSVGGlyphRefElement.h46 float dx() const { return m_dx; } function in class:blink::FINAL
H A DSVGTextPositioningElement.h38 SVGAnimatedLengthList* dx() { return m_dx.get(); } function in class:blink::SVGTextPositioningElement
H A DSVGTransformDistance.cpp132 float dx = first->translate().x() + second->translate().x() * repeatCount; local
134 transform->setTranslate(dx, dy);

Completed in 505 milliseconds

1234567891011>>