Searched defs:icon_height (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/ash/shelf/
H A Dshelf_button.cc379 int icon_height = std::min(kIconSize, local
394 if (y_offset + icon_height + kBarSize > button_bounds.height())
395 icon_height = button_bounds.height() - (y_offset + kBarSize);
397 y_offset = std::max(0, button_bounds.height() - icon_height) / 2;
406 icon_height));
412 DCHECK_LE(icon_height, kIconSize);
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dbrowser_actions_container.cc804 static int icon_height = 0; local
807 icon_height = ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
810 return icon_height;
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab.cc146 int icon_height,
151 canvas->ClipRect(gfx::Rect(dst_x, dst_y, icon_width, icon_height));
153 image_offset, 0, icon_width, icon_height,
154 dst_x, dst_y, icon_width, icon_height,
164 int icon_height,
170 int dst_y = bounds.y() - (icon_height - bounds.height()) / 2;
172 icon_height, filter, paint);
140 DrawIconAtLocation(gfx::Canvas* canvas, const gfx::ImageSkia& image, int image_offset, int dst_x, int dst_y, int icon_width, int icon_height, bool filter, const SkPaint& paint) argument
160 DrawIconCenter(gfx::Canvas* canvas, const gfx::ImageSkia& image, int image_offset, int icon_width, int icon_height, const gfx::Rect& bounds, bool filter, const SkPaint& paint) argument

Completed in 133 milliseconds