Home
last modified time | relevance | path

Searched refs:ToEnclosedRect (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/ui/gfx/geometry/
Drect_conversions.h17 GFX_EXPORT Rect ToEnclosedRect(const RectF& rect);
Drect_conversions.cc25 Rect ToEnclosedRect(const RectF& rect) { in ToEnclosedRect() function
Drect_unittest.cc469 TEST(RectTest, ToEnclosedRect) { in TEST() argument
511 Rect enclosed = ToEnclosedRect(r1); in TEST()
/external/chromium_org/cc/layers/
Dpicture_layer.cc72 gfx::Rect rect = gfx::ToEnclosedRect(layer_rect); in SetNeedsDisplayRect()
Dnine_patch_layer_impl_unittest.cc87 EXPECT_RECT_EQ(expected_remaining, gfx::ToEnclosedRect(remaining.bounds())); in NinePatchLayerLayoutTest()
/external/chromium_org/cc/trees/
Docclusion_tracker.cc462 gfx::ToEnclosedRect(screen_space_quad.BoundingBox()); in MarkOccludedBehindLayer()
490 gfx::ToEnclosedRect(screen_space_quad.BoundingBox()); in MarkOccludedBehindLayer()
Dlayer_tree_host_common.cc267 gfx::ToEnclosedRect(layer->render_surface()->DrawableContentRect()); in UpdateAccumulatedSurfaceState()
/external/chromium_org/cc/base/
Dmath_util.cc203 return gfx::ToEnclosedRect(rect + offset); in MapEnclosedRectWith2dAxisAlignedTransform()
222 return gfx::ToEnclosedRect(gfx::BoundingRect(top_left, bottom_right)); in MapEnclosedRectWith2dAxisAlignedTransform()
/external/chromium_org/cc/resources/
Dpicture_layer_tiling_unittest.cc672 gfx::ToEnclosedRect(gfx::ScaleRect(viewport, 0.25f)); in TEST()
679 gfx::ToEnclosedRect(gfx::ScaleRect(soon_rect, 0.25f)); in TEST()
745 gfx::ToEnclosedRect(gfx::ScaleRect(viewport, 0.25f)); in TEST()
751 gfx::ToEnclosedRect(gfx::ScaleRect(soon_rect, 0.25f)); in TEST()
/external/chromium_org/content/renderer/
Drender_widget.cc369 gfx::Rect scaled = gfx::ToEnclosedRect(gfx::ScaleRect(anchor, scale_)); in AdjustValidationMessageAnchor()
/external/chromium_org/ui/native_theme/
Dnative_theme_win.cc1643 gfx::Rect scaled_rect(gfx::ToEnclosedRect(gfx::ScaleRect(rect, scale))); in PaintScaledTheme()