Lines Matching refs:deltaY
152 float deltaY = m_overflowScrollDelta.height();
169 eventCoalescedDeltaY = -wheelEvent.deltaY();
173 deltaY += eventCoalescedDeltaY;
175 // Slightly prefer scrolling vertically by applying the = case to deltaY
176 if (fabsf(deltaY) >= fabsf(deltaX))
179 deltaY = 0;
203 if (deltaY != 0 && (fabsf(deltaX / deltaY) < rubberbandDirectionLockStretchRatio))
213 if (m_client->pinnedInDirection(FloatSize(0, deltaY))) {
214 if (deltaX != 0 && (fabsf(deltaY / deltaX) < rubberbandDirectionLockStretchRatio))
215 deltaY = 0;
216 else if (fabsf(deltaY) < rubberbandMinimumRequiredDeltaBeforeStretch) {
217 m_overflowScrollDelta.setHeight(m_overflowScrollDelta.height() + deltaY);
218 deltaY = 0;
220 m_overflowScrollDelta.setHeight(m_overflowScrollDelta.height() + deltaY);
224 if (m_client->pinnedInDirection(FloatSize(deltaX, deltaY))) {
225 if (fabsf(deltaY) >= fabsf(deltaX)) {
237 if (deltaX != 0 || deltaY != 0) {
239 if (deltaY != 0) {
240 deltaY *= scrollWheelMultiplier();
241 m_client->immediateScrollBy(FloatSize(0, deltaY));
259 deltaY = 0;
261 } else if ((deltaY != 0) && !isVerticallyStretched && !m_client->pinnedInDirection(FloatSize(0, deltaY))) {
262 deltaY *= scrollWheelMultiplier();
264 m_client->immediateScrollByWithoutContentEdgeConstraints(FloatSize(0, deltaY));
265 deltaY = 0;
279 m_stretchScrollForce.setHeight(m_stretchScrollForce.height() + deltaY);