Intersects 813 apps/app_window.cc if (window_bounds.Intersects(taskbar_bounds)) Intersects 1340 ash/shelf/shelf_view_unittest.cc ASSERT_FALSE(app_button_rect.Intersects(platform_button_rect)); Intersects 201 ash/shelf/shelf_widget_unittest.cc EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds)); Intersects 229 ash/shelf/shelf_widget_unittest.cc EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds)); Intersects 70 ash/system/chromeos/screen_security/screen_tray_item.cc if (label_->bounds().Intersects(stop_button_->bounds())) { Intersects 93 ash/system/tray/tray_item_more.cc if (label_->bounds().Intersects(more_->bounds())) { Intersects 51 ash/wm/default_state.cc if (!display_area.Intersects(restore_bounds)) { Intersects 561 ash/wm/dock/docked_window_layout_manager.cc if (docked_bounds_.Intersects(bounds) && Intersects 592 ash/wm/immersive_fullscreen_controller_unittest.cc ASSERT_FALSE(top_container()->GetBoundsInScreen().Intersects( Intersects 147 ash/wm/overview/window_selector_unittest.cc return window1_bounds.Intersects(window2_bounds); Intersects 113 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_FALSE(window1_bounds.Intersects(window2_bounds)); Intersects 123 ash/wm/video_detector.cc if (!window->GetBoundsInRootWindow().Intersects(root_bounds)) Intersects 503 ash/wm/window_positioner.cc if (regions[i]->Intersects(gfx::Rect(x + work_area.x(), Intersects 225 ash/wm/window_resizer.cc if (!screen_work_area.Intersects(new_bounds_in_screen)) { Intersects 331 ash/wm/workspace/multi_window_resize_controller.cc Intersects(other->bounds().x(), other->bounds().right(), Intersects 338 ash/wm/workspace/multi_window_resize_controller.cc Intersects(other->bounds().y(), other->bounds().bottom(), Intersects 218 ash/wm/workspace/phantom_window_controller.cc root_windows[i]->GetBoundsInScreen().Intersects( Intersects 134 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); Intersects 171 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); Intersects 179 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); Intersects 183 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); Intersects 195 ash/wm/workspace/workspace_layout_manager_unittest.cc Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); Intersects 393 ash/wm/workspace/workspace_layout_manager_unittest.cc ASSERT_FALSE(window_bounds.Intersects(root_window_bounds)); Intersects 423 ash/wm/workspace/workspace_layout_manager_unittest.cc ASSERT_TRUE(window_bounds.Intersects(root_window_bounds)); Intersects 91 ash/wm/workspace_controller.cc ((*i)->bounds().Intersects(shelf_bounds))) { Intersects 42 cc/base/region.h bool Intersects(const gfx::Rect& rect) const; Intersects 43 cc/base/region.h bool Intersects(const Region& region) const; Intersects 104 cc/base/region_unittest.cc EXPECT_FALSE(ar.Intersects(br)); \ Intersects 105 cc/base/region_unittest.cc EXPECT_FALSE(br.Intersects(ar)); \ Intersects 106 cc/base/region_unittest.cc EXPECT_FALSE(ar.Intersects(b)); \ Intersects 107 cc/base/region_unittest.cc EXPECT_FALSE(br.Intersects(a)); \ Intersects 113 cc/base/region_unittest.cc EXPECT_TRUE(ar.Intersects(br)); \ Intersects 114 cc/base/region_unittest.cc EXPECT_TRUE(br.Intersects(ar)); \ Intersects 115 cc/base/region_unittest.cc EXPECT_TRUE(ar.Intersects(b)); \ Intersects 116 cc/base/region_unittest.cc EXPECT_TRUE(br.Intersects(a)); \ Intersects 307 cc/base/tiling_data.cc if (!top_left_tile.Intersects(rect)) Intersects 938 cc/base/tiling_data_unittest.cc EXPECT_TRUE(bounds.Intersects(rect)); Intersects 941 cc/base/tiling_data_unittest.cc EXPECT_FALSE(bounds.Intersects(rect)); Intersects 1140 cc/base/tiling_data_unittest.cc if (bounds.Intersects(consider) && !bounds.Intersects(ignore)) Intersects 834 cc/layers/picture_layer_impl.cc if (!missing_region.Intersects(iter.geometry_rect())) Intersects 454 cc/layers/picture_layer_impl_unittest.cc if (iter.geometry_rect().Intersects(content_invalidation)) Intersects 1305 cc/layers/picture_layer_impl_unittest.cc if (pending_layer_->visible_content_rect().Intersects(tile_bounds)) { Intersects 445 cc/resources/picture.cc if (!query_rect.Intersects(layer_rect)) { Intersects 105 cc/resources/picture_layer_tiling.cc if (!client_->GetInvalidation()->Intersects(rect)) { Intersects 232 cc/resources/picture_layer_tiling_set_unittest.cc EXPECT_TRUE(tile->content_rect().Intersects(tiling->live_tiles_rect())) Intersects 381 cc/resources/picture_layer_tiling_set_unittest.cc if (content_invalidation.Intersects(tile->content_rect())) Intersects 82 cc/resources/picture_layer_tiling_unittest.cc EXPECT_TRUE(live_tiles_rect.Intersects((*iter)->content_rect())); Intersects 441 cc/resources/picture_layer_tiling_unittest.cc if (viewport_in_content_space.Intersects(tile->content_rect())) { Intersects 499 cc/resources/picture_layer_tiling_unittest.cc if (viewport_in_content_space.Intersects(tile->content_rect())) { Intersects 505 cc/resources/picture_layer_tiling_unittest.cc } else if (skewport.Intersects(tile->content_rect())) { Intersects 1041 cc/resources/picture_layer_tiling_unittest.cc EXPECT_FALSE(viewport_rect.Intersects(gfx::Rect(layer_bounds))); Intersects 1054 cc/resources/picture_layer_tiling_unittest.cc bool intersects = rect.Intersects(geometry_rect); Intersects 207 cc/resources/picture_pile.cc } else if (!info.GetPicture() && recorded_viewport_.Intersects(rect)) { Intersects 285 cc/resources/picture_pile_impl.cc DCHECK(!total_clip.Intersects(positive_clip)); Intersects 843 cc/resources/picture_pile_impl_unittest.cc bitmap_rects[0].Intersects(pile->tiling().TileBoundsWithBorder(1, 0))); Intersects 844 cc/resources/picture_pile_impl_unittest.cc EXPECT_FALSE(bitmap_rects[0].Intersects(pile->tiling().TileBounds(1, 0))); Intersects 846 cc/resources/picture_pile_impl_unittest.cc bitmap_rects[1].Intersects(pile->tiling().TileBoundsWithBorder(0, 0))); Intersects 847 cc/resources/picture_pile_impl_unittest.cc EXPECT_FALSE(bitmap_rects[1].Intersects(pile->tiling().TileBounds(0, 0))); Intersects 849 cc/resources/picture_pile_impl_unittest.cc bitmap_rects[1].Intersects(pile->tiling().TileBoundsWithBorder(2, 0))); Intersects 850 cc/resources/picture_pile_impl_unittest.cc EXPECT_FALSE(bitmap_rects[1].Intersects(pile->tiling().TileBounds(2, 0))); Intersects 852 cc/resources/picture_pile_impl_unittest.cc bitmap_rects[2].Intersects(pile->tiling().TileBoundsWithBorder(1, 0))); Intersects 853 cc/resources/picture_pile_impl_unittest.cc EXPECT_FALSE(bitmap_rects[2].Intersects(pile->tiling().TileBounds(1, 0))); Intersects 270 cc/resources/picture_pile_unittest.cc EXPECT_TRUE(tile01_borders.Intersects(tile02_borders)); Intersects 271 cc/resources/picture_pile_unittest.cc EXPECT_FALSE(tile01_noborders.Intersects(tile02_noborders)); Intersects 86 cc/test/layer_test_common.cc target_rect.Intersects(occluded) && Intersects 92 cc/trees/layer_sorter.cc if (!a->projected_bounds.Intersects(b->projected_bounds)) Intersects 710 cc/trees/layer_tree_host_impl.cc !root_surface->damage_tracker()->current_damage_rect().Intersects( Intersects 459 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_FALSE(content_rect.Intersects(scrollbar_rect)); Intersects 491 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_FALSE(root_damage.Intersects(gfx::Rect(300, 300, 10, 100))); Intersects 573 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_FALSE(root_damage.Intersects(gfx::Rect(300, 300, 10, 100))); Intersects 196 chrome/browser/ui/find_bar/find_bar_controller.cc avoid_overlapping_rect.Intersects(new_pos)) { Intersects 143 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc if (!line_rect.Intersects(damage_rect)) Intersects 554 chrome/browser/ui/gtk/browser_toolbar_gtk.cc bool draw_left_corner = left.Intersects(gfx::Rect(e->area)); Intersects 555 chrome/browser/ui/gtk/browser_toolbar_gtk.cc bool draw_right_corner = right.Intersects(gfx::Rect(e->area)); Intersects 646 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc if (!line_rect.Intersects(damage_rect)) Intersects 1825 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (!expose_rect.Intersects(strikethrough_rect)) Intersects 277 chrome/browser/ui/views/frame/glass_browser_frame_view.cc avatar_button()->GetMirroredBounds().Intersects(rect); Intersects 279 chrome/browser/ui/views/frame/glass_browser_frame_view.cc new_avatar_button()->GetMirroredBounds().Intersects(rect); Intersects 281 chrome/browser/ui/views/frame/glass_browser_frame_view.cc !frame()->client_view()->bounds().Intersects(rect); Intersects 135 chrome/browser/ui/views/speech_recognition_bubble_views.cc if (!container_rect.Intersects(anchor)) Intersects 364 chrome/browser/ui/views/tabs/tab.cc return contents_bounds.Intersects(rect) ? this : parent(); Intersects 946 chrome/browser/ui/views/tabs/tab_strip.cc if (newtab_button_->GetLocalBounds().Intersects(rect_in_newtab_coords) && Intersects 400 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(tab_bounds.Intersects(contents_bounds)); Intersects 163 content/browser/renderer_host/backing_store_manager.cc DCHECK(!rects[i].Intersects(rects[j])); Intersects 190 content/plugin/webplugin_proxy.cc !delegate_->GetClipRect().Intersects(damaged_rect_)) Intersects 123 content/renderer/paint_aggregator.cc if (rect.Intersects(existing_rect) || rect.SharesEdgeWith(existing_rect)) { Intersects 203 content/renderer/paint_aggregator.cc } else if (update_.scroll_rect.Intersects(update_.paint_rects[i])) { Intersects 227 content/renderer/paint_aggregator.cc if (!update_.scroll_rect.Intersects(rect)) Intersects 1274 content/renderer/pepper/pepper_plugin_instance_impl.cc if (relative_paint_bounds.Intersects(*iter)) Intersects 81 ppapi/cpp/rect.cc if (!Intersects(rect)) Intersects 340 ppapi/cpp/rect.h bool Intersects(const Rect& rect) const; Intersects 122 ppapi/utility/graphics/paint_aggregator.cc if (rect.Intersects(existing_rect) || rect.SharesEdgeWith(existing_rect)) { Intersects 193 ppapi/utility/graphics/paint_aggregator.cc } else if (update_.scroll_rect.Intersects(update_.paint_rects[i])) { Intersects 218 ppapi/utility/graphics/paint_aggregator.cc if (!update_.scroll_rect.Intersects(rect)) Intersects 1129 ui/app_list/views/apps_grid_view.cc const bool current_visible = visible_bounds.Intersects(current); Intersects 1130 ui/app_list/views/apps_grid_view.cc const bool target_visible = visible_bounds.Intersects(target); Intersects 112 ui/gfx/geometry/rect_base.h bool Intersects(const Class& rect) const; Intersects 152 ui/gfx/geometry/rect_base_impl.h Intersects(const Class& rect) const { Intersects 213 ui/gfx/geometry/rect_base_impl.h if (!Intersects(rect)) Intersects 46 ui/gfx/geometry/rect_unittest.cc TEST(RectTest, Intersects) { Intersects 72 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(tests[i].intersects, r1.Intersects(r2)); Intersects 73 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(tests[i].intersects, r2.Intersects(r1)); Intersects 85 ui/gfx/range/range.h bool Intersects(const Range& range) const; Intersects 156 ui/gfx/range/range_unittest.cc EXPECT_TRUE(r1.Intersects(r1)); Intersects 160 ui/gfx/range/range_unittest.cc EXPECT_FALSE(r1.Intersects(r2)); Intersects 163 ui/gfx/range/range_unittest.cc EXPECT_FALSE(r2.Intersects(r1)); Intersects 167 ui/gfx/range/range_unittest.cc EXPECT_TRUE(r1.Intersects(r3)); Intersects 168 ui/gfx/range/range_unittest.cc EXPECT_TRUE(r3.Intersects(r1)); Intersects 174 ui/gfx/range/range_unittest.cc EXPECT_TRUE(r2.Intersects(r3)); Intersects 175 ui/gfx/range/range_unittest.cc EXPECT_TRUE(r3.Intersects(r2)); Intersects 204 ui/gfx/range/range_unittest.cc EXPECT_FALSE(invalid.Intersects(invalid)); Intersects 205 ui/gfx/range/range_unittest.cc EXPECT_FALSE(invalid.Intersects(r1)); Intersects 207 ui/gfx/range/range_unittest.cc EXPECT_FALSE(r1.Intersects(invalid)); Intersects 813 ui/gfx/render_text_win.cc if (!display_rect().Intersects(Rect(PointAtOffsetFromOrigin(line_offset), Intersects 833 ui/gfx/render_text_win.cc if (!display_rect().Intersects(segment_bounds)) { Intersects 27 ui/views/controls/single_split_view_unittest.cc EXPECT_FALSE(leading->bounds().Intersects(trailing->bounds())); Intersects 920 ui/views/view.cc if (GetLocalBounds().Intersects(rect)) { Intersects 309 ui/views/window/non_client_view.cc return !GetWidget()->client_view()->bounds().Intersects(rect);