Searched refs:deltaY (Results 1 - 25 of 55) sorted by relevance

123

/external/webkit/Source/WebCore/platform/
H A DScrollAnimator.cpp92 float deltaY = verticalScrollbar ? e.deltaY() : 0; local
98 || (deltaY < 0 && maxForwardScrollDelta.height() > 0)
99 || (deltaY > 0 && maxBackwardScrollDelta.height() > 0)) {
103 bool negative = deltaY < 0;
104 deltaY = max(max(static_cast<float>(m_scrollableArea->visibleHeight()) * Scrollbar::minFractionToStepWhenPaging(), static_cast<float>(m_scrollableArea->visibleHeight() - Scrollbar::maxOverlapBetweenPages())), 1.0f);
106 deltaY = -deltaY;
109 if (deltaY)
110 scroll(VerticalScrollbar, ScrollByPixel, verticalScrollbar->pixelStep(), -deltaY);
[all...]
H A DPlatformWheelEvent.h113 float deltaY() const { return m_deltaY; } function in class:WebCore::PlatformWheelEvent
/external/jmonkeyengine/engine/src/core/com/jme3/input/event/
H A DTouchEvent.java47 * Move/Drag event, fields: posX, posY, deltaX, deltaY, pressure
97 private float deltaY; field in class:TouchEvent
124 this.deltaY = deltay;
156 return deltaY;
/external/webkit/Source/WebKit2/Shared/
H A DWebMouseEvent.cpp49 WebMouseEvent::WebMouseEvent(Type type, Button button, const IntPoint& position, const IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers modifiers, double timestamp) argument
55 , m_deltaY(deltaY)
66 WebMouseEvent::WebMouseEvent(Type type, Button button, const IntPoint& position, const IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers modifiers, double timestamp, bool didActivateWebView) argument
72 , m_deltaY(deltaY)
H A DWebEvent.h123 WebMouseEvent(Type, Button, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers, double timestamp);
125 WebMouseEvent(Type, Button, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers, double timestamp, bool didActivateWebView);
132 float deltaY() const { return m_deltaY; } function in class:WebKit::WebMouseEvent
/external/webkit/Source/WebKit2/Shared/qt/
H A DWebEventFactoryQt.cpp104 float deltaY = delta.y(); local
109 return WebMouseEvent(type, button, event->pos().toPoint(), event->screenPos(), deltaX, deltaY, 0.0f, clickCount, modifiers, timestamp);
115 float deltaY = 0; local
131 deltaY = (fullTick) ? e->delta() / 120.0f : e->delta();
132 wheelTicksY = deltaY;
140 deltaY *= (fullTick) ? QApplication::wheelScrollLines() * cDefaultQtScrollStep : 1;
143 return WebWheelEvent(WebEvent::Wheel, e->pos().toPoint(), e->screenPos(), FloatSize(deltaX, deltaY), FloatSize(wheelTicksX, wheelTicksY), granularity, modifiers, timestamp);
/external/webkit/Source/WebCore/platform/mac/
H A DScrollAnimatorMac.mm602 void ScrollAnimatorMac::immediateScrollByDeltaY(float deltaY)
604 float newPosY = adjustScrollYPositionIfNecessary(m_currentPosY + deltaY);
810 if (fabsf(wheelEvent.deltaY()) >= fabsf(wheelEvent.deltaX())) {
842 bool ScrollAnimatorMac::pinnedInDirection(float deltaX, float deltaY)
845 if (fabsf(deltaY) >= fabsf(deltaX)) {
846 if (deltaY < 0) {
863 if ((deltaX != 0 || deltaY != 0) && (limitDelta.width() < 1 && limitDelta.height() < 1))
909 float deltaY = m_overflowScrollDelta.height();
915 float eventCoallescedDeltaY = -wheelEvent.deltaY();
918 deltaY
[all...]
H A DScrollAnimatorMac.h73 void immediateScrollByDeltaY(float deltaY);
124 bool pinnedInDirection(float deltaX, float deltaY);
/external/webkit/Source/WebCore/svg/
H A DSVGRadialGradientElement.cpp236 float deltaY = focalPoint.y() - centerPoint.y(); local
242 if (sqrt(deltaX * deltaX + deltaY * deltaY) > radiusMax) {
243 float angle = atan2f(deltaY, deltaX);
246 deltaY = sinf(angle) * radiusMax;
247 focalPoint = FloatPoint(deltaX + centerPoint.x(), deltaY + centerPoint.y());
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/
H A Djquery.flot.dashes.js138 deltaY: ay2 - ay1,
147 deltaY: ysign * Math.sqrt(Math.pow(segmentLength, 2) - Math.pow(segmentLength, 2) / (1 + Math.pow((ay2 - ay1)/(ax2 - ax1), 2))),
161 if (dashOffset.deltaX != 0 || dashOffset.deltaY != 0) {
163 ctx.lineTo(ax1 + dashOffset.deltaX, ay1 + dashOffset.deltaY);
165 ctx.moveTo(ax1 + dashOffset.deltaX, ay1 + dashOffset.deltaY);
172 ay1 += dashOffset.deltaY;
/external/replicaisland/src/com/replica/replicaisland/
H A DSphereCollisionVolume.java107 final float deltaY = other.getMaxYPosition(otherFlip)
110 final float centerY = deltaY / 2.0f;
115 otherRadius = Math.max(deltaX, deltaY);
H A DCollisionSystem.java279 final int deltaX, final int deltaY,
292 } else if (deltaY != 0) {
293 distance = Math.abs(deltaY) + 1;
294 yIncrement = Utils.sign(deltaY);
346 final int deltaY = endTileY - startTileY;
350 if (deltaX == 0 || deltaY == 0) {
352 endTileX, endTileY, deltaX, deltaY, hitPoint, hitNormal, visitor);
356 final int yIncrement = deltaY != 0 ? Utils.sign(deltaY) : 0;
361 final int verticalDelta = (endTileY > 0 && endTileY < worldHeight - 1) ? Math.abs(deltaY)
277 executeStraigtRay(final Vector2 startPoint, final Vector2 endPoint, final int startTileX, final int startTileY, final int endTileX, final int endTileY, final int deltaX, final int deltaY, Vector2 hitPoint, Vector2 hitNormal, TileVisitor visitor) argument
[all...]
/external/webkit/Source/WebCore/dom/
H A DWheelEvent.cpp105 if (!(event.deltaX() || event.deltaY()))
108 setEvent(WheelEvent::create(event.wheelTicksX(), event.wheelTicksY(), event.deltaX(), event.deltaY(), granularity(event),
/external/webkit/Source/WebKit/chromium/public/
H A DWebInputEvent.h283 float deltaY; member in class:WebKit::WebMouseWheelEvent
296 , deltaY(0.0f)
/external/webkit/Source/WebKit/mac/WebView/
H A DWebWindowAnimation.m50 CGFloat deltaY = point1.y - point2.y;
51 return deltaX * deltaX + deltaY * deltaY;
H A DWebDynamicScrollBarsView.mm514 float deltaY;
516 WKGetWheelEventDeltas(event, &deltaX, &deltaY, &isContinuous);
526 if (fabsf(deltaY) > fabsf(deltaX)) {
534 if ((deltaY >= 0.0 && verticalPosition == 0.0) || (deltaY <= 0.0 && verticalPosition == 1.0))
/external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/
H A Dloupe.js64 var deltaY = Math.floor(event.offsetY/LOUPE_MAGNIFICATION_FACTOR);
67 this._currentCornerX + deltaX, this._currentCornerY + deltaY);
/external/webkit/Source/WebCore/platform/graphics/android/layers/
H A DVideoLayerAndroid.cpp114 float deltaY = rect.height() - rect.width() / aspectRatio; local
115 if (deltaY >= 0)
116 videoRect.inset(0, deltaY / 2);
/external/webkit/Source/WebKit2/Shared/win/
H A DWebEventFactory.cpp413 int deltaY = 0; local
429 deltaY = 0;
433 deltaY = delta;
439 deltaY *= static_cast<float>(verticalMultiplier) * cScrollbarPixelsPerLine;
443 return WebWheelEvent(WebEvent::Wheel, position, globalPosition, FloatSize(deltaX, deltaY), FloatSize(wheelTicksX, wheelTicksY), granularity, modifiers, timestamp);
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
H A DWebKitPluginHost.defs86 deltaY :double;
109 deltaY :double;
/external/webkit/Source/WebKit/chromium/src/mac/
H A DWebInputEventFactory.mm838 result.deltaY = CGEventGetIntegerValueField(cgEvent, kCGScrollWheelEventPointDeltaAxis1);
840 result.wheelTicksY = result.deltaY / scrollbarPixelsPerCocoaTick;
843 result.deltaY = [event deltaY] * scrollbarPixelsPerCocoaTick;
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DGLUtils.cpp97 float deltaY = top - bottom; local
99 if (!deltaX || !deltaY || !deltaZ)
104 ortho.setM22(2.0f / deltaY);
105 ortho.setM42(-(top + bottom) / deltaY);
/external/webkit/Source/WebKit/mac/Plugins/
H A DWebNetscapePluginEventHandlerCocoa.mm119 event.data.mouse.deltaY = [nsEvent deltaY];
/external/webkit/Source/WebCore/rendering/
H A DRenderLayerBacking.cpp207 int deltaY = 0; local
208 m_owningLayer->convertToLayerCoords(rootLayer, deltaX, deltaY);
209 clippingBounds.move(-deltaX, -deltaY);
359 int deltaX = 0, deltaY = 0; local
360 m_owningLayer->convertToLayerCoords(compAncestor, deltaX, deltaY);
361 relativeCompositingBounds.move(deltaX, deltaY);
381 // backgroundRect is relative to compAncestor, so subtract deltaX/deltaY to get back to local coords.
382 IntSize rendererOffset(parentClipRect.location().x() - deltaX, parentClipRect.location().y() - deltaY);
429 IntRect layerBounds = IntRect(deltaX, deltaY, borderBox.width(), borderBox.height());
/external/webkit/Source/WebKit/chromium/src/
H A DWebInputEventConversion.cpp93 m_deltaY = e.deltaY;
316 deltaY = static_cast<float>(event.rawDeltaY());

Completed in 451 milliseconds

123