Home
last modified time | relevance | path

Searched refs:arrowRect (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/platform/gtk/
DRenderThemeGtk2.cpp384 IntRect arrowRect(0, (rect.height() - arrowSize) / 2, arrowSize, arrowSize); in paintMenuList() local
386 arrowRect.setX(leftBorder + buttonStyle->xthickness); in paintMenuList()
388 arrowRect.setX(rect.width() - rightBorder - buttonStyle->xthickness - arrowSize); in paintMenuList()
393 …widgetContext.gtkPaintArrow(arrowRect, gtkComboBoxArrow(), stateType, shadowType, GTK_ARROW_DOWN, … in paintMenuList()
410 … separatorRect.setX(arrowRect.x() + arrowRect.width() + buttonStyle->xthickness + separatorWidth); in paintMenuList()
412 separatorRect.setX(arrowRect.x() - buttonStyle->xthickness - separatorWidth); in paintMenuList()
629 IntRect arrowRect; in paintInnerSpinButton() local
632 arrowRect.setWidth(arrowSize); in paintInnerSpinButton()
633 arrowRect.setHeight(arrowSize); in paintInnerSpinButton()
634 arrowRect.move((expandedRect.width() - arrowRect.width()) / 2, in paintInnerSpinButton()
[all …]
DRenderThemeGtk3.cpp786 IntRect arrowRect; in paintSpinArrowButton() local
790 arrowRect.setY(rect.y()); in paintSpinArrowButton()
791 arrowRect.setHeight(rect.height() / 2 - 2); in paintSpinArrowButton()
794 arrowRect.setY(rect.y() + buttonRect.y()); in paintSpinArrowButton()
795 arrowRect.setHeight(rect.height() - arrowRect.y() - 2); in paintSpinArrowButton()
797 arrowRect.setWidth(rect.width() - 3); in paintSpinArrowButton()
799 arrowRect.setX(rect.x() + 1); in paintSpinArrowButton()
801 arrowRect.setX(rect.x() + 2); in paintSpinArrowButton()
803 gint width = arrowRect.width() / 2; in paintSpinArrowButton()
807 arrowRect.move((arrowRect.width() - width) / 2, (arrowRect.height() - height) / 2); in paintSpinArrowButton()
[all …]
DScrollbarThemeGtk2.cpp190 IntRect arrowRect(IntPoint(buttonRect.x() + (buttonRect.width() - arrowSize.width()) / 2, in paintButton() local
199 arrowRect.move(arrowDisplacementX, arrowDisplacementY); in paintButton()
211 widgetContext.gtkPaintArrow(arrowRect, widget, stateType, shadowType, arrowType, detail); in paintButton()
/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button.mm268 NSRect arrowRect;
269 arrowRect.size.width = kTabArrowWidth;
270 arrowRect.size.height = kTabArrowHeight;
271 arrowRect.origin.x = NSMinX(tabRect) + roundf((NSWidth(tabRect) -
272 NSWidth(arrowRect)) / 2.0);
273 arrowRect.origin.y = NSMinY(tabRect) + roundf((tabRect.size.height -
274 arrowRect.size.height) / 2.0);
275 NSBezierPath* arrowPath = [self downArrowPathWithRect:arrowRect];