Home
last modified time | relevance | path

Searched refs:GetBoundsInScreen (Results 1 – 25 of 91) sorted by relevance

1234

/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager_unittest.cc175 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 …]
Ddocked_window_resizer_unittest.cc198 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/
Dlock_layout_manager_unittest.cc126 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 …]
Dwindow_state_unittest.cc76 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 …]
Dimmersive_fullscreen_controller_unittest.cc61 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()
Dwindow_util_unittest.cc41 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/
Dpanel_window_resizer_unittest.cc101 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 …]
Dpanel_layout_manager_unittest.cc102 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/
Dcandidate_view_unittest.cc127 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/
Dfirst_run_helper_impl.cc73 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/
Dworkspace_event_handler_unittest.cc110 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 …]
Dworkspace_layout_manager_unittest.cc131 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/
Dshelf_view_unittest.cc428 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 …]
Doverflow_bubble.cc77 !bubble_->GetBoundsInScreen().Contains(event_location_in_screen) && in ProcessPressedEvent()
78 !anchor_->GetBoundsInScreen().Contains(event_location_in_screen)) { in ProcessPressedEvent()
Dshelf_widget.cc220 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/
Dscoped_transform_overview_window.cc140 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()
Dscoped_window_copy.cc54 src_window->GetBoundsInScreen(), target_display); in CreateCopyOfWindow()
56 widget->SetBounds(src_window->GetBoundsInScreen()); in CreateCopyOfWindow()
Dwindow_selector_panels.cc182 bounding_rect.Union((*iter)->GetBoundsInScreen()); in SetItemBounds()
192 gfx::Rect bounds = (*iter)->GetBoundsInScreen(); in SetItemBounds()
Dscoped_transform_overview_window.h58 gfx::Rect GetBoundsInScreen() const;
/external/chromium_org/ui/views/accessibility/
Dax_view_obj_wrapper.cc54 out_node_data->location = view_->GetBoundsInScreen(); in Serialize()
72 gfx::Rect rect = view_->GetBoundsInScreen(); in DoDefault()
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_view_views_browsertest.cc49 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/
Dframe_size_button_unittest.cc95 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/
Dapp_list_controller_delegate_views.cc24 return app_list_view->GetBoundsInScreen(); in GetAppListBounds()
/external/chromium_org/ash/drag_drop/
Ddrag_image_view.h42 gfx::Rect GetBoundsInScreen() const;
/external/chromium_org/chrome/browser/ui/views/tabs/
Dwindow_finder_ash.cc30 return window->GetBoundsInScreen().Contains(screen_point) ? window : NULL; in GetLocalProcessWindowAtPointImpl()

1234