/external/webkit/Source/WebCore/platform/win/ |
ScrollbarThemeSafari.cpp | 102 int ScrollbarThemeSafari::scrollbarThickness(ScrollbarControlSize controlSize) 104 return cScrollbarThickness[controlSize]; 111 scrollbar->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->controlSize()]); 118 scrollbar->height()) >= 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->controlSize()] + 1; 121 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start) 125 paintRect.setWidth(cRealButtonLength[controlSize]); 127 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width())); 129 paintRect.setHeight(cRealButtonLength[controlSize]); [all...] |
/external/webkit/Source/WebCore/platform/efl/ |
ScrollbarThemeEfl.cpp | 47 int ScrollbarThemeEfl::scrollbarThickness(ScrollbarControlSize controlSize)
|
ScrollbarEfl.cpp | 50 ScrollbarEfl::ScrollbarEfl(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize) 51 : Scrollbar(scrollableArea, orientation, controlSize)
|
/external/webkit/Source/WebCore/platform/chromium/ |
ScrollbarThemeChromiumMac.mm | 180 int ScrollbarThemeChromiumMac::scrollbarThickness(ScrollbarControlSize controlSize) 182 return cScrollbarThickness[controlSize]; 204 scrollbar->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->controlSize()]); 211 scrollbar->height()) >= 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->controlSize()] + 1; 214 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start) 218 paintRect.setWidth(cRealButtonLength[controlSize]); 220 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width())); 222 paintRect.setHeight(cRealButtonLength[controlSize]); [all...] |
ThemeChromiumMac.mm | 216 IntSize controlSize = sizes[nsControlSize]; 218 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor); 220 if (zoomedSize.width().isIntrinsicOrAuto() && controlSize.width() > 0) 221 result.setWidth(Length(controlSize.width(), Fixed)); 222 if (zoomedSize.height().isIntrinsicOrAuto() && controlSize.height() > 0) 223 result.setHeight(Length(controlSize.height(), Fixed)); 232 static ControlSize controlSizeFromPixelSize(const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor) 245 ControlSize size = controlSizeFromPixelSize(sizes, minZoomedSize, zoomFactor) [all...] |
ThemeChromiumMac.h | 46 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) const;
|
ScrollbarThemeChromiumWin.cpp | 60 int ScrollbarThemeChromiumWin::scrollbarThickness(ScrollbarControlSize controlSize) 65 return kMacScrollbarSize[controlSize]; 82 const int thickness = scrollbarThickness(scrollbar->controlSize()); 251 int thickness = scrollbarThickness(scrollbar->controlSize());
|
ScrollbarThemeChromium.cpp | 83 int thickness = scrollbarThickness(scrollbar->controlSize());
|
ScrollbarThemeChromiumLinux.cpp | 46 int ScrollbarThemeChromiumLinux::scrollbarThickness(ScrollbarControlSize controlSize)
|
/external/webkit/Source/WebCore/platform/mac/ |
ThemeMac.mm | 103 IntSize controlSize = sizes[nsControlSize]; 105 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor); 107 if (zoomedSize.width().isIntrinsicOrAuto() && controlSize.width() > 0) 108 result.setWidth(Length(controlSize.width(), Fixed)); 109 if (zoomedSize.height().isIntrinsicOrAuto() && controlSize.height() > 0) 110 result.setHeight(Length(controlSize.height(), Fixed)); 119 static ControlSize controlSizeFromPixelSize(const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor) 132 ControlSize size = controlSizeFromPixelSize(sizes, minZoomedSize, zoomFactor) [all...] |
ScrollbarThemeMac.mm | 160 WKScrollbarPainterRef scrollbarPainter = wkMakeScrollbarPainter(scrollbar->controlSize(), isHorizontal); 208 int ScrollbarThemeMac::scrollbarThickness(ScrollbarControlSize controlSize) 211 return wkScrollbarThickness(controlSize); 213 return cScrollbarThickness[controlSize]; 246 : scrollbar->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->controlSize()]); 255 minLengthForThumb = 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->controlSize()] + 1; 262 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start) 268 paintRect.setWidth(cRealButtonLength[controlSize]); [all...] |
ThemeMac.h | 42 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) const;
|
WebCoreSystemInterface.mm | 134 WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal); 135 WKScrollbarPainterRef (*wkMakeScrollbarReplacementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal); 139 int (*wkScrollbarThickness)(int controlSize);
|
WebCoreSystemInterface.h | 212 extern WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal); 213 extern WKScrollbarPainterRef (*wkMakeScrollbarReplacementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal); 217 extern int (*wkScrollbarThickness)(int controlSize);
|
/external/webkit/Source/WebCore/rendering/ |
RenderThemeSafari.cpp | 182 static float systemFontSizeForControlSize(NSControlSize controlSize) 186 return sizes[controlSize]; 263 NSControlSize controlSize = controlSizeForFont(o->style()); 269 r = inflateRect(r, checkboxSizes()[controlSize], checkboxMargins(controlSize)); 275 r = inflateRect(r, radioSizes()[controlSize], radioMargins(controlSize)); 284 r = inflateRect(r, buttonSizes()[controlSize], buttonMargins(controlSize)); 288 r = inflateRect(r, popupButtonSizes()[controlSize], popupButtonMargins(controlSize)) [all...] |
RenderScrollbarTheme.h | 41 virtual int scrollbarThickness(ScrollbarControlSize controlSize) { return ScrollbarTheme::nativeTheme()->scrollbarThickness(controlSize); }
|
/external/webkit/Source/WebCore/platform/ |
Theme.h | 87 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize& zoomedSize, float /*zoomFactor*/) const { return zoomedSize; }
|
Scrollbar.h | 69 ScrollbarControlSize controlSize() const { return m_controlSize; }
|
Scrollbar.cpp | 64 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, 68 , m_controlSize(controlSize) 93 int thickness = m_theme->scrollbarThickness(controlSize);
|
/external/webkit/Source/WebKit/win/ |
WebScrollBar.cpp | 97 /* [in] */ WebScrollBarControlSize controlSize) 102 ScrollbarControlSize webCoreControlSize = (ScrollbarControlSize) controlSize; 206 *w = m_scrollBar->orientation() == VerticalScrollbar ? ScrollbarTheme::nativeTheme()->scrollbarThickness(m_scrollBar->controlSize()) : -1; 216 *h = m_scrollBar->orientation() == HorizontalScrollbar ? ScrollbarTheme::nativeTheme()->scrollbarThickness(m_scrollBar->controlSize()) : -1;
|
WebScrollBar.h | 60 /* [in] */ WebScrollBarControlSize controlSize);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
WebThemeControlDRTWin.cpp | 77 int controlSize = min(rect.width(), rect.height()); 78 controlSize = min(controlSize, maxControlSize); 80 retval.fLeft = rect.fLeft + (rect.width() / 2) - (controlSize / 2); 81 retval.fRight = retval.fLeft + controlSize - 1; 82 retval.fTop = rect.fTop + (rect.height() / 2) - (controlSize / 2); 83 retval.fBottom = retval.fTop + controlSize - 1;
|
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebScrollBarPrivate.idl | 43 HRESULT init([in] IWebScrollBarDelegatePrivate* delegate, [in] OLE_HANDLE containingWindow, [in] WebScrollBarOrientation orientation, [in] WebScrollBarControlSize controlSize);
|
/external/webkit/Source/WebCore/platform/qt/ |
ScrollbarThemeQt.cpp | 110 if (scrollbar->controlSize() != RegularScrollbar) 195 int ScrollbarThemeQt::scrollbarThickness(ScrollbarControlSize controlSize) 203 if (controlSize != RegularScrollbar)
|
/external/webkit/Source/WebCore/platform/haiku/ |
ScrollbarThemeHaiku.cpp | 57 int ScrollbarThemeHaiku::scrollbarThickness(ScrollbarControlSize controlSize)
|