Home
last modified time | relevance | path

Searched refs:icon_height (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/ui/views/
Dsad_tab_view.cc107 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()
Dbrowser_actions_container.cc881 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/
Dshelf_button.cc413 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/
Dbase_tab.cc82 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/
Dstatus_area_button.h46 virtual int icon_height() { return 24; } in icon_height() function
Dstatus_area_button.cc89 icon_height() + insets.height()); in GetPreferredSize()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab.cc257 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/
Dbrowser_actions_container.cc587 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/
Dwebmediaplayer_android.cc973 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/
Dmenu_item_view.cc746 int icon_height = config.check_height; in PaintButton() local
774 gfx::Rect check_bounds(icon_x, icon_y, check.width(), icon_height); in PaintButton()