/external/webkit/Source/WebCore/platform/win/ |
D | ScrollbarThemeSafari.cpp | 102 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/ |
D | ScrollbarThemeMac.mm | 160 …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 …]
|
D | 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)); 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 …]
|
D | WebCoreSystemInterface.h | 212 extern WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal); 213 …eplacementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizon… 217 extern int (*wkScrollbarThickness)(int controlSize);
|
D | ThemeMac.h | 42 …virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) cons…
|
D | WebCoreSystemInterface.mm | 134 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/ |
D | ScrollbarThemeChromiumMac.mm | 180 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 …]
|
D | 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)); 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 …]
|
D | ScrollbarThemeChromiumWin.cpp | 60 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()
|
D | ThemeChromiumMac.h | 46 …virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) cons…
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderThemeSafari.cpp | 182 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 …]
|
D | RenderScrollbarTheme.h | 41 …lbarThickness(ScrollbarControlSize controlSize) { return ScrollbarTheme::nativeTheme()->scrollbarT… in scrollbarThickness() argument
|
D | RenderTheme.cpp | 151 …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/ |
D | WebScrollBar.cpp | 97 /* [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()
|
D | WebScrollBar.h | 60 /* [in] */ WebScrollBarControlSize controlSize);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | WebThemeControlDRTWin.cpp | 77 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/ |
D | ScrollbarThemeQt.cpp | 110 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/ |
D | ScrollbarThemeEfl.cpp | 47 int ScrollbarThemeEfl::scrollbarThickness(ScrollbarControlSize controlSize) in scrollbarThickness() argument
|
D | ScrollbarEfl.cpp | 50 …ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize) in ScrollbarEfl() argument 51 : Scrollbar(scrollableArea, orientation, controlSize) in ScrollbarEfl()
|
/external/webkit/Source/WebCore/platform/ |
D | Scrollbar.cpp | 64 …ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, in Scrollbar() argument 68 , m_controlSize(controlSize) in Scrollbar() 93 int thickness = m_theme->scrollbarThickness(controlSize); in Scrollbar()
|
D | Theme.h | 87 …virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize& zoomedSize, float /*zoo… in controlSize() function
|
D | ScrollbarThemeComposite.cpp | 117 scrollbar->controlSize(), in paint() 292 return scrollbarThickness(scrollbar->controlSize()); in minimumThumbLength()
|
D | Scrollbar.h | 69 ScrollbarControlSize controlSize() const { return m_controlSize; } in controlSize() function
|
/external/webkit/Source/WebCore/platform/gtk/ |
D | ScrollbarThemeGtk.cpp | 81 int thickness = scrollbarThickness(scrollbar->controlSize()); in updateScrollbarsFrameThickness() 148 int thickness = scrollbarThickness(scrollbar->controlSize()); in trackRect()
|
/external/webkit/WebKitLibraries/ |
D | WebKitSystemInterface.h | 429 WKScrollbarPainterRef WKMakeScrollbarPainter(int controlSize, bool isHorizontal); 430 …ReplacementPainter(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizon… 434 int WKScrollbarThickness(int controlSize);
|