Searched refs:icon_bounds (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/autofill/
H A Ddecorated_textfield.cc127 gfx::Rect icon_bounds(x, y, icon_size.width(), icon_size.height());
128 icon_bounds.set_x(GetMirroredXForRect(icon_bounds));
129 icon_view_->SetBoundsRect(icon_bounds);
/external/chromium_org/ui/app_list/views/
H A Dsearch_result_view.cc145 gfx::Rect icon_bounds(rect);
146 icon_bounds.set_width(kIconViewWidth);
147 icon_bounds.Inset(kIconPadding, (rect.height() - kIconDimension) / 2);
148 icon_bounds.Intersect(rect);
149 icon_->SetBoundsRect(icon_bounds);
152 (rect.right() - kActionButtonRightMargin - icon_bounds.right()) / 2;
H A Dapp_list_folder_view.cc199 const gfx::Rect icon_bounds = item_view->GetIconBounds(); local
200 gfx::Rect to_apps_grid_view = item_view->ConvertRectToParent(icon_bounds);
H A Dapp_list_item_view.cc528 gfx::Rect icon_bounds(rect.x(), rect.y(), rect.width(), icon_size_.height());
529 icon_bounds.Inset(gfx::ShadowValue::GetMargin(icon_shadows_));
530 return icon_bounds;
/external/chromium_org/ash/wm/panels/
H A Dpanel_layout_manager.cc636 gfx::Rect icon_bounds = shelf_->GetScreenBoundsOfItemIconForWindow(panel); local
642 if (icon_bounds.width() == 0 && icon_bounds.height() == 0)
651 icon_bounds = ScreenUtil::ConvertRectFromScreen(panel_container_,
652 icon_bounds);
653 gfx::Point icon_origin = icon_bounds.origin();
656 int icon_end = icon_start + (horizontal ? icon_bounds.width() :
657 icon_bounds.height());
823 gfx::Rect icon_bounds = shelf_->GetScreenBoundsOfItemIconForWindow(panel); local
824 if (icon_bounds
[all...]
H A Dpanel_layout_manager_unittest.cc125 gfx::Rect icon_bounds = shelf->GetScreenBoundsOfItemIconForWindow(panel); local
126 ASSERT_FALSE(icon_bounds.width() == 0 && icon_bounds.height() == 0);
129 ASSERT_LT(icon_bounds.width(), window_bounds.width());
130 ASSERT_LT(icon_bounds.height(), window_bounds.height());
137 EXPECT_LE(window_bounds.x(), icon_bounds.x());
138 EXPECT_GE(window_bounds.right(), icon_bounds.right());
142 EXPECT_LE(window_bounds.y(), icon_bounds.y());
143 EXPECT_GE(window_bounds.bottom(), icon_bounds.bottom());
168 gfx::Rect icon_bounds local
[all...]
/external/chromium_org/ui/views/window/
H A Dcustom_frame_view.cc545 gfx::Rect icon_bounds(IconBounds());
548 window_icon_->SetBoundsRect(icon_bounds);
554 int title_x = show_window_icon ? icon_bounds.right() + kTitleIconOffsetX
555 : icon_bounds.x();
563 icon_bounds.y() + ((icon_bounds.height() - title_height - 1) / 2),
/external/chromium_org/ui/views/controls/button/
H A Dtext_button.cc671 gfx::Rect icon_bounds(icon_x, icon_y, icon.width(), icon.height());
672 icon_bounds.set_x(GetMirroredXForRect(icon_bounds));
673 canvas->DrawImageInt(icon, icon_bounds.x(), icon_bounds.y());
/external/chromium_org/chrome/browser/ui/views/profiles/
H A Davatar_menu_bubble_view.cc616 gfx::Rect icon_bounds(0, y, icon_size.width(), icon_size.height());
617 icon_view_->SetBoundsRect(icon_bounds);
618 int info_width = width() - icon_bounds.right() -
622 icon_bounds.right() + views::kRelatedControlSmallHorizontalSpacing,
/external/chromium_org/ash/shelf/
H A Dshelf_view.cc466 gfx::Rect icon_bounds = button->GetIconBounds(); local
468 ideal_bounds.x() + icon_bounds.x(), icon_bounds.width()),
469 ideal_bounds.y() + icon_bounds.y(),
470 icon_bounds.width(),
471 icon_bounds.height());

Completed in 1290 milliseconds