Home
last modified time | relevance | path

Searched refs:ntp_background (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/ui/
Dntp_background_util.cc21 gfx::Canvas* canvas, gfx::ImageSkia* ntp_background, int tiling, in PaintThemeBackground() argument
25 int width = area.width() + ntp_background->width(); in PaintThemeBackground()
26 int height = area.height() + ntp_background->height(); in PaintThemeBackground()
29 y_pos += area.height() + tab_contents_height - ntp_background->height(); in PaintThemeBackground()
34 ntp_background->height() / 2.0 + 0.5); in PaintThemeBackground()
38 x_pos += area.width() - ntp_background->width(); in PaintThemeBackground()
43 std::floor(area.width() / 2.0 - ntp_background->width() / 2.0 + 0.5); in PaintThemeBackground()
48 width = ntp_background->width(); in PaintThemeBackground()
50 x_pos = x_pos % ntp_background->width() - ntp_background->width(); in PaintThemeBackground()
55 height = ntp_background->height(); in PaintThemeBackground()
[all …]
/external/chromium/chrome/browser/
Dntp_background_util.cc18 gfx::Canvas* canvas, SkBitmap* ntp_background, int tiling, int alignment, in PaintThemeBackground() argument
22 int width = area.width() + ntp_background->width(); in PaintThemeBackground()
23 int height = area.height() + ntp_background->height(); in PaintThemeBackground()
26 y_pos += area.height() + tab_contents_height - ntp_background->height(); in PaintThemeBackground()
29 x_pos += area.width() - ntp_background->width(); in PaintThemeBackground()
33 x_pos += area.width() / 2 - ntp_background->width() / 2; in PaintThemeBackground()
38 width = ntp_background->width(); in PaintThemeBackground()
40 x_pos = x_pos % ntp_background->width() - ntp_background->width(); in PaintThemeBackground()
45 height = ntp_background->height(); in PaintThemeBackground()
47 y_pos = y_pos % ntp_background->height() - ntp_background->height(); in PaintThemeBackground()
[all …]
/external/chromium/chrome/browser/ui/gtk/
Dgtk_theme_service.cc740 GdkColor ntp_background = entry_style->base[GTK_STATE_NORMAL]; in LoadGtkValues() local
743 &ntp_background); in LoadGtkValues()
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dgtk2_ui.cc722 GdkColor ntp_background = entry_style->base[GTK_STATE_NORMAL]; in LoadGtkValues() local
725 &ntp_background); in LoadGtkValues()
/external/chromium_org/chrome/browser/ui/gtk/
Dgtk_theme_service.cc776 GdkColor ntp_background = entry_style->base[GTK_STATE_NORMAL]; in LoadGtkValues() local
779 &ntp_background); in LoadGtkValues()