Searched defs:thumbRect (Results 1 - 7 of 7) sorted by relevance
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderSlider.cpp | 103 IntRect RenderSlider::thumbRect() function in class:WebCore::RenderSlider 109 IntRect thumbRect; 112 thumbRect.setWidth(thumb->style()->width().calcMinValue(contentWidth())); 113 thumbRect.setHeight(thumb->style()->height().calcMinValue(contentHeight())); 118 thumbRect.setX(contentRect.x() + (contentRect.width() - thumbRect.width()) / 2); 119 thumbRect.setY(contentRect.y() + static_cast<int>(nextafter((contentRect.height() - thumbRect.height()) + 1, 0) * (1 - fraction))); 121 thumbRect.setX(contentRect.x() + static_cast<int>(nextafter((contentRect.width() - thumbRect [all...] |
/external/webkit/Source/WebCore/platform/win/ |
H A D | ScrollbarThemeSafari.cpp | 239 void ScrollbarThemeSafari::paintThumb(GraphicsContext* graphicsContext, Scrollbar* scrollbar, const IntRect& thumbRect) argument 252 thumbRect, size, state);
|
H A D | ScrollbarThemeWin.cpp | 323 static IntRect gripperRect(int thickness, const IntRect& thumbRect) argument 327 return IntRect(thumbRect.x() + (thumbRect.width() - gripperThickness) / 2, 328 thumbRect.y() + (thumbRect.height() - gripperThickness) / 2,
|
/external/webkit/Source/WebCore/platform/wx/ |
H A D | ScrollbarThemeWx.cpp | 88 void ScrollbarThemeWx::splitTrack(Scrollbar* scrollbar, const IntRect& unconstrainedTrackRect, IntRect& beforeThumbRect, IntRect& thumbRect, IntRect& afterThumbRect) argument 90 ScrollbarThemeComposite::splitTrack(scrollbar, unconstrainedTrackRect, beforeThumbRect, thumbRect, afterThumbRect); 96 thumbRect.setX(thumbRect.x() + trackStart); 99 thumbRect.setY(thumbRect.y() + trackStart);
|
/external/webkit/Source/WebCore/platform/ |
H A D | ScrollbarThemeComposite.cpp | 83 IntRect thumbRect; local 91 splitTrack(scrollbar, track, startTrackRect, thumbRect, endTrackRect); 92 if (damageRect.intersects(thumbRect)) 157 paintThumb(graphicsContext, scrollbar, thumbRect); 179 IntRect thumbRect; local 181 splitTrack(scrollbar, track, beforeThumbRect, thumbRect, afterThumbRect); 182 if (thumbRect.contains(mousePosition)) 227 IntRect beforeThumbRect, thumbRect, afterThumbRect; local 228 splitTrack(scrollbar, trackRect(scrollbar), beforeThumbRect, thumbRect, afterThumbRect); 234 result = thumbRect; 241 splitTrack(Scrollbar* scrollbar, const IntRect& unconstrainedTrackRect, IntRect& beforeThumbRect, IntRect& thumbRect, IntRect& afterThumbRect) argument [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
H A D | ScrollbarThemeGtk.cpp | 174 IntRect ScrollbarThemeGtk::thumbRect(Scrollbar* scrollbar, const IntRect& unconstrainedTrackRect) function in class:WebCore::ScrollbarThemeGtk 226 currentThumbRect = thumbRect(scrollbar, track);
|
/external/webkit/Source/WebCore/platform/qt/ |
H A D | RenderThemeQt.cpp | 915 IntRect thumbRect = renderSlider->thumbRect(); local 921 option.maximum = r.height() - thumbRect.height(); 922 value = thumbRect.y(); 924 option.maximum = r.width() - thumbRect.width(); 925 value = thumbRect.x();
|
Completed in 137 milliseconds