/external/chromium_org/ui/app_list/views/ |
search_result_view.cc | 142 gfx::Rect icon_bounds(rect); 143 icon_bounds.set_width(kIconViewWidth); 144 icon_bounds.Inset(kIconPadding, (rect.height() - kIconDimension) / 2); 145 icon_bounds.Intersect(rect); 146 icon_->SetBoundsRect(icon_bounds); 149 (rect.right() - kActionButtonRightMargin - icon_bounds.right()) / 2;
|
app_list_item_view.cc | 233 gfx::Rect icon_bounds(rect.x(), y, rect.width(), icon_size_.height()); 234 icon_bounds.Inset(gfx::ShadowValue::GetMargin(icon_shadows_)); 235 icon_->SetBoundsRect(icon_bounds);
|
/external/chromium_org/chrome/browser/password_manager/ |
password_generation_manager.h | 85 // form. The popup will be anchored at |icon_bounds|. The generated 87 void OnShowPasswordGenerationPopup(const gfx::Rect& icon_bounds,
|
/external/chromium_org/ash/wm/panels/ |
panel_layout_manager_unittest.cc | 127 gfx::Rect icon_bounds = launcher->GetScreenBoundsOfItemIconForWindow(panel); local 128 ASSERT_FALSE(icon_bounds.width() == 0 && icon_bounds.height() == 0); 138 EXPECT_LE(window_bounds.x(), icon_bounds.x()); 139 EXPECT_GE(window_bounds.right(), icon_bounds.right()); 143 EXPECT_LE(window_bounds.y(), icon_bounds.y()); 144 EXPECT_GE(window_bounds.bottom(), icon_bounds.bottom()); 170 gfx::Rect icon_bounds = launcher->GetScreenBoundsOfItemIconForWindow(panel); local 171 ASSERT_FALSE(icon_bounds.IsEmpty()); 175 ASSERT_FALSE(icon_bounds.IsEmpty()) [all...] |
panel_layout_manager.cc | 598 gfx::Rect icon_bounds = local 605 if (icon_bounds.width() == 0 && icon_bounds.height() == 0) 614 icon_bounds = ScreenAsh::ConvertRectFromScreen(panel_container_, 615 icon_bounds); 616 gfx::Point icon_origin = icon_bounds.origin(); 619 int icon_end = icon_start + (horizontal ? icon_bounds.width() : 620 icon_bounds.height()); 782 gfx::Rect icon_bounds = local 784 if (icon_bounds.IsEmpty() || !panel->layer()->GetTargetVisibility() | [all...] |
/external/chromium_org/ui/views/window/ |
custom_frame_view.cc | 526 gfx::Rect icon_bounds(IconBounds()); 529 window_icon_->SetBoundsRect(icon_bounds); 532 int title_x = show_window_icon ? icon_bounds.right() + kTitleIconOffsetX 533 : icon_bounds.x(); 541 icon_bounds.y() + ((icon_bounds.height() - title_height - 1) / 2),
|
/external/chromium/chrome/browser/ui/views/frame/ |
app_panel_browser_frame_view.cc | 488 gfx::Rect icon_bounds(IconBounds()); 489 window_icon_->SetBoundsRect(icon_bounds); 492 int title_x = icon_bounds.right() + kIconTitleSpacing; 500 icon_bounds.y() + ((icon_bounds.height() - title_height - 1) / 2),
|
opaque_browser_frame_view.cc | [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
app_panel_browser_frame_view.cc | 492 gfx::Rect icon_bounds(IconBounds()); 493 window_icon_->SetBoundsRect(icon_bounds); 496 int title_x = icon_bounds.right() + kIconTitleSpacing; 504 icon_bounds.y() + ((icon_bounds.height() - title_height - 1) / 2),
|
opaque_browser_frame_view.cc | [all...] |
/external/chromium_org/ui/views/controls/button/ |
text_button.cc | 690 gfx::Rect icon_bounds(icon_x, icon_y, icon.width(), icon.height()); 691 icon_bounds.set_x(GetMirroredXForRect(icon_bounds)); 692 canvas->DrawImageInt(icon, icon_bounds.x(), icon_bounds.y());
|
/external/chromium/chrome/browser/ui/views/ |
constrained_window_views.cc | 526 gfx::Rect icon_bounds(IconBounds()); 527 int title_x = icon_bounds.x(); 535 icon_bounds.y() + ((icon_bounds.height() - title_height - 1) / 2),
|
/external/chromium_org/chrome/browser/ui/views/ |
avatar_menu_bubble_view.cc | 602 gfx::Rect icon_bounds(0, y, icon_size.width(), icon_size.height()); 603 icon_view_->SetBoundsRect(icon_bounds); 604 int info_width = width() - icon_bounds.right() - 608 icon_bounds.right() + views::kRelatedControlSmallHorizontalSpacing,
|
constrained_window_views.cc | 566 gfx::Rect icon_bounds(IconBounds()); 567 int title_x = icon_bounds.x(); 575 icon_bounds.y() + ((icon_bounds.height() - title_height - 1) / 2),
|
/external/chromium_org/ash/launcher/ |
launcher_view.cc | 490 gfx::Rect icon_bounds = button->GetIconBounds(); local 492 ideal_bounds.x() + icon_bounds.x(), icon_bounds.width()), 493 ideal_bounds.y() + icon_bounds.y(), 494 icon_bounds.width(), 495 icon_bounds.height()); [all...] |