Home
last modified time | relevance | path

Searched refs:buttonRect (Results 1 – 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/platform/wx/wxcode/win/
Dscrollbar_render.cpp166 RECT buttonRect = r; in wxRenderer_DrawScrollbar() local
167 buttonRect.bottom = buttonRect.top + buttonSize; in wxRenderer_DrawScrollbar()
168 buttonRect.right = buttonRect.left + buttonSize; in wxRenderer_DrawScrollbar()
169 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &buttonRect, 0); in wxRenderer_DrawScrollbar()
173 buttonRect = r; in wxRenderer_DrawScrollbar()
174 buttonRect.top = buttonRect.bottom - buttonSize; in wxRenderer_DrawScrollbar()
175 buttonRect.left = buttonRect.right - buttonSize; in wxRenderer_DrawScrollbar()
176 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &buttonRect, 0); in wxRenderer_DrawScrollbar()
186 buttonRect = r; in wxRenderer_DrawScrollbar()
188 buttonRect.left = buttonRect.left + thumbStart + buttonSize; in wxRenderer_DrawScrollbar()
[all …]
/external/webkit/Source/WebCore/platform/gtk/
DRenderThemeGtk3.cpp260 IntRect buttonRect(rect); in renderButton() local
281 buttonRect.move(border.left, border.top); in renderButton()
282 buttonRect.setWidth(buttonRect.width() - (border.left + border.right)); in renderButton()
283 buttonRect.setHeight(buttonRect.height() - (border.top + border.bottom)); in renderButton()
288 … paintInfo.context->platformContext()->cr(), buttonRect.x(), buttonRect.y(), buttonRect.width(), b… in renderButton()
289 … paintInfo.context->platformContext()->cr(), buttonRect.x(), buttonRect.y(), buttonRect.width(), b… in renderButton()
305buttonRect = IntRect(buttonRect.x() + borderWidth.left + focusPad, buttonRect.y() + borderWidth.to… in renderButton()
306buttonRect.width() - (2 * focusPad + borderWidth.left + borderWidth.right), in renderButton()
307buttonRect.height() - (2 * focusPad + borderWidth.top + borderWidth.bottom)); in renderButton()
309 buttonRect.inflate(focusWidth + focusPad); in renderButton()
[all …]
DScrollbarThemeGtk2.cpp183 IntRect buttonRect(IntPoint(), rect.size()); in paintButton() local
184 widgetContext.gtkPaintBox(buttonRect, widget, stateType, shadowType, detail); in paintButton()
190 IntRect arrowRect(IntPoint(buttonRect.x() + (buttonRect.width() - arrowSize.width()) / 2, in paintButton()
191 buttonRect.y() + (buttonRect.height() - arrowSize.height()) / 2), in paintButton()
DRenderThemeGtk2.cpp177 IntRect buttonRect(IntPoint(), rect.size()); in paintToggle() local
182 widgetContext.gtkPaintOption(buttonRect, widget, toggleState, shadowType, detail); in paintToggle()
185 widgetContext.gtkPaintCheck(buttonRect, widget, toggleState, shadowType, detail); in paintToggle()
189 IntRect focusRect(buttonRect); in paintToggle()
235 IntRect buttonRect(IntPoint(), rect.size()); in paintButton() local
236 IntRect focusRect(buttonRect); in paintButton()
258 buttonRect.inflateX(-focusWidth - focusPadding); in paintButton()
259 buttonRect.inflateY(-focusPadding - focusPadding); in paintButton()
265 widgetContext.gtkPaintBox(buttonRect, widget, state, shadowType, "button"); in paintButton()
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
Dscrollbar_render.cpp145 wxRect buttonRect = rect; in wxRenderer_DrawScrollbar() local
153 buttonRect.x = x + thumbStart + buttonLength; in wxRenderer_DrawScrollbar()
154 buttonRect.y = y; in wxRenderer_DrawScrollbar()
155 buttonRect.width = thumbLength; in wxRenderer_DrawScrollbar()
157 buttonRect.x = x; in wxRenderer_DrawScrollbar()
158 buttonRect.y = y + thumbStart + buttonLength; in wxRenderer_DrawScrollbar()
159 buttonRect.height = thumbLength; in wxRenderer_DrawScrollbar()
162 …renderer.DrawPushButton(window, dc, buttonRect, wxStyleForPart(wxSCROLLPART_THUMB, focusPart, hove… in wxRenderer_DrawScrollbar()
/external/webkit/Source/WebCore/platform/win/
DScrollbarThemeSafari.cpp121 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, Scrol… in buttonRepaintRect() argument
123 IntRect paintRect(buttonRect); in buttonRepaintRect()
127 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width())); in buttonRepaintRect()
131 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height())); in buttonRepaintRect()
219 …GraphicsContext* graphicsContext, Scrollbar* scrollbar, const IntRect& buttonRect, ScrollbarPart p… in paintButton() argument
233 buttonRect, size, state); in paintButton()
236 buttonRect, size, state); in paintButton()
/external/webkit/Source/WebCore/rendering/
DRenderInputSpeech.cpp76 IntRect buttonRect(object->offsetFromAncestorContainer(inputRenderBox).width(), in paintInputFieldSpeechButton() local
83 buttonRect.move(offsetFromInputRenderer); in paintInputFieldSpeechButton()
85 buttonRect.move(rect.x(), rect.y()); in paintInputFieldSpeechButton()
97 paintInfo.context->drawImage(image, object->style()->colorSpace(), buttonRect); in paintInputFieldSpeechButton()
DRenderThemeWin.cpp791 IntRect buttonRect(r); in paintMenuListButton() local
792 buttonRect.inflate(-borderThickness); in paintMenuListButton()
794 buttonRect.setX(buttonRect.maxX() - dropDownButtonWidth); in paintMenuListButton()
795 buttonRect.setWidth(dropDownButtonWidth); in paintMenuListButton()
799 buttonRect.setY(buttonRect.y() - vistaMenuListButtonOutset); in paintMenuListButton()
800 buttonRect.setHeight(buttonRect.height() + 2 * vistaMenuListButtonOutset); in paintMenuListButton()
801 buttonRect.setWidth(buttonRect.width() + vistaMenuListButtonOutset); in paintMenuListButton()
804 drawControl(i.context, o, menuListTheme(), getThemeData(o), buttonRect); in paintMenuListButton()
DRenderScrollbarTheme.cpp74 return toRenderScrollbar(scrollbar)->buttonRect(partType); in backButtonRect()
79 return toRenderScrollbar(scrollbar)->buttonRect(partType); in forwardButtonRect()
DRenderScrollbar.cpp281 IntRect RenderScrollbar::buttonRect(ScrollbarPart partType) in buttonRect() function in WebCore::RenderScrollbar
300 IntRect previousButton = buttonRect(BackButtonStartPart); in buttonRect()
307 IntRect followingButton = buttonRect(ForwardButtonEndPart); in buttonRect()
DRenderScrollbar.h57 IntRect buttonRect(ScrollbarPart);
DRenderThemeWinCE.cpp253 IntRect buttonRect(r.maxX() - dropDownButtonWidth - 1, r.y(), dropDownButtonWidth, r.height()); in paintMenuListButton() local
254 buttonRect.inflateY(-1); in paintMenuListButton()
255 …i.context->drawFrameControl(buttonRect, DFC_SCROLL, DFCS_SCROLLCOMBOBOX | determineClassicState(o)… in paintMenuListButton()
/external/webkit/Source/WebCore/platform/haiku/
DScrollbarThemeHaiku.cpp83 IntRect buttonRect(buttonOrigin, buttonSize); in backButtonRect() local
85 return buttonRect; in backButtonRect()
/external/webkit/Source/WebCore/platform/chromium/
DScrollbarThemeChromiumMac.mm214 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, Scrol…
216 IntRect paintRect(buttonRect);
220 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width()));
224 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height()));
/external/webkit/Source/WebCore/platform/mac/
DScrollbarThemeMac.mm262 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, Scrol…
266 IntRect paintRect(buttonRect);
270 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width()));
274 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height()));
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_item_cell.mm314 NSRect buttonRect, dropdownRect;
315 NSDivideRect(bounds, &dropdownRect, &buttonRect,
319 initWithRect:buttonRect
/external/webkit/Source/WebCore/
DChangeLog-2009-06-1679892 (WebCore::RenderScrollbar::buttonRect):