OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:bar_image
(Results
1 - 1
of
1
) sorted by null
/external/chromium_org/ui/native_theme/
native_theme_base.cc
841
gfx::ImageSkia*
bar_image
= rb.GetImageSkiaNamed(IDR_PROGRESS_BAR);
local
847
DCHECK(
bar_image
->width() > 0);
850
float tile_scale_y = static_cast<float>(rect.height()) /
bar_image
->height();
869
int new_tile_width = static_cast<int>(
bar_image
->width() * tile_scale_y);
872
float tile_scale_x = static_cast<float>(new_tile_width) /
bar_image
->width();
874
DrawTiledImage(canvas, *
bar_image
, 0, 0, tile_scale_x, tile_scale_y,
885
float small_scale_x = static_cast<float>(small_width) /
bar_image
->width();
893
DrawTiledImage(canvas, *
bar_image
, 0, 0, big_scale_x, tile_scale_y,
895
DrawTiledImage(canvas, *
bar_image
, 0, 0, small_scale_x, tile_scale_y,
[
all
...]
Completed in 182 milliseconds