/external/chromium_org/chrome/browser/ui/views/autofill/ |
decorated_textfield.cc | 124 gfx::Rect icon_bounds(x, y, icon_size.width(), icon_size.height()); 125 icon_bounds.set_x(GetMirroredXForRect(icon_bounds)); 126 icon_view_->SetBoundsRect(icon_bounds);
|
/external/chromium_org/ui/app_list/views/ |
search_result_view.cc | 148 gfx::Rect icon_bounds(rect); 149 icon_bounds.set_width(GetIconViewWidth()); 150 icon_bounds.Inset(kIconPadding, (rect.height() - kListIconSize) / 2); 151 icon_bounds.Intersect(rect); 152 icon_->SetBoundsRect(icon_bounds); 155 (rect.right() - kActionButtonRightMargin - icon_bounds.right()) / 2;
|
app_list_item_view.cc | 532 gfx::Rect icon_bounds(rect.x(), rect.y(), rect.width(), kGridIconDimension); 533 icon_bounds.Inset(gfx::ShadowValue::GetMargin(GetIconShadows())); 534 return icon_bounds;
|
app_list_folder_view.cc | 198 const gfx::Rect icon_bounds = item_view->GetIconBounds(); local 199 gfx::Rect to_apps_grid_view = item_view->ConvertRectToParent(icon_bounds);
|
/external/chromium_org/ash/wm/panels/ |
panel_layout_manager.cc | 640 gfx::Rect icon_bounds = shelf_->GetScreenBoundsOfItemIconForWindow(panel); local 646 if (icon_bounds.width() == 0 && icon_bounds.height() == 0) 655 icon_bounds = ScreenUtil::ConvertRectFromScreen(panel_container_, 656 icon_bounds); 657 gfx::Point icon_origin = icon_bounds.origin(); 660 int icon_end = icon_start + (horizontal ? icon_bounds.width() : 661 icon_bounds.height()); 827 gfx::Rect icon_bounds = shelf_->GetScreenBoundsOfItemIconForWindow(panel); local 828 if (icon_bounds.IsEmpty() || !panel->layer()->GetTargetVisibility() | [all...] |
panel_layout_manager_unittest.cc | 125 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 = shelf->GetScreenBoundsOfItemIconForWindow(panel) local [all...] |
/external/chromium_org/ui/views/window/ |
custom_frame_view.cc | 543 gfx::Rect icon_bounds(IconBounds()); 546 window_icon_->SetBoundsRect(icon_bounds); 552 int title_x = show_window_icon ? icon_bounds.right() + kTitleIconOffsetX 553 : icon_bounds.x(); 561 icon_bounds.y() + ((icon_bounds.height() - title_height - 1) / 2),
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
avatar_menu_bubble_view.cc | 606 gfx::Rect icon_bounds(0, y, icon_size.width(), icon_size.height()); 607 icon_view_->SetBoundsRect(icon_bounds); 608 int info_width = width() - icon_bounds.right() - 612 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...] |