Searched refs:ToNearestRect (Results 1 – 5 of 5) sorted by relevance
23 GFX_EXPORT Rect ToNearestRect(const RectF& rect);
35 Rect ToNearestRect(const RectF& rect) { in ToNearestRect() function
581 TEST(RectTest, ToNearestRect) { in TEST() argument583 EXPECT_EQ(rect.ToString(), ToNearestRect(RectF(rect)).ToString()); in TEST()586 EXPECT_EQ(rect.ToString(), ToNearestRect(RectF(rect)).ToString()); in TEST()589 EXPECT_EQ(rect.ToString(), ToNearestRect(rectf).ToString()); in TEST()
56 gfx::Rect new_bounds = gfx::ToNearestRect( in SetUIScale()
371 ToNearestRect(gfx::ScaleRect(window_rect, window_scale_factor));