Searched refs:thumbLength (Results 1 - 16 of 16) sorted by relevance

/external/webkit/Source/WebCore/platform/wx/wxcode/
H A Dscrollbar_render.h54 int step, int *thumbStart, int *thumbLength)
65 if (thumbLength)
66 *thumbLength = thumbSize;
53 calcThumbStartAndLength(int physicalLength, int max, int current, int step, int *thumbStart, int *thumbLength) argument
/external/webkit/Source/WebCore/platform/qt/
H A DScrollbarThemeQt.h53 virtual int thumbLength(Scrollbar*);
H A DScrollbarQt.cpp80 int position = theme()->trackPosition(this) + theme()->thumbPosition(this) + theme()->thumbLength(this) / 2;
H A DScrollbarThemeQt.cpp211 return (int)((float)scrollbar->currentPos() * (trackLength(scrollbar) - thumbLength(scrollbar)) / scrollbar->maximum());
215 int ScrollbarThemeQt::thumbLength(Scrollbar* scrollbar) function in class:WebCore::ScrollbarThemeQt
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
H A Dscrollbar_render.cpp149 int thumbLength = 0; local
150 calcThumbStartAndLength(physicalLength, max, current, step, &thumbStart, &thumbLength);
155 buttonRect.width = thumbLength;
159 buttonRect.height = thumbLength;
/external/webkit/Source/WebCore/platform/
H A DScrollbarThemeComposite.h42 virtual int thumbLength(Scrollbar*);
H A DScrollbarTheme.h85 virtual int thumbLength(Scrollbar*) { return 0; } // The length of the thumb along the axis of the scrollbar. function in class:WebCore::ScrollbarTheme
H A DScrollbarThemeComposite.cpp249 thumbRect = IntRect(trackRect.x() + thumbPos, trackRect.y() + (trackRect.height() - thickness) / 2, thumbLength(scrollbar), thickness);
253 thumbRect = IntRect(trackRect.x() + (trackRect.width() - thickness) / 2, trackRect.y() + thumbPos, thickness, thumbLength(scrollbar));
272 return max(0.0f, scrollbar->currentPos()) * (trackLength(scrollbar) - thumbLength(scrollbar)) / (usedTotalSize(scrollbar) - scrollbar->visibleSize());
276 int ScrollbarThemeComposite::thumbLength(Scrollbar* scrollbar) function in class:WebCore::ScrollbarThemeComposite
H A DScrollbar.cpp181 int thumbLength = scrollbar->theme()->thumbLength(scrollbar); local
182 return scrollbar->pressedPos() >= thumbPos && scrollbar->pressedPos() < thumbPos + thumbLength;
260 int thumbLen = theme()->thumbLength(this);
371 int thumbLen = theme()->thumbLength(this);
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
H A Dscrollbar_render.cpp183 int thumbLength = 0; local
185 current, step, &thumbStart, &thumbLength);
189 buttonRect.right = buttonRect.left + thumbLength;
192 buttonRect.bottom = buttonRect.top + thumbLength;
/external/webkit/Source/WebCore/platform/gtk/
H A DScrollbarThemeGtk.cpp93 return thumbLength(scrollbar) > 0;
179 return IntRect(trackRect.x() + thumbPos, trackRect.y() + (trackRect.height() - m_thumbFatness) / 2, thumbLength(scrollbar), m_thumbFatness);
182 return IntRect(trackRect.x() + (trackRect.width() - m_thumbFatness) / 2, trackRect.y() + thumbPos, m_thumbFatness, thumbLength(scrollbar));
/external/webkit/Source/WebCore/platform/chromium/
H A DScrollbarThemeChromium.cpp47 return thumbLength(scrollbar) > 0;
/external/webkit/Source/WebCore/platform/haiku/
H A DScrollbarThemeHaiku.cpp70 return scrollbar->enabled() && thumbLength(scrollbar) > 0;
/external/webkit/Source/WebCore/rendering/
H A DRenderScrollbarTheme.cpp64 return trackLength(scrollbar) - thumbLength(scrollbar) >= 0;
/external/webkit/Source/WebCore/platform/wx/
H A DScrollbarThemeWx.cpp71 return thumbLength(scrollbar) > 0;
/external/webkit/Source/WebCore/platform/win/
H A DScrollbarThemeWin.cpp135 return thumbLength(scrollbar) > 0;

Completed in 182 milliseconds