Home
last modified time | relevance | path

Searched refs:fullTick (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Source/WebCore/platform/qt/
DWheelEventQt.cpp38 bool fullTick = !(delta % 120); in applyDelta() local
41 m_deltaX = (fullTick) ? delta / 120.0f : delta; in applyDelta()
45 m_deltaY = (fullTick) ? delta / 120.0f : delta; in applyDelta()
55 m_deltaX *= (fullTick) ? QApplication::wheelScrollLines() * cDefaultQtScrollStep : 1; in applyDelta()
56 m_deltaY *= (fullTick) ? QApplication::wheelScrollLines() * cDefaultQtScrollStep : 1; in applyDelta()
/external/webkit/Source/WebKit2/Shared/qt/
DWebEventFactoryQt.cpp125 bool fullTick = !(e->delta() % 120); in createWebWheelEvent() local
128 deltaX = (fullTick) ? e->delta() / 120.0f : e->delta(); in createWebWheelEvent()
131 deltaY = (fullTick) ? e->delta() / 120.0f : e->delta(); in createWebWheelEvent()
139 deltaX *= (fullTick) ? QApplication::wheelScrollLines() * cDefaultQtScrollStep : 1; in createWebWheelEvent()
140 deltaY *= (fullTick) ? QApplication::wheelScrollLines() * cDefaultQtScrollStep : 1; in createWebWheelEvent()