Searched refs:shelf_bounds (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/ash/shelf/ |
D | shelf_widget_unittest.cc | 182 gfx::Rect shelf_bounds = shelf_widget->GetWindowBoundsInScreen(); in TEST_F() local 183 EXPECT_TRUE(!shelf_bounds.IsEmpty()); in TEST_F() 194 params.bounds = gfx::Rect(0, shelf_bounds.y() - kWindowHeight + kOverlapSize, in TEST_F() 201 EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds)); in TEST_F() 210 gfx::Point event_location(20, shelf_bounds.y() + 1); in TEST_F() 222 shelf_bounds = shelf_widget->GetWindowBoundsInScreen(); in TEST_F() 223 EXPECT_TRUE(!shelf_bounds.IsEmpty()); in TEST_F() 226 widget->SetBounds(gfx::Rect(0, shelf_bounds.y() - kWindowHeight + in TEST_F() 229 EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds)); in TEST_F() 233 gfx::Point event_location(20, shelf_bounds.y() + 1); in TEST_F() [all …]
|
D | shelf_layout_manager_unittest.cc | 157 gfx::Rect shelf_bounds = GetShelfWidget()->GetWindowBoundsInScreen(); in ProcessScroll() local 159 EXPECT_EQ(not_visible_bounds_.bottom(), shelf_bounds.bottom()); in ProcessScroll() 160 EXPECT_EQ(visible_bounds_.bottom(), shelf_bounds.bottom()); in ProcessScroll() 163 EXPECT_EQ(not_visible_bounds_.right(), shelf_bounds.right()); in ProcessScroll() 164 EXPECT_EQ(visible_bounds_.right(), shelf_bounds.right()); in ProcessScroll() 167 EXPECT_EQ(not_visible_bounds_.x(), shelf_bounds.x()); in ProcessScroll() 168 EXPECT_EQ(visible_bounds_.x(), shelf_bounds.x()); in ProcessScroll() 177 EXPECT_GE(shelf_bounds.height(), not_visible_bounds_.height()); in ProcessScroll() 188 shelf_bounds.height(), in ProcessScroll() 189 shelf_bounds.width()); in ProcessScroll() [all …]
|
D | shelf_view_unittest.cc | 1730 gfx::Rect shelf_bounds = shelf_view_->GetBoundsInScreen(); in CheckAllItemsAreInBounds() local 1731 EXPECT_TRUE(shelf_bounds.Contains(visible_bounds)); in CheckAllItemsAreInBounds()
|
/external/chromium_org/ash/wm/ |
D | workspace_controller.cc | 74 const gfx::Rect shelf_bounds(shelf_->GetIdealBounds()); in GetWindowState() local 91 ((*i)->bounds().Intersects(shelf_bounds))) { in GetWindowState()
|
D | window_animations.cc | 472 gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen(); in GetMinimizeAnimationTargetBoundsInScreen() local 475 item_rect.set_y(shelf_bounds.y()); in GetMinimizeAnimationTargetBoundsInScreen() 478 item_rect.set_x(shelf_bounds.right()); in GetMinimizeAnimationTargetBoundsInScreen() 481 item_rect.set_x(shelf_bounds.x()); in GetMinimizeAnimationTargetBoundsInScreen() 484 item_rect.set_y(shelf_bounds.bottom()); in GetMinimizeAnimationTargetBoundsInScreen()
|
/external/chromium_org/ash/wm/panels/ |
D | panel_layout_manager.cc | 609 gfx::Rect shelf_bounds = ash::ScreenUtil::ConvertRectFromScreen( in Relayout() local 626 !BoundsAdjacent(panel->bounds(), shelf_bounds))) { in Relayout() 703 bounds.set_y(shelf_bounds.y() - bounds.height()); in Relayout() 706 bounds.set_x(shelf_bounds.right()); in Relayout() 709 bounds.set_x(shelf_bounds.x() - bounds.width()); in Relayout() 712 bounds.set_y(shelf_bounds.bottom()); in Relayout()
|
D | panel_layout_manager_unittest.cc | 131 gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen(); in IsPanelAboveLauncherIcon() local 148 EXPECT_EQ(shelf_bounds.y(), window_bounds.bottom()); in IsPanelAboveLauncherIcon() 151 EXPECT_EQ(shelf_bounds.right(), window_bounds.x()); in IsPanelAboveLauncherIcon() 154 EXPECT_EQ(shelf_bounds.x(), window_bounds.right()); in IsPanelAboveLauncherIcon() 157 EXPECT_EQ(shelf_bounds.bottom(), window_bounds.y()); in IsPanelAboveLauncherIcon()
|
/external/chromium_org/ash/system/web_notification/ |
D | web_notification_tray.cc | 222 gfx::Rect shelf_bounds = GetShelfLayoutManager()->GetIdealBounds(); in ShowMessageCenterInternal() local 223 max_height = shelf_bounds.y(); in ShowMessageCenterInternal()
|
/external/chromium_org/ash/wm/workspace/ |
D | workspace_layout_manager_unittest.cc | 326 gfx::Rect shelf_bounds(Shell::GetPrimaryRootWindowController()-> in OnWindowPropertyChanged() local 329 w->SetBounds(gfx::Rect(window_bounds.x(), shelf_bounds.y() - 1, in OnWindowPropertyChanged()
|