/external/chromium_org/chrome/browser/password_manager/ |
password_generation_manager.h | 71 // form. The popup will be anchored at |icon_bounds|. The generated 73 void OnShowPasswordGenerationPopup(const gfx::Rect& icon_bounds,
|
/external/chromium_org/ui/app_list/views/ |
search_result_view.cc | 148 gfx::Rect icon_bounds(rect); 149 icon_bounds.set_width(kIconViewWidth); 150 icon_bounds.Inset(kIconPadding, (rect.height() - kIconDimension) / 2); 151 icon_bounds.Intersect(rect); 152 icon_->SetBoundsRect(icon_bounds); 155 (rect.right() - kActionButtonRightMargin - icon_bounds.right()) / 2;
|
app_list_item_view.cc | 269 gfx::Rect icon_bounds(rect.x(), y, rect.width(), icon_size_.height()); 270 icon_bounds.Inset(gfx::ShadowValue::GetMargin(icon_shadows_)); 271 icon_->SetBoundsRect(icon_bounds);
|
/external/chromium_org/ash/wm/panels/ |
panel_layout_manager.cc | 619 gfx::Rect icon_bounds = local 626 if (icon_bounds.width() == 0 && icon_bounds.height() == 0) 635 icon_bounds = ScreenAsh::ConvertRectFromScreen(panel_container_, 636 icon_bounds); 637 gfx::Point icon_origin = icon_bounds.origin(); 640 int icon_end = icon_start + (horizontal ? icon_bounds.width() : 641 icon_bounds.height()); 803 gfx::Rect icon_bounds = local 805 if (icon_bounds.IsEmpty() || !panel->layer()->GetTargetVisibility() | [all...] |
panel_layout_manager_unittest.cc | 129 gfx::Rect icon_bounds = launcher->GetScreenBoundsOfItemIconForWindow(panel); local 130 ASSERT_FALSE(icon_bounds.width() == 0 && icon_bounds.height() == 0); 133 ASSERT_LT(icon_bounds.width(), window_bounds.width()); 134 ASSERT_LT(icon_bounds.height(), window_bounds.height()); 142 EXPECT_LE(window_bounds.x(), icon_bounds.x()); 143 EXPECT_GE(window_bounds.right(), icon_bounds.right()); 147 EXPECT_LE(window_bounds.y(), icon_bounds.y()); 148 EXPECT_GE(window_bounds.bottom(), icon_bounds.bottom()); 174 gfx::Rect icon_bounds = launcher->GetScreenBoundsOfItemIconForWindow(panel) local [all...] |
/external/chromium_org/ui/views/window/ |
custom_frame_view.cc | 531 gfx::Rect icon_bounds(IconBounds()); 534 window_icon_->SetBoundsRect(icon_bounds); 537 int title_x = show_window_icon ? icon_bounds.right() + kTitleIconOffsetX 538 : icon_bounds.x(); 546 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 | 490 gfx::Rect icon_bounds(IconBounds()); 491 window_icon_->SetBoundsRect(icon_bounds); 494 int title_x = icon_bounds.right() + kIconTitleSpacing; 502 icon_bounds.y() + ((icon_bounds.height() - title_height - 1) / 2),
|
/external/chromium_org/ui/views/controls/button/ |
text_button.cc | 700 gfx::Rect icon_bounds(icon_x, icon_y, icon.width(), icon.height()); 701 icon_bounds.set_x(GetMirroredXForRect(icon_bounds)); 702 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/gtk/tabs/ |
tab_renderer_gtk.cc | 531 void TabRendererGtk::MaybeAdjustLeftForMiniTab(gfx::Rect* icon_bounds) const { 537 const int ideal_x = (GetMiniWidth() - icon_bounds->width()) / 2; 538 icon_bounds->set_x(icon_bounds->x() + static_cast<int>( 540 (ideal_x - icon_bounds->x()))); [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
avatar_menu_bubble_view.cc | 610 gfx::Rect icon_bounds(0, y, icon_size.width(), icon_size.height()); 611 icon_view_->SetBoundsRect(icon_bounds); 612 int info_width = width() - icon_bounds.right() - 616 icon_bounds.right() + views::kRelatedControlSmallHorizontalSpacing,
|
/external/chromium_org/ash/shelf/ |
shelf_view.cc | 466 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()); [all...] |