/external/chromium_org/ash/wm/dock/ |
D | docked_window_layout_manager_unittest.cc | 175 gfx::Rect initial_bounds = window->GetBoundsInScreen(); in DragToVerticalPositionRelativeToEdge() 184 gfx::Rect initial_bounds = window->GetBoundsInScreen(); in DragVerticallyAndRelativeToEdge() 206 EXPECT_EQ(initial_bounds.y() + dy, window->GetBoundsInScreen().y()); in DragVerticallyAndRelativeToEdge() 234 window->GetBoundsInScreen().right()); in TEST_P() 251 window->GetBoundsInScreen().x()); in TEST_P() 301 window->GetBoundsInScreen().right()); in TEST_P() 354 EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), in TEST_P() 355 window->GetBoundsInScreen().right()); in TEST_P() 374 ",32 231x320", window1->GetBoundsInScreen().ToString()); in TEST_P() 386 EXPECT_EQ("600,32 231x320", window1->GetBoundsInScreen().ToString()); in TEST_P() [all …]
|
D | docked_window_resizer_unittest.cc | 198 gfx::Rect initial_bounds = window->GetBoundsInScreen(); in DragToVerticalPositionRelativeToEdge() 211 gfx::Rect initial_bounds = window->GetBoundsInScreen(); in DragVerticallyAndRelativeToEdge() 234 EXPECT_EQ(initial_bounds.y() + dy, window->GetBoundsInScreen().y()); in DragVerticallyAndRelativeToEdge() 269 EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), in TEST_P() 270 window->GetBoundsInScreen().right()); in TEST_P() 284 EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), in TEST_P() 285 window->GetBoundsInScreen().right()); in TEST_P() 309 EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right() + in TEST_P() 311 window->GetBoundsInScreen().right()); in TEST_P() 324 EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().x(), in TEST_P() [all …]
|
/external/chromium_org/ash/wm/ |
D | lock_layout_manager_unittest.cc | 126 EXPECT_EQ(bounds.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 132 EXPECT_EQ(work_area.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 133 EXPECT_NE(screen_bounds.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 137 EXPECT_EQ(bounds2.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 159 maximized_window->GetBoundsInScreen().ToString()); in TEST_F() 161 fullscreen_window->GetBoundsInScreen().ToString()); in TEST_F() 168 maximized_window->GetBoundsInScreen().ToString()); in TEST_F() 170 maximized_window->GetBoundsInScreen().ToString()); in TEST_F() 176 fullscreen_window->GetBoundsInScreen().ToString()); in TEST_F() 178 fullscreen_window->GetBoundsInScreen().ToString()); in TEST_F() [all …]
|
D | window_state_unittest.cc | 76 EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 81 EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 94 EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 98 EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 125 EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 213 EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 218 EXPECT_EQ(expected.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 231 gfx::Rect restore_bounds = window->GetBoundsInScreen(); in TEST_F() 238 EXPECT_NE(restore_bounds.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 242 EXPECT_EQ(restore_bounds.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() [all …]
|
D | immersive_fullscreen_controller_unittest.cc | 61 bounds_in_screen.push_back(top_container_view_->GetBoundsInScreen()); in GetVisibleBoundsInScreen() 355 top_container()->GetBoundsInScreen(); in TEST_F() 460 top_container()->GetBoundsInScreen(); in TEST_F() 524 root_windows[0]->GetBoundsInScreen(); in TEST_F() 590 ASSERT_FALSE(top_container()->GetBoundsInScreen().Intersects( in TEST_F() 754 gfx::Rect window_bounds = window()->GetBoundsInScreen(); in TEST_F() 763 EXPECT_EQ(behind->GetBoundsInScreen().y(), window()->GetBoundsInScreen().y()); in TEST_F() 764 int top = behind->GetBoundsInScreen().y(); in TEST_F() 775 EXPECT_EQ(behind->GetBoundsInScreen().y(), window()->GetBoundsInScreen().y()); in TEST_F() 776 top = behind->GetBoundsInScreen().y(); in TEST_F()
|
D | window_util_unittest.cc | 41 EXPECT_EQ("200,126 100x100", window->GetBoundsInScreen().ToString()); in TEST_F() 46 EXPECT_EQ("750,126 100x100", window->GetBoundsInScreen().ToString()); in TEST_F()
|
/external/chromium_org/ash/wm/panels/ |
D | panel_window_resizer_unittest.cc | 101 gfx::Rect initial_bounds = window->GetBoundsInScreen(); in DetachReattachTest() 106 EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x()); in DetachReattachTest() 107 EXPECT_EQ(initial_bounds.y(), window->GetBoundsInScreen().y()); in DetachReattachTest() 111 EXPECT_EQ(initial_bounds.x() + dx * 100, window->GetBoundsInScreen().x()); in DetachReattachTest() 112 EXPECT_EQ(initial_bounds.y() + dy * 100, window->GetBoundsInScreen().y()); in DetachReattachTest() 129 EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x()); in DetachReattachTest() 130 EXPECT_EQ(initial_bounds.y(), window->GetBoundsInScreen().y()); in DetachReattachTest() 296 gfx::Rect initial_bounds = window->GetBoundsInScreen(); in TEST_F() 302 EXPECT_EQ(initial_bounds.x(), window->GetBoundsInScreen().x()); in TEST_F() 303 EXPECT_EQ(initial_bounds.y() - 100, window->GetBoundsInScreen().y()); in TEST_F() [all …]
|
D | panel_layout_manager_unittest.cc | 102 gfx::Rect panel_bounds_in_screen = panel->GetBoundsInScreen(); in PanelInScreen() 128 gfx::Rect window_bounds = panel->GetBoundsInScreen(); in IsPanelAboveLauncherIcon() 171 gfx::Rect panel_bounds = panel->GetBoundsInScreen(); in IsCalloutAboveLauncherIcon() 221 gfx::Rect bounds = test_api.GetButton(index)->GetBoundsInScreen(); in ClickShelfItemForWindow() 337 gfx::Rect shelf_visible_position = panel->GetBoundsInScreen(); in TEST_F() 344 EXPECT_EQ(shelf_visible_position.x(), panel->GetBoundsInScreen().x()); in TEST_F() 345 EXPECT_GT(panel->GetBoundsInScreen().y(), shelf_visible_position.y()); in TEST_F() 625 EXPECT_FALSE(root_windows[1]->GetBoundsInScreen().Contains( in TEST_F() 626 p1_d1->GetBoundsInScreen())); in TEST_F() 635 EXPECT_TRUE(root_windows[1]->GetBoundsInScreen().Contains( in TEST_F() [all …]
|
/external/chromium_org/ash/ime/ |
D | candidate_view_unittest.cc | 127 GetCandidateAt(0)->GetBoundsInScreen().CenterPoint()); in TEST_F() 133 GetCandidateAt(1)->GetBoundsInScreen().CenterPoint()); in TEST_F() 139 GetCandidateAt(2)->GetBoundsInScreen().CenterPoint()); in TEST_F() 146 GetCandidateAt(1)->GetBoundsInScreen().CenterPoint()); in TEST_F() 159 GetCandidateAt(2)->GetBoundsInScreen().CenterPoint()); in TEST_F() 166 GetCandidateAt(1)->GetBoundsInScreen().CenterPoint()); in TEST_F() 171 GetCandidateAt(0)->GetBoundsInScreen().CenterPoint()); in TEST_F() 176 GetCandidateAt(1)->GetBoundsInScreen().CenterPoint()); in TEST_F()
|
/external/chromium_org/ash/first_run/ |
D | first_run_helper_impl.cc | 73 return app_button->GetBoundsInScreen(); in GetAppListButtonBounds() 78 return view->GetBoundsInScreen(); in GetAppListBounds() 112 return bubble->GetBoundsInScreen(); in GetTrayBubbleBounds() 118 return help_button->GetBoundsInScreen(); in GetHelpButtonBounds()
|
/external/chromium_org/ash/wm/workspace/ |
D | workspace_event_handler_unittest.cc | 110 gfx::Rect bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() 122 bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() 131 bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() 141 EXPECT_EQ(restored_bounds.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 167 bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() 176 EXPECT_EQ(restored_bounds.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 181 bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() 190 EXPECT_EQ(restored_bounds.ToString(), window->GetBoundsInScreen().ToString()); in TEST_F() 206 gfx::Rect snapped_bounds_in_screen = window->GetBoundsInScreen(); in TEST_F() 221 window->GetBoundsInScreen().ToString()); in TEST_F() [all …]
|
D | workspace_layout_manager_unittest.cc | 131 EXPECT_EQ("600,0 100x100", window->GetBoundsInScreen().ToString()); in TEST_F() 153 EXPECT_EQ("0,-500 400x500", root_windows[1]->GetBoundsInScreen().ToString()); in TEST_F() 157 EXPECT_EQ("10,-400 200x200", window1->GetBoundsInScreen().ToString()); in TEST_F() 162 EXPECT_EQ("10,-500 200x200", window2->GetBoundsInScreen().ToString()); in TEST_F() 223 EXPECT_EQ("300,0 400x453", window->GetBoundsInScreen().ToString()); in TEST_F() 227 EXPECT_EQ("400,0 30x40", window->GetBoundsInScreen().ToString()); in TEST_F() 234 EXPECT_EQ("300,0 400x453", window->GetBoundsInScreen().ToString()); in TEST_F() 238 EXPECT_EQ("280,0 30x40", window->GetBoundsInScreen().ToString()); in TEST_F() 274 EXPECT_EQ("300,0 400x500", window->GetBoundsInScreen().ToString()); in TEST_F() 278 EXPECT_EQ("400,0 30x40", window->GetBoundsInScreen().ToString()); in TEST_F() [all …]
|
/external/chromium_org/ash/shelf/ |
D | shelf_view_unittest.cc | 428 button->GetBoundsInScreen().origin(), 0, 0); in SimulateButtonPressed() 452 destination->GetBoundsInScreen().origin(), 0, 0); in SimulateDrag() 518 drag_button->GetBoundsInScreen().CenterPoint(); in TestDraggingAnItemFromOverflowToShelf() 533 test_api_->GetButton(drop_index)->GetBoundsInScreen().CenterPoint(); in TestDraggingAnItemFromOverflowToShelf() 657 gfx::Rect item_bounds = button->GetBoundsInScreen(); in TEST_P() 1079 button->GetBoundsInScreen().origin() + press_offset; in TEST_F() 1337 gfx::Rect bounds = app_list_button->GetBoundsInScreen(); in TEST_F() 1425 gfx::Point start_point = button->GetBoundsInScreen().CenterPoint(); in TEST_F() 1446 generator.MoveMouseTo(button->GetBoundsInScreen().CenterPoint()); in TEST_F() 1491 gfx::Point first_point = first_button->GetBoundsInScreen().CenterPoint(); in TEST_F() [all …]
|
D | overflow_bubble.cc | 77 !bubble_->GetBoundsInScreen().Contains(event_location_in_screen) && in ProcessPressedEvent() 78 !anchor_->GetBoundsInScreen().Contains(event_location_in_screen)) { in ProcessPressedEvent()
|
D | shelf_widget.cc | 220 bool inside = owner_->GetBoundsInScreen().Contains(event->root_location()); in OnMouseEvent() 230 touch_inside = owner_->GetBoundsInScreen().Contains(event->root_location()); in OnTouchEvent() 564 dimmer_->SetBounds(GetBoundsInScreen()); in OnBoundsChanged() 574 dimmer_->SetBounds(GetBoundsInScreen()); in OnWindowBoundsChanged() 590 return dimmer_view_->GetBoundsInScreen(); in GetDimmerBoundsForTest()
|
/external/chromium_org/ash/wm/overview/ |
D | scoped_transform_overview_window.cc | 140 gfx::Rect ScopedTransformOverviewWindow::GetBoundsInScreen() const { in GetBoundsInScreen() function in ash::ScopedTransformOverviewWindow 210 } else if ((*iter)->GetWindow()->GetBoundsInScreen() != in SetTransform() 211 window->GetBoundsInScreen()) { in SetTransform() 242 gfx::Point origin(GetBoundsInScreen().origin()); in SetTransformOnWindowAndTransientChildren()
|
D | scoped_window_copy.cc | 54 src_window->GetBoundsInScreen(), target_display); in CreateCopyOfWindow() 56 widget->SetBounds(src_window->GetBoundsInScreen()); in CreateCopyOfWindow()
|
D | window_selector_panels.cc | 182 bounding_rect.Union((*iter)->GetBoundsInScreen()); in SetItemBounds() 192 gfx::Rect bounds = (*iter)->GetBoundsInScreen(); in SetItemBounds()
|
D | scoped_transform_overview_window.h | 58 gfx::Rect GetBoundsInScreen() const;
|
/external/chromium_org/ui/views/accessibility/ |
D | ax_view_obj_wrapper.cc | 54 out_node_data->location = view_->GetBoundsInScreen(); in Serialize() 72 gfx::Rect rect = view_->GetBoundsInScreen(); in DoDefault()
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
D | omnibox_view_views_browsertest.cc | 49 browser())->GetBoundsInScreen().CenterPoint())); in ClickBrowserWindowCenter() 73 browser())->GetBoundsInScreen().CenterPoint(); in TapBrowserWindowCenter() 147 browser())->GetViewByID(VIEW_ID_OMNIBOX)->GetBoundsInScreen(); in IN_PROC_BROWSER_TEST_F() 202 browser())->GetViewByID(VIEW_ID_OMNIBOX)->GetBoundsInScreen(); in IN_PROC_BROWSER_TEST_F() 328 omnibox_view_views->GetBoundsInScreen().CenterPoint(); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/ash/frame/caption_buttons/ |
D | frame_size_button_unittest.cc | 95 return view->GetBoundsInScreen().CenterPoint(); in CenterPointInScreen() 431 ASSERT_LT(close_button()->GetBoundsInScreen().x(), in TEST_F() 432 size_button()->GetBoundsInScreen().x()); in TEST_F() 433 ASSERT_LT(size_button()->GetBoundsInScreen().x(), in TEST_F() 434 minimize_button()->GetBoundsInScreen().x()); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | app_list_controller_delegate_views.cc | 24 return app_list_view->GetBoundsInScreen(); in GetAppListBounds()
|
/external/chromium_org/ash/drag_drop/ |
D | drag_image_view.h | 42 gfx::Rect GetBoundsInScreen() const;
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | window_finder_ash.cc | 30 return window->GetBoundsInScreen().Contains(screen_point) ? window : NULL; in GetLocalProcessWindowAtPointImpl()
|