Searched refs:trackLen (Results 1 – 3 of 3) sorted by relevance
64 int trackLen = trackLength(scrollbar); in thumbPosition() local66 return round(proportion * trackLen); in thumbPosition()71 int trackLen = trackLength(scrollbar); in thumbLength() local74 return trackLen; in thumbLength()77 int length = round(proportion * trackLen); in thumbLength()78 length = min(max(length, minimumThumbLength(scrollbar)), trackLen); in thumbLength()
268 int trackLen = trackLength(scrollbar); in thumbLength() local269 int length = round(proportion * trackLen); in thumbLength()271 if (length > trackLen) in thumbLength()
308 int trackLen = theme()->trackLength(this); in moveThumb() local310 delta = min(trackLen - thumbLen - thumbPos, delta); in moveThumb()317 …float newPosition = static_cast<float>(thumbPos + delta) * (maxPos - minPos) / (trackLen - thumbLe… in moveThumb()