Home
last modified time | relevance | path

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

12

/external/webkit/Source/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 …]
/external/webkit/Source/WebCore/platform/mac/
DScrollbarThemeMac.mm160 …WKScrollbarPainterRef scrollbarPainter = wkMakeScrollbarPainter(scrollbar->controlSize(), isHorizo…
208 int ScrollbarThemeMac::scrollbarThickness(ScrollbarControlSize controlSize)
211 return wkScrollbarThickness(controlSize);
213 return cScrollbarThickness[controlSize];
246 …->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->contr…
255 …minLengthForThumb = 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->contro…
262 …ntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start)
268 paintRect.setWidth(cRealButtonLength[controlSize]);
270 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width()));
272 paintRect.setHeight(cRealButtonLength[controlSize]);
[all …]
DThemeMac.mm103 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));
133 …if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the s…
213 static const int* checkboxMargins(NSControlSize controlSize)
221 return margins[controlSize];
265 NSControlSize controlSize = [checkboxCell controlSize];
[all …]
DWebCoreSystemInterface.h212 extern WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal);
213 …eplacementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizon…
217 extern int (*wkScrollbarThickness)(int controlSize);
DThemeMac.h42 …virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) cons…
DWebCoreSystemInterface.mm134 WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal);
135 …eplacementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizon…
139 int (*wkScrollbarThickness)(int controlSize);
/external/webkit/Source/WebCore/platform/chromium/
DScrollbarThemeChromiumMac.mm180 int ScrollbarThemeChromiumMac::scrollbarThickness(ScrollbarControlSize controlSize)
182 return cScrollbarThickness[controlSize];
204 …->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->contr…
211 …ollbar->height()) >= 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->contr…
214 …ntRect& 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]);
224 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height()));
240 int thickness = scrollbarThickness(scrollbar->controlSize());
[all …]
DThemeChromiumMac.mm216 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));
246 …if (size != [cell controlSize]) // Only update if we have to, since AppKit does work even if the s…
331 static const int* checkboxMargins(NSControlSize controlSize)
339 return margins[controlSize];
383 NSControlSize controlSize = [checkboxCell controlSize];
[all …]
DScrollbarThemeChromiumWin.cpp60 int ScrollbarThemeChromiumWin::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
65 return kMacScrollbarSize[controlSize]; in scrollbarThickness()
82 const int thickness = scrollbarThickness(scrollbar->controlSize()); in shouldSnapBackToDragOrigin()
251 int thickness = scrollbarThickness(scrollbar->controlSize()); in buttonSize()
DThemeChromiumMac.h46 …virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) cons…
/external/webkit/Source/WebCore/rendering/
DRenderThemeSafari.cpp182 static float systemFontSizeForControlSize(NSControlSize controlSize) in systemFontSizeForControlSize() argument
186 return sizes[controlSize]; in systemFontSizeForControlSize()
263 NSControlSize controlSize = controlSizeForFont(o->style()); in adjustRepaintRect() local
269 r = inflateRect(r, checkboxSizes()[controlSize], checkboxMargins(controlSize)); in adjustRepaintRect()
275 r = inflateRect(r, radioSizes()[controlSize], radioMargins(controlSize)); in adjustRepaintRect()
284 r = inflateRect(r, buttonSizes()[controlSize], buttonMargins(controlSize)); in adjustRepaintRect()
288 r = inflateRect(r, popupButtonSizes()[controlSize], popupButtonMargins(controlSize)); in adjustRepaintRect()
385 …ontFromControlSize(CSSStyleSelector* selector, RenderStyle* style, NSControlSize controlSize) const in setFontFromControlSize()
391 float fontSize = systemFontSizeForControlSize(controlSize); in setFontFromControlSize()
417 NSControlSize controlSize = controlSizeForFont(o->style()); in paintCheckbox() local
[all …]
DRenderScrollbarTheme.h41 …lbarThickness(ScrollbarControlSize controlSize) { return ScrollbarTheme::nativeTheme()->scrollbarT… in scrollbarThickness() argument
DRenderTheme.cpp151 …LengthSize controlSize = m_theme->controlSize(part, style->font(), LengthSize(style->width(), styl… in adjustStyle() local
152 if (controlSize.width() != style->width()) in adjustStyle()
153 style->setWidth(controlSize.width()); in adjustStyle()
154 if (controlSize.height() != style->height()) in adjustStyle()
155 style->setHeight(controlSize.height()); in adjustStyle()
/external/webkit/Source/WebKit/win/
DWebScrollBar.cpp97 /* [in] */ WebScrollBarControlSize controlSize) in init() argument
102 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.h60 /* [in] */ WebScrollBarControlSize controlSize);
/external/webkit/Tools/DumpRenderTree/chromium/
DWebThemeControlDRTWin.cpp77 int controlSize = min(rect.width(), rect.height()); in validate() local
78 controlSize = min(controlSize, maxControlSize); in validate()
80 retval.fLeft = rect.fLeft + (rect.width() / 2) - (controlSize / 2); in validate()
81 retval.fRight = retval.fLeft + controlSize - 1; in validate()
82 retval.fTop = rect.fTop + (rect.height() / 2) - (controlSize / 2); in validate()
83 retval.fBottom = retval.fTop + controlSize - 1; in validate()
/external/webkit/Source/WebCore/platform/qt/
DScrollbarThemeQt.cpp110 if (scrollbar->controlSize() != RegularScrollbar) in styleOptionSlider()
195 int ScrollbarThemeQt::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
203 if (controlSize != RegularScrollbar) in scrollbarThickness()
/external/webkit/Source/WebCore/platform/efl/
DScrollbarThemeEfl.cpp47 int ScrollbarThemeEfl::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
DScrollbarEfl.cpp50 …ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize) in ScrollbarEfl() argument
51 : Scrollbar(scrollableArea, orientation, controlSize) in ScrollbarEfl()
/external/webkit/Source/WebCore/platform/
DScrollbar.cpp64 …ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, in Scrollbar() argument
68 , m_controlSize(controlSize) in Scrollbar()
93 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.cpp117 scrollbar->controlSize(), in paint()
292 return scrollbarThickness(scrollbar->controlSize()); in minimumThumbLength()
DScrollbar.h69 ScrollbarControlSize controlSize() const { return m_controlSize; } in controlSize() function
/external/webkit/Source/WebCore/platform/gtk/
DScrollbarThemeGtk.cpp81 int thickness = scrollbarThickness(scrollbar->controlSize()); in updateScrollbarsFrameThickness()
148 int thickness = scrollbarThickness(scrollbar->controlSize()); in trackRect()
/external/webkit/WebKitLibraries/
DWebKitSystemInterface.h429 WKScrollbarPainterRef WKMakeScrollbarPainter(int controlSize, bool isHorizontal);
430 …ReplacementPainter(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizon…
434 int WKScrollbarThickness(int controlSize);

12