Searched refs:clip_rect (Results 1 - 25 of 126) sorted by relevance

123456

/external/chromium_org/skia/ext/
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...]
H A Dlazy_pixel_ref.h22 SkIRect clip_rect; member in struct:skia::LazyPixelRef::PrepareParams
/external/chromium_org/content/common/
H A Dwebplugin_geometry.cc21 clip_rect == rhs.clip_rect &&
H A Dwebplugin_geometry.h39 gfx::Rect clip_rect; member in struct:content::WebPluginGeometry
/external/chromium_org/ppapi/shared_impl/
H A Dppb_view_shared.cc34 clip_rect.point.x == other.clip_rect.point.x &&
35 clip_rect.point.y == other.clip_rect.point.y &&
36 clip_rect.size.width == other.clip_rect.size.width &&
37 clip_rect.size.height == other.clip_rect.size.height &&
66 return PP_FromBool(data_.is_page_visible && IsRectNonempty(data_.clip_rect));
76 *clip = data_.clip_rect;
[all...]
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/mojo/examples/surfaces_app/
H A Dsurfaces_util.cc23 const gfx::Rect clip_rect = gfx::Rect(size); local
31 clip_rect,
/external/chromium_org/cc/quads/
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
H A Dshared_quad_state.h38 const gfx::Rect& clip_rect,
52 gfx::Rect clip_rect; member in class:cc::SharedQuadState
/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/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
H A Dwebplugin_delegate_impl.cc129 const gfx::Rect& clip_rect) {
142 WindowlessUpdateGeometry(window_rect, clip_rect);
144 WindowedUpdateGeometry(window_rect, clip_rect);
252 const gfx::Rect& clip_rect) {
253 if (WindowedReposition(window_rect, clip_rect) ||
127 UpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
250 WindowedUpdateGeometry( const gfx::Rect& window_rect, const gfx::Rect& clip_rect) argument
/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/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/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/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));
/external/chromium_org/ppapi/c/
H A Dppb_graphics_2d.h154 const struct PP_Rect* clip_rect,
296 const struct PP_Rect* clip_rect,
/external/chromium_org/cc/layers/
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
/external/chromium_org/cc/output/
H A Dsoftware_output_device.h55 // write clipped to |clip_rect|.
56 virtual void Scroll(const gfx::Vector2d& delta, const gfx::Rect& clip_rect);
/external/chromium_org/mojo/services/public/cpp/surfaces/lib/
H A Dsurfaces_utils.cc19 sqs->clip_rect = Rect::From(gfx::Rect(size));
/external/chromium_org/ppapi/thunk/
H A Dppb_graphics_2d_api.h31 virtual void Scroll(const PP_Rect* clip_rect,
/external/chromium_org/ppapi/utility/graphics/
H A Dpaint_aggregator.h115 /// @param[in] clip_rect The rect to scroll.
117 void ScrollRect(const Rect& clip_rect, const Point& 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/pdf/
H A Dpaint_aggregator.cc126 void PaintAggregator::ScrollRect(const pp::Rect& clip_rect, argument
130 InvalidateRect(clip_rect);
135 if (!update_.scroll_rect.IsEmpty() && update_.scroll_rect != clip_rect) {
136 InvalidateRect(clip_rect);
144 InvalidateRect(clip_rect);
150 update_.scroll_rect = clip_rect;

Completed in 758 milliseconds

123456