Searched refs:CenterPoint (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/ui/gfx/geometry/ |
D | rect_unittest.cc | 330 TEST(RectTest, CenterPoint) { in TEST() argument 334 center = Rect(0, 0, 20, 20).CenterPoint(); in TEST() 338 center = Rect(10, 10, 20, 20).CenterPoint(); in TEST() 342 center = Rect(11, 11, 20, 20).CenterPoint(); in TEST() 346 center = Rect(10, 10, 0, 20).CenterPoint(); in TEST() 348 center = Rect(10, 10, 20, 0).CenterPoint(); in TEST() 352 center = Rect(10, 10, 21, 21).CenterPoint(); in TEST() 356 center = Rect(11, 11, 21, 21).CenterPoint(); in TEST() 364 center = RectF(0, 0, 20, 20).CenterPoint(); in TEST() 368 center = RectF(10, 10, 20, 20).CenterPoint(); in TEST() [all …]
|
D | rect_f.h | 146 PointF CenterPoint() const;
|
D | rect_f.cc | 174 PointF RectF::CenterPoint() const { in CenterPoint() function in gfx::RectF
|
D | rect.h | 186 Point CenterPoint() const;
|
D | rect.cc | 248 Point Rect::CenterPoint() const { in CenterPoint() function in gfx::Rect
|