ToNearestRect 39 cc/output/overlay_candidate.cc return gfx::ToNearestRect(float_rect); ToNearestRect 57 ui/aura/test/test_screen.cc gfx::Rect new_bounds = gfx::ToNearestRect( ToNearestRect 23 ui/gfx/geometry/rect_conversions.h GFX_EXPORT Rect ToNearestRect(const RectF& rect); ToNearestRect 570 ui/gfx/geometry/rect_unittest.cc TEST(RectTest, ToNearestRect) { ToNearestRect 572 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(rect.ToString(), ToNearestRect(RectF(rect)).ToString()); ToNearestRect 575 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(rect.ToString(), ToNearestRect(RectF(rect)).ToString()); ToNearestRect 578 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(rect.ToString(), ToNearestRect(rectf).ToString());