Searched refs:HitTestRect (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab_strip_unittest.cc | 366 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 2, 2))); in TEST_F() 367 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 1, 1))); in TEST_F() 368 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 1, 1))); in TEST_F() 369 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 25, 35))); in TEST_F() 370 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(-10, -5, 20, 30))); in TEST_F() 373 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, 15, 2, 2))); in TEST_F() 374 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, -15, 30, 40))); in TEST_F() 375 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(87, 20, 5, 3))); in TEST_F() 378 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 1, 1))); in TEST_F() 379 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 3, 19))); in TEST_F() [all …]
|
D | tab_strip.cc | 919 !newtab_button_->HitTestRect(rect_in_newtab_coords)) in IsRectInWindowCaption()
|
/external/chromium_org/ui/views/ |
D | view_targeter_unittest.cc | 548 EXPECT_TRUE(v1->HitTestRect(ConvertRectFromWidgetToView(v1, r1))); in TEST_F() 549 EXPECT_FALSE(v2->HitTestRect(ConvertRectFromWidgetToView(v2, r1))); in TEST_F() 551 EXPECT_FALSE(v1->HitTestRect(ConvertRectFromWidgetToView(v1, r2))); in TEST_F() 552 EXPECT_TRUE(v2->HitTestRect(ConvertRectFromWidgetToView(v2, r2))); in TEST_F() 554 EXPECT_TRUE(v1->HitTestRect(ConvertRectFromWidgetToView(v1, r3))); in TEST_F() 555 EXPECT_TRUE(v2->HitTestRect(ConvertRectFromWidgetToView(v2, r3))); in TEST_F() 557 EXPECT_FALSE(v1->HitTestRect(ConvertRectFromWidgetToView(v1, r4))); in TEST_F() 558 EXPECT_FALSE(v2->HitTestRect(ConvertRectFromWidgetToView(v2, r4))); in TEST_F()
|
D | view_targeter_delegate.cc | 56 if (!child->HitTestRect(rect_in_child_coords)) in TargetForRect()
|
D | view.h | 585 bool HitTestRect(const gfx::Rect& rect) const;
|
D | view.cc | 894 return HitTestRect(gfx::Rect(point, gfx::Size(1, 1))); in HitTestPoint() 897 bool View::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in views::View
|
/external/chromium_org/ui/views/window/ |
D | non_client_view.cc | 234 if (frame_view_->HitTestRect(rect_in_child_coords)) in TargetForRect()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | opaque_browser_frame_view.cc | 500 if (!frame()->client_view()->HitTestRect(rect_in_client_view_coords)) in DoesIntersectRect() 518 if (tabstrip->HitTestRect(rect_in_tabstrip_coords)) { in DoesIntersectRect()
|
D | browser_non_client_frame_view_ash.cc | 465 return !tabstrip->HitTestRect(rect_in_tabstrip_coords) || in DoesIntersectRect()
|
/external/chromium_org/ash/frame/ |
D | custom_frame_view_ash.cc | 425 return header_view_->HitTestRect(rect); in DoesIntersectRect()
|