/external/webkit/Source/WebCore/rendering/ |
RenderSlider.cpp | 103 IntRect RenderSlider::thumbRect() 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.width()) + 1, 0) * fraction)) [all...] |
RenderSlider.h | 38 IntRect thumbRect();
|
/external/webkit/Source/WebCore/platform/ |
ScrollbarThemeComposite.cpp | 83 IntRect thumbRect; 91 splitTrack(scrollbar, track, startTrackRect, thumbRect, endTrackRect); 92 if (damageRect.intersects(thumbRect)) 157 paintThumb(graphicsContext, scrollbar, thumbRect); 179 IntRect thumbRect; 181 splitTrack(scrollbar, track, beforeThumbRect, thumbRect, afterThumbRect); 182 if (thumbRect.contains(mousePosition)) 227 IntRect beforeThumbRect, thumbRect, afterThumbRect; 228 splitTrack(scrollbar, trackRect(scrollbar), beforeThumbRect, thumbRect, afterThumbRect); 234 result = thumbRect; [all...] |
/external/webkit/Source/WebCore/platform/wx/ |
ScrollbarThemeWx.cpp | 88 void ScrollbarThemeWx::splitTrack(Scrollbar* scrollbar, const IntRect& unconstrainedTrackRect, IntRect& beforeThumbRect, IntRect& thumbRect, IntRect& afterThumbRect) 90 ScrollbarThemeComposite::splitTrack(scrollbar, unconstrainedTrackRect, beforeThumbRect, thumbRect, afterThumbRect); 96 thumbRect.setX(thumbRect.x() + trackStart); 99 thumbRect.setY(thumbRect.y() + trackStart);
|
/frameworks/base/core/java/android/widget/ |
ScrollBarDrawable.java | 163 final Rect thumbRect = mTempBounds; 167 thumbRect.set(bounds.left, bounds.top + offset, 170 thumbRect.set(bounds.left + offset, bounds.top, 177 if (changed) thumb.setBounds(thumbRect); 181 if (changed) thumb.setBounds(thumbRect);
|
/external/webkit/Source/WebCore/platform/gtk/ |
ScrollbarThemeGtk.h | 45 IntRect thumbRect(Scrollbar*, const IntRect& unconstrainedTrackRect);
|
ScrollbarThemeGtk.cpp | 174 IntRect ScrollbarThemeGtk::thumbRect(Scrollbar* scrollbar, const IntRect& unconstrainedTrackRect) 226 currentThumbRect = thumbRect(scrollbar, track);
|
RenderThemeGtk2.cpp | 521 IntRect thumbRect(IntPoint(), rect.size()); 523 widgetContext.gtkPaintSlider(thumbRect, widget, getGtkStateType(this, object), GTK_SHADOW_OUT, detail, orientation); [all...] |
/external/webkit/Source/WebCore/platform/win/ |
ScrollbarThemeWin.cpp | 323 static IntRect gripperRect(int thickness, const IntRect& thumbRect) 327 return IntRect(thumbRect.x() + (thumbRect.width() - gripperThickness) / 2, 328 thumbRect.y() + (thumbRect.height() - gripperThickness) / 2,
|
ScrollbarThemeSafari.cpp | 239 void ScrollbarThemeSafari::paintThumb(GraphicsContext* graphicsContext, Scrollbar* scrollbar, const IntRect& thumbRect) 252 thumbRect, size, state);
|
/external/webkit/Source/WebCore/accessibility/ |
AccessibilitySlider.cpp | 181 IntRect intRect = toRenderSlider(m_parentSlider->renderer())->thumbRect();
|
/external/webkit/Source/WebKit/android/ |
RenderSkinMediaButton.cpp | 185 IntRect thumb = slider->thumbRect();
|
/external/webkit/Source/WebCore/platform/qt/ |
RenderThemeQt.cpp | 915 IntRect thumbRect = renderSlider->thumbRect(); 921 option.maximum = r.height() - thumbRect.height(); 922 value = thumbRect.y(); 924 option.maximum = r.width() - thumbRect.width(); 925 value = thumbRect.x(); [all...] |
/external/webkit/Source/WebCore/platform/efl/ |
RenderThemeEfl.cpp | 298 max = rect.height() - renderSlider->thumbRect().height(); 299 value = renderSlider->thumbRect().y(); 301 max = rect.width() - renderSlider->thumbRect().width(); 302 value = renderSlider->thumbRect().x(); [all...] |