Home
last modified time | relevance | path

Searched refs:root_bounds (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/ash/display/
Dmouse_cursor_event_filter.cc122 gfx::Rect root_bounds = root_at_point->bounds(); in WarpMouseCursorIfNecessary() local
133 root_bounds.Inset(0, 0, shrink, shrink); in WarpMouseCursorIfNecessary()
137 if (point_in_root.x() <= root_bounds.x()) { in WarpMouseCursorIfNecessary()
140 } else if (point_in_root.x() >= root_bounds.right()) { in WarpMouseCursorIfNecessary()
142 } else if (point_in_root.y() <= root_bounds.y()) { in WarpMouseCursorIfNecessary()
144 } else if (point_in_root.y() >= root_bounds.bottom()) { in WarpMouseCursorIfNecessary()
/external/chromium_org/ui/keyboard/
Dkeyboard_controller_unittest.cc255 const gfx::Rect& root_bounds = root_window()->bounds(); in TEST_F() local
259 window->SetBounds(root_bounds); in TEST_F()
265 keyboard_container->SetBounds(root_bounds); in TEST_F()
298 const gfx::Rect& root_bounds = root_window()->bounds(); in TEST_F() local
311 keyboard_container->SetBounds(root_bounds); in TEST_F()
339 const gfx::Rect& root_bounds = root_window()->bounds(); in TEST_F() local
351 keyboard_container->SetBounds(root_bounds); in TEST_F()
423 const gfx::Rect& root_bounds = root_window()->bounds(); in TEST_F() local
431 keyboard_container->SetBounds(root_bounds); in TEST_F()
/external/chromium_org/ash/wm/
Dvideo_detector.cc121 gfx::Rect root_bounds = window->GetRootWindow()->bounds(); in MaybeNotifyObservers() local
122 if (!window->GetBoundsInRootWindow().Intersects(root_bounds)) in MaybeNotifyObservers()
Ddrag_window_resizer_unittest.cc52 gfx::Rect root_bounds(root->bounds()); in SetUp() local
53 EXPECT_EQ(kRootHeight, root_bounds.height()); in SetUp()
54 EXPECT_EQ(800, root_bounds.width()); in SetUp()
/external/chromium_org/ash/magnifier/
Dpartial_magnification_controller.cc85 gfx::Rect root_bounds = current_root->bounds(); in OnMouseEvent() local
87 if (root_bounds.Contains(event->root_location())) { in OnMouseEvent()
Dmagnification_controller.cc581 gfx::Rect root_bounds = current_root->bounds(); in OnMouseEvent() local
583 if (root_bounds.Contains(event->root_location())) { in OnMouseEvent()
620 gfx::Rect root_bounds = current_root->bounds(); in OnTouchEvent() local
621 if (root_bounds.Contains(event->root_location())) in OnTouchEvent()
Dmagnification_controller_unittest.cc36 gfx::Rect root_bounds(root->bounds()); in SetUp() local
41 EXPECT_EQ(kRootHeight, root_bounds.height()); in SetUp()
42 EXPECT_EQ(kRootWidth, root_bounds.width()); in SetUp()
/external/chromium_org/chrome/test/perf/rendering/
Dthroughput_tests.cc223 gfx::Rect root_bounds = browser()->window()->GetBounds(); in TabSnapShotToImage() local
228 gfx::Rect snapshot_bounds(tab_contents_bounds.x() - root_bounds.x(), in TabSnapShotToImage()
229 tab_contents_bounds.y() - root_bounds.y(), in TabSnapShotToImage()
/external/chromium_org/ui/base/x/
Dx11_util.cc586 gfx::Rect root_bounds; in ClearX11DefaultRootWindow() local
587 if (!GetWindowRect(root_window, &root_bounds)) { in ClearX11DefaultRootWindow()
596 root_bounds.x(), in ClearX11DefaultRootWindow()
597 root_bounds.y(), in ClearX11DefaultRootWindow()
598 root_bounds.width(), in ClearX11DefaultRootWindow()
599 root_bounds.height()); in ClearX11DefaultRootWindow()
/external/chromium_org/cc/test/
Dlayer_tree_test.cc503 gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds(); in SetupTree() local
505 gfx::ScaleSize(root_bounds, layer_tree_host_->device_scale_factor())); in SetupTree()
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer_unittest.cc113 gfx::Rect root_bounds(root->bounds()); in SetUp() local
117 EXPECT_EQ(kRootHeight, root_bounds.height()); in SetUp()
119 EXPECT_EQ(800, root_bounds.width()); in SetUp()