Home
last modified time | relevance | path

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

/external/libchrome/ui/gfx/geometry/
Drect_unittest.cc330 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 …]
Drect_f.h146 PointF CenterPoint() const;
Drect_f.cc174 PointF RectF::CenterPoint() const { in CenterPoint() function in gfx::RectF
Drect.h186 Point CenterPoint() const;
Drect.cc248 Point Rect::CenterPoint() const { in CenterPoint() function in gfx::Rect