/external/webkit/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/WebCore/platform/gtk/ |
ScrollbarThemeGtk.cpp | 44 int ScrollbarThemeGtk::scrollbarThickness(ScrollbarControlSize controlSize)
|
ScrollbarGtk.cpp | 51 ScrollbarControlSize controlSize) 52 : Scrollbar(client, orientation, controlSize)
|
/external/webkit/WebCore/platform/chromium/ |
ThemeChromiumMac.mm | 215 IntSize controlSize = sizes[controlSizeForFont(font)]; 217 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor); 219 if (zoomedSize.width().isIntrinsicOrAuto() && controlSize.width() > 0) 220 result.setWidth(Length(controlSize.width(), Fixed)); 221 if (zoomedSize.height().isIntrinsicOrAuto() && controlSize.height() > 0) 222 result.setHeight(Length(controlSize.height(), Fixed)); 237 if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the size is the same. 305 static const int* checkboxMargins(NSControlSize controlSize) [all...] |
ScrollbarThemeChromiumMac.mm | 176 int ScrollbarThemeChromiumMac::scrollbarThickness(ScrollbarControlSize controlSize) 178 return cScrollbarThickness[controlSize]; 200 scrollbar->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->controlSize()]); 207 scrollbar->height()) >= 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->controlSize()] + 1; 210 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start) 214 paintRect.setWidth(cRealButtonLength[controlSize]); 216 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width())); 218 paintRect.setHeight(cRealButtonLength[controlSize]); [all...] |
ThemeChromiumMac.h | 46 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) const;
|
ScrollbarThemeChromiumWin.cpp | 65 int thickness = scrollbarThickness(scrollbar->controlSize()); 78 int ScrollbarThemeChromiumWin::scrollbarThickness(ScrollbarControlSize controlSize) 83 return kMacScrollbarSize[controlSize]; 100 const int thickness = scrollbarThickness(scrollbar->controlSize()); 269 int thickness = scrollbarThickness(scrollbar->controlSize());
|
ScrollbarThemeChromiumLinux.cpp | 49 int ScrollbarThemeChromiumLinux::scrollbarThickness(ScrollbarControlSize controlSize) 135 int thickness = scrollbarThickness(scrollbar->controlSize()); 234 return 2 * scrollbarThickness(scrollbar->controlSize());
|
/external/webkit/WebCore/platform/mac/ |
ThemeMac.mm | 69 IntSize controlSize = sizes[controlSizeForFont(font)]; 71 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor); 73 if (zoomedSize.width().isIntrinsicOrAuto() && controlSize.width() > 0) 74 result.setWidth(Length(controlSize.width(), Fixed)); 75 if (zoomedSize.height().isIntrinsicOrAuto() && controlSize.height() > 0) 76 result.setHeight(Length(controlSize.height(), Fixed)); 91 if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the size is the same. 155 static const int* checkboxMargins(NSControlSize controlSize) [all...] |
ScrollbarThemeMac.mm | 163 int ScrollbarThemeMac::scrollbarThickness(ScrollbarControlSize controlSize) 165 return cScrollbarThickness[controlSize]; 187 scrollbar->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->controlSize()]); 194 scrollbar->height()) >= 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->controlSize()] + 1; 197 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start) 201 paintRect.setWidth(cRealButtonLength[controlSize]); 203 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width())); 205 paintRect.setHeight(cRealButtonLength[controlSize]); [all...] |
ThemeMac.h | 42 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) const;
|
/external/webkit/WebCore/rendering/ |
RenderThemeSafari.cpp | 181 static float systemFontSizeForControlSize(NSControlSize controlSize) 185 return sizes[controlSize]; 262 NSControlSize controlSize = controlSizeForFont(o->style()); 268 r = inflateRect(r, checkboxSizes()[controlSize], checkboxMargins(controlSize)); 274 r = inflateRect(r, radioSizes()[controlSize], radioMargins(controlSize)); 283 r = inflateRect(r, buttonSizes()[controlSize], buttonMargins(controlSize)); 287 r = inflateRect(r, popupButtonSizes()[controlSize], popupButtonMargins(controlSize)) [all...] |
RenderScrollbarTheme.h | 41 virtual int scrollbarThickness(ScrollbarControlSize controlSize) { return ScrollbarTheme::nativeTheme()->scrollbarThickness(controlSize); }
|
RenderTheme.cpp | 139 LengthSize controlSize = m_theme->controlSize(part, style->font(), LengthSize(style->width(), style->height()), style->effectiveZoom()); 140 if (controlSize.width() != style->width()) 141 style->setWidth(controlSize.width()); 142 if (controlSize.height() != style->height()) 143 style->setHeight(controlSize.height()); [all...] |
RenderThemeChromiumMac.mm | 541 IntSize size = popupButtonSizes()[[popupButton() controlSize]]; 686 if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the size is the same. 718 void RenderThemeChromiumMac::setFontFromControlSize(CSSStyleSelector*, RenderStyle* style, NSControlSize controlSize) const 724 NSFont* font = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:controlSize]]; 787 return margins[[popupButton() controlSize]]; 814 IntSize size = popupButtonSizes()[[popupButton controlSize]]; [all...] |
RenderThemeMac.mm | 489 IntSize size = popupButtonSizes()[[popupButton() controlSize]]; 615 if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the size is the same. 647 void RenderThemeMac::setFontFromControlSize(CSSStyleSelector*, RenderStyle* style, NSControlSize controlSize) const 653 NSFont* font = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:controlSize]]; 716 return margins[[popupButton() controlSize]]; 743 IntSize size = popupButtonSizes()[[popupButton controlSize]]; [all...] |
/external/webkit/WebCore/platform/ |
Theme.h | 87 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize& zoomedSize, float /*zoomFactor*/) const { return zoomedSize; }
|
Scrollbar.h | 66 ScrollbarControlSize controlSize() const { return m_controlSize; }
|
Scrollbar.cpp | 58 Scrollbar::Scrollbar(ScrollbarClient* client, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, 62 , m_controlSize(controlSize) 87 int thickness = m_theme->scrollbarThickness(controlSize);
|
ScrollbarThemeComposite.cpp | 115 scrollbar->controlSize(), 280 return scrollbarThickness(scrollbar->controlSize());
|
/external/webkit/WebKit/win/ |
WebScrollBar.cpp | 98 /* [in] */ WebScrollBarControlSize controlSize) 103 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 | 65 /* [in] */ WebScrollBarControlSize controlSize);
|
/external/webkit/WebKit/win/Interfaces/ |
IWebScrollBarPrivate.idl | 43 HRESULT init([in] IWebScrollBarDelegatePrivate* delegate, [in] OLE_HANDLE containingWindow, [in] WebScrollBarOrientation orientation, [in] WebScrollBarControlSize controlSize);
|
/external/webkit/WebCore/platform/qt/ |
ScrollbarThemeQt.cpp | 110 if (scrollbar->controlSize() != RegularScrollbar) 191 int ScrollbarThemeQt::scrollbarThickness(ScrollbarControlSize controlSize) 196 if (controlSize != RegularScrollbar)
|
/external/webkit/WebCore/platform/haiku/ |
ScrollbarThemeHaiku.cpp | 57 int ScrollbarThemeHaiku::scrollbarThickness(ScrollbarControlSize controlSize)
|