/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | add_to_app_launcher_view.cc | 161 const int icon_width = icon_->GetPreferredSize().width(); in Layout() local 163 std::min((width() - icon_width) / 2, GetBubbleOuterPadding(true)), in Layout() 165 icon_width, in Layout() 170 std::max(width() - GetTotalSpacingWhileAnimating() - icon_width, 0), in Layout()
|
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 | 100 int icon_width, in PaintBadge() argument 128 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 | 382 int icon_width = std::min(kIconSize, in Layout() local 398 x_offset = std::max(0, button_bounds.width() - icon_width) / 2; in Layout() 403 if (x_offset + icon_width + kBarSize > button_bounds.width()) in Layout() 404 icon_width = button_bounds.width() - (x_offset + kBarSize); in Layout() 410 icon_width, in Layout() 416 DCHECK_LE(icon_width, kIconSize); in Layout()
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | browser_actions_container.cc | 292 int icon_width = IconWidth(false); in Layout() local 296 if (x + icon_width <= max_x) { in Layout() 297 view->SetBounds(x, 0, icon_width, height()); in Layout() 679 static int icon_width = 0; in IconWidth() local 682 icon_width = ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed( in IconWidth() 685 return icon_width + (include_padding ? kItemSpacing : 0); in IconWidth()
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | origin_chip_decoration.mm | 164 const CGFloat icon_width = std::min([icon size].width, kIconSize); 166 CGFloat icon_x_leading_offset = (kIconSize - icon_width) / 2.0; 177 icon_y_inset, icon_width, icon_height);
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab.cc | 140 int icon_width, in DrawIconAtLocation() argument 146 canvas->ClipRect(gfx::Rect(dst_x, dst_y, icon_width, icon_height)); in DrawIconAtLocation() 148 image_offset, 0, icon_width, icon_height, in DrawIconAtLocation() 149 dst_x, dst_y, icon_width, icon_height, in DrawIconAtLocation() 158 int icon_width, in DrawIconCenter() argument 164 int dst_x = bounds.x() - (icon_width - bounds.width()) / 2; in DrawIconCenter() 166 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 | 592 int icon_width = ui::ResourceBundle::GetSharedInstance().GetImageNamed( in RowWidthWithoutText() local 594 row_size += icon_width + kIconPadding; in RowWidthWithoutText()
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
D | autofill_dialog_views.cc | 339 int icon_width = icon_size.width() + kDialogEdgePadding; in Layout() local 340 right_bound -= icon_width; in Layout() 343 icon_width + kDialogEdgePadding, GetLocalBounds().height()); in Layout()
|