Home | History | Annotate | Download | only in ui

Lines Matching refs:area

22     int alignment, const gfx::Rect& area, int tab_contents_height) {
25 int width = area.width() + ntp_background->width();
26 int height = area.height() + ntp_background->height();
29 y_pos += area.height() + tab_contents_height - ntp_background->height();
33 y_pos += std::floor(area.height() + tab_contents_height / 2.0 -
38 x_pos += area.width() - ntp_background->width();
43 std::floor(area.width() / 2.0 - ntp_background->width() / 2.0 + 0.5);
60 x_pos += area.x();
61 y_pos += area.y();
71 const gfx::Rect& area,
74 canvas->FillRect(area, tp->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND));
84 canvas, ntp_background, tiling, alignment, area, tab_contents_height);