Home | History | Annotate | Download | only in native_theme

Lines Matching refs:rect

13 #include "ui/gfx/rect.h"
56 SkRect rect = SkRect::MakeWH(SkIntToScalar(size.width()),
61 path.addRoundRect(rect, radii);
72 const gfx::Rect& rect,
74 CommonThemePaintMenuItemBackground(canvas, state, rect);
82 const gfx::Rect& rect) const {
86 int center_height = rect.height();
88 if (rect.y() == extra_params.track_y) {
97 rect.x(), rect.y(), top->width(), top->height());
102 if (rect.y() + rect.height() ==
108 rect.x(), rect.y() + rect.height() - bottom->height(),
118 rect.x(), rect.y() + center_offset,
123 int center_width = rect.width();
125 if (rect.x() == extra_params.track_x) {
130 rect.x(), rect.y(), left->width(), left->height());
135 if (rect.x() + rect.width() ==
141 rect.x() + rect.width() - right->width(), rect.y(),
151 rect.x() + center_offset, rect.y(),
160 const gfx::Rect& rect) const {
170 rect.x(), rect.y(), top->width(), top->height());
179 rect.x(), rect.y() + rect.height() - bottom->height(),
182 if (rect.height() > top->height() + bottom->height()) {
190 rect.x(), rect.y() + top->height(),
192 rect.height() - top->height() - bottom->height());
202 rect.x(), rect.y(), left->width(), left->height());
211 rect.x() + rect.width() - right->width(), rect.y(),
214 if (rect.width() > left->width() + right->width()) {
222 rect.x() + left->width(), rect.y(),
223 rect.width() - left->width() - right->width(),