Searched defs:shelf_bounds (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/ash/shelf/ |
H A D | shelf_widget_unittest.cc | 182 gfx::Rect shelf_bounds = shelf_widget->GetWindowBoundsInScreen(); local 183 EXPECT_TRUE(!shelf_bounds.IsEmpty()); 194 params.bounds = gfx::Rect(0, shelf_bounds.y() - kWindowHeight + kOverlapSize, 201 EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds)); 210 gfx::Point event_location(20, shelf_bounds.y() + 1); 222 shelf_bounds = shelf_widget->GetWindowBoundsInScreen(); 223 EXPECT_TRUE(!shelf_bounds.IsEmpty()); 226 widget->SetBounds(gfx::Rect(0, shelf_bounds.y() - kWindowHeight + 229 EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds)); 233 gfx::Point event_location(20, shelf_bounds 245 gfx::Rect shelf_bounds = shelf_widget->GetWindowBoundsInScreen(); local [all...] |
H A D | shelf_layout_manager_unittest.cc | 157 gfx::Rect shelf_bounds = GetShelfWidget()->GetWindowBoundsInScreen(); local 159 EXPECT_EQ(not_visible_bounds_.bottom(), shelf_bounds.bottom()); 160 EXPECT_EQ(visible_bounds_.bottom(), shelf_bounds.bottom()); 163 EXPECT_EQ(not_visible_bounds_.right(), shelf_bounds.right()); 164 EXPECT_EQ(visible_bounds_.right(), shelf_bounds.right()); 167 EXPECT_EQ(not_visible_bounds_.x(), shelf_bounds.x()); 168 EXPECT_EQ(visible_bounds_.x(), shelf_bounds.x()); 177 EXPECT_GE(shelf_bounds.height(), not_visible_bounds_.height()); 188 shelf_bounds.height(), 189 shelf_bounds [all...] |
H A D | shelf_view_unittest.cc | 1730 gfx::Rect shelf_bounds = shelf_view_->GetBoundsInScreen(); local 1731 EXPECT_TRUE(shelf_bounds.Contains(visible_bounds));
|
/external/chromium_org/ash/wm/ |
H A D | window_animations.cc | 472 gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen(); local 475 item_rect.set_y(shelf_bounds.y()); 478 item_rect.set_x(shelf_bounds.right()); 481 item_rect.set_x(shelf_bounds.x()); 484 item_rect.set_y(shelf_bounds.bottom());
|
/external/chromium_org/ash/system/web_notification/ |
H A D | web_notification_tray.cc | 222 gfx::Rect shelf_bounds = GetShelfLayoutManager()->GetIdealBounds(); local 223 max_height = shelf_bounds.y();
|
/external/chromium_org/ash/wm/panels/ |
H A D | panel_layout_manager_unittest.cc | 131 gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen(); local 148 EXPECT_EQ(shelf_bounds.y(), window_bounds.bottom()); 151 EXPECT_EQ(shelf_bounds.right(), window_bounds.x()); 154 EXPECT_EQ(shelf_bounds.x(), window_bounds.right()); 157 EXPECT_EQ(shelf_bounds.bottom(), window_bounds.y());
|
H A D | panel_layout_manager.cc | 609 gfx::Rect shelf_bounds = ash::ScreenUtil::ConvertRectFromScreen( local 626 !BoundsAdjacent(panel->bounds(), shelf_bounds))) { 703 bounds.set_y(shelf_bounds.y() - bounds.height()); 706 bounds.set_x(shelf_bounds.right()); 709 bounds.set_x(shelf_bounds.x() - bounds.width()); 712 bounds.set_y(shelf_bounds.bottom());
|
Completed in 125 milliseconds