Searched refs:thumbPos (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
D | Scrollbar.cpp | 205 …int thumbPos = scrollbar->theme()->trackPosition(scrollbar) + scrollbar->theme()->thumbPosition(sc… in thumbUnderMouse() local 207 return scrollbar->pressedPos() >= thumbPos && scrollbar->pressedPos() < thumbPos + thumbLength; in thumbUnderMouse() 306 int thumbPos = theme()->thumbPosition(this); in moveThumb() local 310 delta = min(trackLen - thumbLen - thumbPos, delta); in moveThumb() 312 delta = max(-thumbPos, delta); in moveThumb() 317 …float newPosition = static_cast<float>(thumbPos + delta) * (maxPos - minPos) / (trackLen - thumbLe… in moveThumb()
|
D | ScrollbarTheme.cpp | 222 int thumbPos = thumbPosition(scrollbar); in splitTrack() local 224 …thumbRect = IntRect(trackRect.x() + thumbPos, trackRect.y(), thumbLength(scrollbar), scrollbar->he… in splitTrack() 225 …beforeThumbRect = IntRect(trackRect.x(), trackRect.y(), thumbPos + thumbRect.width() / 2, trackRec… in splitTrack() 228 …thumbRect = IntRect(trackRect.x(), trackRect.y() + thumbPos, scrollbar->width(), thumbLength(scrol… in splitTrack() 229 …beforeThumbRect = IntRect(trackRect.x(), trackRect.y(), trackRect.width(), thumbPos + thumbRect.he… in splitTrack()
|