Home
last modified time | relevance | path

Searched refs:SharesEdgeWith (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Drect_unittest.cc390 TEST(RectTest, SharesEdgeWith) { in TEST() argument
394 EXPECT_FALSE(r.SharesEdgeWith(r)); in TEST()
401 EXPECT_TRUE(r.SharesEdgeWith(just_above)); in TEST()
402 EXPECT_TRUE(r.SharesEdgeWith(just_below)); in TEST()
403 EXPECT_TRUE(r.SharesEdgeWith(just_left)); in TEST()
404 EXPECT_TRUE(r.SharesEdgeWith(just_right)); in TEST()
410 EXPECT_FALSE(r.SharesEdgeWith(same_height_no_edge)); in TEST()
411 EXPECT_FALSE(r.SharesEdgeWith(same_width_no_edge)); in TEST()
418 EXPECT_FALSE(r.SharesEdgeWith(just_above_no_edge)); in TEST()
419 EXPECT_FALSE(r.SharesEdgeWith(just_below_no_edge)); in TEST()
[all …]
Drect_f.h157 bool SharesEdgeWith(const RectF& rect) const;
Drect_f.cc195 bool RectF::SharesEdgeWith(const RectF& rect) const { in SharesEdgeWith() function in gfx::RectF
Drect.cc269 bool Rect::SharesEdgeWith(const Rect& rect) const { in SharesEdgeWith() function in gfx::Rect
Drect.h197 bool SharesEdgeWith(const Rect& rect) const;