Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/rendering/
DRenderLayer.cpp1254 int adjustedDelta = beginningDelta / speedReducer; in adjustedScrollDelta() local
1255 if (adjustedDelta > 1) in adjustedScrollDelta()
1256adjustedDelta = static_cast<int>(adjustedDelta * sqrt(static_cast<double>(adjustedDelta))) - 1; in adjustedScrollDelta()
1257 else if (adjustedDelta < -1) in adjustedScrollDelta()
1258adjustedDelta = static_cast<int>(adjustedDelta * sqrt(static_cast<double>(-adjustedDelta))) + 1; in adjustedScrollDelta()
1260 return adjustedDelta; in adjustedScrollDelta()