Home
last modified time | relevance | path

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

/external/chromium_org/ui/gfx/
Drect_conversions.h23 GFX_EXPORT Rect ToNearestRect(const RectF& rect);
Drect_conversions.cc35 Rect ToNearestRect(const RectF& rect) { in ToNearestRect() function
Drect_unittest.cc581 TEST(RectTest, ToNearestRect) { in TEST() argument
583 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()
/external/chromium_org/ui/aura/test/
Dtest_screen.cc56 gfx::Rect new_bounds = gfx::ToNearestRect( in SetUIScale()
/external/chromium_org/content/browser/renderer_host/
Dcompositing_iosurface_mac.mm371 ToNearestRect(gfx::ScaleRect(window_rect, window_scale_factor));