Searched refs:newPos (Results 1 – 3 of 3) sorted by relevance
274 int newPos; in timerFired() local276 newPos = m_end; in timerFired()290 newPos = currentPos + (addIncrement ? increment : -increment); in timerFired()292 newPos = min(newPos, endPoint); in timerFired()294 newPos = max(newPos, endPoint); in timerFired()297 if (newPos == endPoint) { in timerFired()306 m_layer->scrollToXOffset(newPos); in timerFired()308 m_layer->scrollToYOffset(newPos); in timerFired()
456 int newPos = cygwinPath.find('/', oldPos); in resolveCygwinPath() local458 if (newPos == -1) { in resolveCygwinPath()470 wstring pathComponent = cygwinPath.substr(oldPos, newPos - oldPos); in resolveCygwinPath()477 oldPos = newPos + 1; in resolveCygwinPath()
135 float newPos = m_currentPos + step * multiplier; in scroll() local137 return setCurrentPos(max(min(newPos, maxPos), 0.0f)); in scroll()