Home
last modified time | relevance | path

Searched refs:controlSize (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/WebCore/platform/win/
DScrollbarThemeSafari.cpp102 int ScrollbarThemeSafari::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
104 return cScrollbarThickness[controlSize]; in scrollbarThickness()
111 …->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->contr… in hasButtons()
118 …ollbar->height()) >= 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->contr… in hasThumb()
121 …ntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start) in buttonRepaintRect() argument
125 paintRect.setWidth(cRealButtonLength[controlSize]); in buttonRepaintRect()
127 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width())); in buttonRepaintRect()
129 paintRect.setHeight(cRealButtonLength[controlSize]); in buttonRepaintRect()
131 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height())); in buttonRepaintRect()
145 int thickness = scrollbarThickness(scrollbar->controlSize()); in backButtonRect()
[all …]
DScrollbarThemeWin.cpp201 const int thickness = scrollbarThickness(scrollbar->controlSize()); in shouldSnapBackToDragOrigin()
/external/webkit/WebCore/platform/mac/
DScrollbarThemeMac.mm163 int ScrollbarThemeMac::scrollbarThickness(ScrollbarControlSize controlSize)
165 return cScrollbarThickness[controlSize];
187 …->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->contr…
194 …ollbar->height()) >= 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->contr…
197 …ntRect& 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]);
207 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height()));
223 int thickness = scrollbarThickness(scrollbar->controlSize());
[all …]
DThemeMac.mm69 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 s…
155 static const int* checkboxMargins(NSControlSize controlSize)
163 return margins[controlSize];
206 NSControlSize controlSize = [checkboxCell controlSize];
[all …]
DThemeMac.h42 …virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) cons…
/external/webkit/WebCore/rendering/
DRenderThemeSafari.cpp181 static float systemFontSizeForControlSize(NSControlSize controlSize) in systemFontSizeForControlSize() argument
185 return sizes[controlSize]; in systemFontSizeForControlSize()
262 NSControlSize controlSize = controlSizeForFont(o->style()); in adjustRepaintRect() local
268 r = inflateRect(r, checkboxSizes()[controlSize], checkboxMargins(controlSize)); in adjustRepaintRect()
274 r = inflateRect(r, radioSizes()[controlSize], radioMargins(controlSize)); in adjustRepaintRect()
283 r = inflateRect(r, buttonSizes()[controlSize], buttonMargins(controlSize)); in adjustRepaintRect()
287 r = inflateRect(r, popupButtonSizes()[controlSize], popupButtonMargins(controlSize)); in adjustRepaintRect()
384 …ontFromControlSize(CSSStyleSelector* selector, RenderStyle* style, NSControlSize controlSize) const in setFontFromControlSize()
390 float fontSize = systemFontSizeForControlSize(controlSize); in setFontFromControlSize()
416 NSControlSize controlSize = controlSizeForFont(o->style()); in paintCheckbox() local
[all …]
DRenderScrollbarTheme.h41 …lbarThickness(ScrollbarControlSize controlSize) { return ScrollbarTheme::nativeTheme()->scrollbarT… in scrollbarThickness() argument
DRenderTheme.cpp135 …LengthSize controlSize = m_theme->controlSize(part, style->font(), LengthSize(style->width(), styl… in adjustStyle() local
136 if (controlSize.width() != style->width()) in adjustStyle()
137 style->setWidth(controlSize.width()); in adjustStyle()
138 if (controlSize.height() != style->height()) in adjustStyle()
139 style->setHeight(controlSize.height()); in adjustStyle()
DRenderThemeChromiumMac.mm487 IntSize size = checkboxSizes()[[checkbox() controlSize]];
499 IntSize size = radioSizes()[[radio() controlSize]];
514 IntSize size = buttonSizes()[[button() controlSize]];
523 IntSize size = popupButtonSizes()[[popupButton() controlSize]];
644 …if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the s…
676 …ontFromControlSize(CSSStyleSelector* selector, RenderStyle* style, NSControlSize controlSize) const
682 NSFont* font = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:controlSize]];
719 IntSize size = checkboxSizes()[[checkbox controlSize]];
756 return margins[[checkbox() controlSize]];
800 IntSize size = radioSizes()[[radio controlSize]];
[all …]
DRenderMenuList.cpp388 …ollbar(ScrollbarClient* client, ScrollbarOrientation orientation, ScrollbarControlSize controlSize) in createScrollbar() argument
395 widget = Scrollbar::createNativeScrollbar(client, orientation, controlSize); in createScrollbar()
DRenderThemeMac.mm487 IntSize size = popupButtonSizes()[[popupButton() controlSize]];
613 …if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the s…
645 …Mac::setFontFromControlSize(CSSStyleSelector*, RenderStyle* style, NSControlSize controlSize) const
651 NSFont* font = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:controlSize]];
714 return margins[[popupButton() controlSize]];
741 IntSize size = popupButtonSizes()[[popupButton controlSize]];
959 NSControlSize controlSize = controlSizeForFont(style);
980 setFontFromControlSize(selector, style, controlSize);
1266 NSControlSize controlSize = controlSizeForFont(style);
1267 setFontFromControlSize(selector, style, controlSize);
DRenderTextControlSingleLine.cpp843 …ollbar(ScrollbarClient* client, ScrollbarOrientation orientation, ScrollbarControlSize controlSize) in createScrollbar() argument
850 widget = Scrollbar::createNativeScrollbar(client, orientation, controlSize); in createScrollbar()
/external/webkit/WebCore/platform/chromium/
DScrollbarThemeChromiumWin.cpp65 int thickness = scrollbarThickness(scrollbar->controlSize()); in trackRect()
78 int ScrollbarThemeChromiumWin::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
83 return kMacScrollbarSize[controlSize]; in scrollbarThickness()
100 const int thickness = scrollbarThickness(scrollbar->controlSize()); in shouldSnapBackToDragOrigin()
269 int thickness = scrollbarThickness(scrollbar->controlSize()); in buttonSize()
DScrollbarThemeChromiumLinux.cpp47 int ScrollbarThemeChromiumLinux::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
79 int thickness = scrollbarThickness(scrollbar->controlSize()); in trackRect()
163 return 2 * scrollbarThickness(scrollbar->controlSize()); in minimumThumbLength()
/external/webkit/WebKit/win/
DWebScrollBar.cpp98 /* [in] */ WebScrollBarControlSize controlSize) in init() argument
103 ScrollbarControlSize webCoreControlSize = (ScrollbarControlSize) controlSize; in init()
206 …icalScrollbar ? ScrollbarTheme::nativeTheme()->scrollbarThickness(m_scrollBar->controlSize()) : -1; in requestedWidth()
216 …ntalScrollbar ? ScrollbarTheme::nativeTheme()->scrollbarThickness(m_scrollBar->controlSize()) : -1; in requestedHeight()
DWebScrollBar.h65 /* [in] */ WebScrollBarControlSize controlSize);
/external/webkit/WebCore/platform/qt/
DScrollbarThemeQt.cpp110 if (scrollbar->controlSize() != RegularScrollbar) in styleOptionSlider()
191 int ScrollbarThemeQt::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
197 if (controlSize != RegularScrollbar) in scrollbarThickness()
/external/webkit/WebCore/platform/gtk/
DScrollbarGtk.cpp51 ScrollbarControlSize controlSize) in ScrollbarGtk() argument
52 : Scrollbar(client, orientation, controlSize) in ScrollbarGtk()
DScrollbarThemeGtk.cpp44 int ScrollbarThemeGtk::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
/external/webkit/WebCore/platform/
DScrollbar.cpp51 …ollbar(ScrollbarClient* client, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, in Scrollbar() argument
55 , m_controlSize(controlSize) in Scrollbar()
80 int thickness = m_theme->scrollbarThickness(controlSize); in Scrollbar()
DTheme.h87 …virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize& zoomedSize, float /*zoo… in controlSize() function
DScrollbarThemeComposite.cpp114 scrollbar->controlSize(), in paint()
279 return scrollbarThickness(scrollbar->controlSize()); in minimumThumbLength()
DScrollbar.h69 ScrollbarControlSize controlSize() const { return m_controlSize; } in controlSize() function
/external/webkit/WebKit/win/Interfaces/
DIWebScrollBarPrivate.idl43 …tainingWindow, [in] WebScrollBarOrientation orientation, [in] WebScrollBarControlSize controlSize);
/external/webkit/WebCore/
DChangeLog-2006-12-313827 what controlSize to use after a style's font has already been initially adjusted.
25383 (WebCore::Scrollbar::controlSize):
26755 …* platform/ScrollBar.cpp: (WebCore::ScrollBar::ScrollBar): Added controlSize argument. The list b…
26758 (WebCore::ScrollBar::controlSize):

12