Searched defs:clip_rect (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium_org/skia/ext/
H A Dlazy_pixel_ref.h22 SkIRect clip_rect; member in struct:skia::LazyPixelRef::PrepareParams
H A Dbitmap_platform_device_mac_unittest.cc41 SkRect clip_rect = gfx::CGRectToSkRect(CGContextGetClipBoundingBox(context)); local
42 transform.mapRect(&clip_rect);
43 EXPECT_EQ(0, clip_rect.fLeft);
44 EXPECT_EQ(0, clip_rect.fTop);
45 EXPECT_EQ(kWidth, clip_rect.width());
46 EXPECT_EQ(kHeight, clip_rect.height());
61 SkRect clip_rect = gfx::CGRectToSkRect(CGContextGetClipBoundingBox(context)); local
62 transform.mapRect(&clip_rect);
63 EXPECT_EQ(0, clip_rect.fLeft);
64 EXPECT_EQ(0, clip_rect
[all...]
/external/chromium_org/content/common/
H A Dwebplugin_geometry.h39 gfx::Rect clip_rect; member in struct:content::WebPluginGeometry
/external/chromium_org/cc/quads/
H A Dshared_quad_state.h38 const gfx::Rect& clip_rect,
52 gfx::Rect clip_rect; member in class:cc::SharedQuadState
H A Dshared_quad_state.cc34 const gfx::Rect& clip_rect,
42 this->clip_rect = clip_rect;
64 value->BeginArray("clip_rect");
65 MathUtil::AddToTracedValue(clip_rect, value);
31 SetAll(const gfx::Transform& content_to_target_transform, const gfx::Size& content_bounds, const gfx::Rect& visible_content_rect, const gfx::Rect& clip_rect, bool is_clipped, float opacity, SkXfermode::Mode blend_mode, int sorting_context_id) argument
/external/chromium_org/chrome/browser/thumbnails/
H A Dsimple_thumbnail_crop_unittest.cc204 gfx::Rect clip_rect = SimpleThumbnailCrop::GetClippingRect( local
207 EXPECT_EQ(gfx::Point(0, 0).ToString(), clip_rect.origin().ToString());
208 EXPECT_EQ(desired_size.ToString(), clip_rect.size().ToString());
211 clip_rect = SimpleThumbnailCrop::GetClippingRect(
214 EXPECT_EQ(gfx::Point(0, 0).ToString(), clip_rect.origin().ToString());
215 EXPECT_EQ(500, clip_rect.width());
216 EXPECT_GE(1200, clip_rect.height());
218 clip_rect = SimpleThumbnailCrop::GetClippingRect(
222 EXPECT_EQ(0, clip_rect.y());
223 EXPECT_LT(0, clip_rect
[all...]
/external/chromium_org/mojo/examples/surfaces_app/
H A Dsurfaces_util.cc23 const gfx::Rect clip_rect = gfx::Rect(size); local
31 clip_rect,
/external/chromium_org/ppapi/shared_impl/
H A Dppb_view_shared.h27 PP_Rect clip_rect; member in struct:ppapi::ViewData
H A Dcompositor_layer_data.h47 clip_rect(PP_MakeRectFromXYWH(0, 0, 0, 0)),
54 PP_Rect clip_rect; member in struct:ppapi::CompositorLayerData::LayerCommon
/external/chromium_org/content/renderer/
H A Drender_view_impl_android.cc70 blink::WebRect clip_rect; local
71 webview()->extractSmartClipData(rect, clip_text, clip_html, clip_rect);
73 routing_id_, clip_text, clip_html, clip_rect));
/external/chromium_org/ui/gfx/
H A Dcanvas_unittest.cc56 gfx::Rect clip_rect; local
57 ASSERT_TRUE(canvas.GetClipBounds(&clip_rect));
60 EXPECT_TRUE(clip_rect.Contains(gfx::Rect(100, 0, 20, 2)));
/external/chromium_org/cc/output/
H A Dsoftware_output_device.cc53 const gfx::Rect& clip_rect) {
52 Scroll(const gfx::Vector2d& delta, const gfx::Rect& clip_rect) argument
/external/chromium_org/content/child/npapi/
H A Dwebplugin_delegate_impl_android.cc54 const gfx::Rect& clip_rect) {
63 const gfx::Rect& clip_rect) {
52 WindowedReposition( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
61 WindowlessUpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
H A Dwebplugin_delegate_impl_aura.cc41 const gfx::Rect& clip_rect) {
50 const gfx::Rect& clip_rect) {
39 WindowedReposition( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
48 WindowlessUpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
/external/chromium_org/ppapi/thunk/
H A Dppb_graphics_2d_thunk.cc63 const struct PP_Rect* clip_rect,
69 enter.object()->Scroll(clip_rect, amount);
62 Scroll(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount) argument
/external/chromium_org/ppapi/utility/graphics/
H A Dpaint_manager.cc88 void PaintManager::ScrollRect(const Rect& clip_rect, const Point& amount) { argument
93 aggregator_.ScrollRect(clip_rect, amount);
H A Dpaint_aggregator.cc152 void PaintAggregator::ScrollRect(const Rect& clip_rect, const Point& amount) { argument
155 InvalidateRect(clip_rect);
160 if (!update_.scroll_rect.IsEmpty() && update_.scroll_rect != clip_rect) {
161 InvalidateRect(clip_rect);
169 InvalidateRect(clip_rect);
175 update_.scroll_rect = clip_rect;
/external/chromium_org/remoting/codec/
H A Dvideo_decoder_verbatim.cc85 webrtc::DesktopRect clip_rect = webrtc::DesktopRect::MakeSize(screen_size_); local
86 clip_rect.IntersectWith(clip_area);
87 if (clip_rect.is_empty())
95 rect.IntersectWith(clip_rect);
100 clip_rect,
/external/chromium_org/cc/layers/
H A Ddraw_properties.h68 // True if the layer needs to be clipped by clip_rect.
88 gfx::Rect clip_rect; member in struct:cc::DrawProperties
H A Drender_surface.h90 gfx::Rect clip_rect() const { return clip_rect_; } function in class:cc::RenderSurface
91 void SetClipRect(const gfx::Rect& clip_rect) { clip_rect_ = clip_rect; } argument
H A Drender_surface_impl.cc61 void RenderSurfaceImpl::SetClipRect(const gfx::Rect& clip_rect) { argument
62 if (clip_rect_ == clip_rect)
66 clip_rect_ = clip_rect;
80 // - surface_property_changed_ is flagged when the clip_rect or content_rect
H A Drender_surface_impl.h106 void SetClipRect(const gfx::Rect& clip_rect);
107 gfx::Rect clip_rect() const { return clip_rect_; } function in class:cc::RenderSurfaceImpl
/external/chromium_org/cc/surfaces/
H A Dsurfaces_pixeltest.cc47 const gfx::Rect clip_rect = gfx::Rect(size); local
55 clip_rect,
/external/chromium_org/pdf/
H A Dpaint_manager.cc122 void PaintManager::ScrollRect(const pp::Rect& clip_rect, argument
131 aggregator_.ScrollRect(clip_rect, amount);
/external/chromium_org/ppapi/proxy/
H A Dgraphics_2d_resource.cc75 void Graphics2DResource::Scroll(const PP_Rect* clip_rect, argument
80 !!clip_rect, clip_rect ? *clip_rect : dummy, *amount));

Completed in 439 milliseconds

123