/external/chromium/chrome/browser/ui/views/ |
D | sad_tab_view.cc | 107 int icon_height = sad_tab_bitmap_->height(); in Layout() local 109 int icon_y = ((height() - icon_height) / 2) + kSadTabOffset; in Layout() 110 icon_bounds_.SetRect(icon_x, icon_y, icon_width, icon_height); in Layout()
|
D | browser_actions_container.cc | 881 static int icon_height = 0; in IconHeight() local 884 icon_height = ResourceBundle::GetSharedInstance().GetBitmapNamed( in IconHeight() 887 return icon_height; in IconHeight()
|
/external/chromium_org/ash/shelf/ |
D | shelf_button.cc | 413 int icon_height = std::min(kIconSize, in Layout() local 435 if (y_offset + icon_height + kBarSize > button_bounds.height()) in Layout() 436 icon_height = button_bounds.height() - (y_offset + kBarSize); in Layout() 438 y_offset = std::max(0, button_bounds.height() - icon_height) / 2; in Layout() 447 icon_height)); in Layout() 453 DCHECK_LE(icon_height, kIconSize); in Layout()
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | base_tab.cc | 82 int icon_height, in DrawIconCenter() argument 87 int dst_y = bounds.y() - (icon_height - bounds.height()) / 2; in DrawIconCenter() 90 canvas->ClipRectInt(dst_x, dst_y, icon_width, icon_height); in DrawIconCenter() 92 image_offset, 0, icon_width, icon_height, in DrawIconCenter() 93 dst_x, dst_y, icon_width, icon_height, in DrawIconCenter()
|
/external/chromium/chrome/browser/chromeos/status/ |
D | status_area_button.h | 46 virtual int icon_height() { return 24; } in icon_height() function
|
D | status_area_button.cc | 89 icon_height() + insets.height()); in GetPreferredSize()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab.cc | 257 int icon_height, in DrawIconAtLocation() argument 262 canvas->ClipRect(gfx::Rect(dst_x, dst_y, icon_width, icon_height)); in DrawIconAtLocation() 264 image_offset, 0, icon_width, icon_height, in DrawIconAtLocation() 265 dst_x, dst_y, icon_width, icon_height, in DrawIconAtLocation() 275 int icon_height, in DrawIconCenter() argument 281 int dst_y = bounds.y() - (icon_height - bounds.height()) / 2; in DrawIconCenter() 283 icon_height, filter, paint); in DrawIconCenter()
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | browser_actions_container.cc | 587 static int icon_height = 0; in IconHeight() local 590 icon_height = ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed( in IconHeight() 593 return icon_height; in IconHeight()
|
/external/chromium_org/content/renderer/media/android/ |
D | webmediaplayer_android.cc | 973 int icon_height = icon_width * icon_bitmap->height() / icon_bitmap->width(); in DrawRemotePlaybackIcon() local 976 (canvas_size.height() - icon_height) / 2, in DrawRemotePlaybackIcon() 978 icon_height); in DrawRemotePlaybackIcon()
|
/external/chromium_org/ui/views/controls/menu/ |
D | menu_item_view.cc | 746 int icon_height = config.check_height; in PaintButton() local 774 gfx::Rect check_bounds(icon_x, icon_y, check.width(), icon_height); in PaintButton()
|