Searched refs:bar_image (Results 1 – 1 of 1) sorted by relevance
/external/chromium_org/ui/native_theme/ |
D | native_theme_base.cc | 841 gfx::ImageSkia* bar_image = rb.GetImageSkiaNamed(IDR_PROGRESS_BAR); in PaintProgressBar() local 847 DCHECK(bar_image->width() > 0); in PaintProgressBar() 850 float tile_scale_y = static_cast<float>(rect.height()) / bar_image->height(); in PaintProgressBar() 869 int new_tile_width = static_cast<int>(bar_image->width() * tile_scale_y); in PaintProgressBar() 872 float tile_scale_x = static_cast<float>(new_tile_width) / bar_image->width(); in PaintProgressBar() 874 DrawTiledImage(canvas, *bar_image, 0, 0, tile_scale_x, tile_scale_y, in PaintProgressBar() 885 float small_scale_x = static_cast<float>(small_width) / bar_image->width(); in PaintProgressBar() 893 DrawTiledImage(canvas, *bar_image, 0, 0, big_scale_x, tile_scale_y, in PaintProgressBar() 895 DrawTiledImage(canvas, *bar_image, 0, 0, small_scale_x, tile_scale_y, in PaintProgressBar()
|