/external/chromium_org/ash/display/ |
D | mouse_cursor_event_filter.cc | 122 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/ |
D | keyboard_controller_unittest.cc | 255 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/ |
D | video_detector.cc | 121 gfx::Rect root_bounds = window->GetRootWindow()->bounds(); in MaybeNotifyObservers() local 122 if (!window->GetBoundsInRootWindow().Intersects(root_bounds)) in MaybeNotifyObservers()
|
D | drag_window_resizer_unittest.cc | 52 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/ |
D | partial_magnification_controller.cc | 85 gfx::Rect root_bounds = current_root->bounds(); in OnMouseEvent() local 87 if (root_bounds.Contains(event->root_location())) { in OnMouseEvent()
|
D | magnification_controller.cc | 581 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()
|
D | magnification_controller_unittest.cc | 36 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/ |
D | throughput_tests.cc | 223 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/ |
D | x11_util.cc | 586 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/ |
D | layer_tree_test.cc | 503 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/ |
D | workspace_window_resizer_unittest.cc | 113 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()
|