/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | content_setting_image_view.cc | 180 const int icon_width = icon_->GetPreferredSize().width(); in Layout() local 182 std::min((width() - icon_width) / 2, GetBubbleOuterPadding(true)), 0, in Layout() 183 icon_width, height()); in Layout() 186 std::max(width() - GetTotalSpacingWhileAnimating() - icon_width, 0), in Layout()
|
/external/chromium_org/chrome/common/ |
D | badge_util.cc | 102 int icon_width, in PaintBadge() argument 142 if (icon_width != 0 && (badge_width % 2 != icon_width % 2)) in PaintBadge()
|
D | badge_util.h | 35 int icon_width,
|
/external/chromium_org/ash/shelf/ |
D | shelf_button.cc | 377 int icon_width = std::min(kIconSize, in Layout() local 393 x_offset = std::max(0, button_bounds.width() - icon_width) / 2; in Layout() 398 if (x_offset + icon_width + kBarSize > button_bounds.width()) in Layout() 399 icon_width = button_bounds.width() - (x_offset + kBarSize); in Layout() 405 icon_width, in Layout() 411 DCHECK_LE(icon_width, kIconSize); in Layout()
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | browser_actions_container.cc | 400 int icon_width = IconWidth(false); in Layout() local 417 x, IconHeight() * row_index, icon_width, IconHeight()); in Layout() 427 view->SetVisible(x + icon_width <= max_x); in Layout() 429 view->SetBounds(x, 0, icon_width, IconHeight()); in Layout() 792 static int icon_width = 0; in IconWidth() local 795 icon_width = ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed( in IconWidth() 798 return icon_width + (include_padding ? kItemSpacing : 0); in IconWidth()
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | origin_chip_decoration.mm | 161 const CGFloat icon_width = std::min([icon size].width, kIconSize); 163 CGFloat icon_x_leading_offset = (kIconSize - icon_width) / 2.0; 174 icon_y_inset, icon_width, icon_height);
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab.cc | 145 int icon_width, in DrawIconAtLocation() argument 151 canvas->ClipRect(gfx::Rect(dst_x, dst_y, icon_width, icon_height)); in DrawIconAtLocation() 153 image_offset, 0, icon_width, icon_height, in DrawIconAtLocation() 154 dst_x, dst_y, icon_width, icon_height, in DrawIconAtLocation() 163 int icon_width, in DrawIconCenter() argument 169 int dst_x = bounds.x() - (icon_width - bounds.width()) / 2; in DrawIconCenter() 171 DrawIconAtLocation(canvas, image, image_offset, dst_x, dst_y, icon_width, in DrawIconCenter()
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | autofill_popup_controller_impl.cc | 593 int icon_width = ui::ResourceBundle::GetSharedInstance().GetImageNamed( in RowWidthWithoutText() local 595 row_size += icon_width + kIconPadding; in RowWidthWithoutText()
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
D | autofill_dialog_views.cc | 338 int icon_width = icon_size.width() + kDialogEdgePadding; in Layout() local 339 right_bound -= icon_width; in Layout() 342 icon_width + kDialogEdgePadding, GetLocalBounds().height()); in Layout()
|