Searched refs:content_rect (Results 1 - 25 of 92) sorted by relevance

1234

/external/chromium_org/cc/resources/
H A Dskpicture_content_layer_updater.cc26 gfx::Rect content_rect,
32 picture_.beginRecording(content_rect.width(), content_rect.height());
36 content_rect,
43 duration, content_rect.width() * content_rect.height());
25 PrepareToUpdate( gfx::Rect content_rect, gfx::Size, float contents_width_scale, float contents_height_scale, gfx::Rect* resulting_opaque_rect) argument
H A Dresource_update.cc15 gfx::Rect content_rect,
18 CHECK(content_rect.Contains(source_rect));
22 update.content_rect = content_rect;
31 gfx::Rect content_rect,
34 CHECK(content_rect.Contains(source_rect));
39 update.content_rect = content_rect;
13 Create(PrioritizedResource* texture, const SkBitmap* bitmap, gfx::Rect content_rect, gfx::Rect source_rect, gfx::Vector2d dest_offset) argument
28 CreateFromCanvas( PrioritizedResource* resource, const skia::RefPtr<SkCanvas>& canvas, gfx::Rect content_rect, gfx::Rect source_rect, gfx::Vector2d dest_offset) argument
H A Dcontent_layer_updater.cc36 gfx::Rect content_rect,
42 canvas->translate(SkFloatToScalar(-content_rect.x()),
43 SkFloatToScalar(-content_rect.y()));
45 gfx::Rect layer_rect = content_rect;
52 content_rect, 1.f / contents_width_scale, 1.f / contents_height_scale);
71 content_rect_ = content_rect;
35 PaintContents(SkCanvas* canvas, gfx::Rect content_rect, float contents_width_scale, float contents_height_scale, gfx::Rect* resulting_opaque_rect) argument
H A Dresource_update.h24 gfx::Rect content_rect,
29 gfx::Rect content_rect,
39 gfx::Rect content_rect; member in struct:cc::ResourceUpdate
H A Dcontent_layer_updater.h33 gfx::Rect content_rect,
37 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::ContentLayerUpdater
H A Dlayer_painter.h23 gfx::Rect content_rect,
H A Dbitmap_content_layer_updater.cc58 gfx::Rect content_rect,
65 if (canvas_size_ != content_rect.size()) {
68 canvas_size_ = content_rect.size();
76 content_rect,
84 content_rect.width() * content_rect.height());
96 content_rect(),
57 PrepareToUpdate( gfx::Rect content_rect, gfx::Size tile_size, float contents_width_scale, float contents_height_scale, gfx::Rect* resulting_opaque_rect) argument
H A Dlayer_tiling_data.cc69 void LayerTilingData::ContentRectToTileIndices(gfx::Rect content_rect, argument
78 DCHECK(!content_rect.IsEmpty());
80 *left = tiling_data_.TileXIndexFromSrcCoord(content_rect.x());
81 *top = tiling_data_.TileYIndexFromSrcCoord(content_rect.y());
82 *right = tiling_data_.TileXIndexFromSrcCoord(content_rect.right() - 1);
83 *bottom = tiling_data_.TileYIndexFromSrcCoord(content_rect.bottom() - 1);
93 gfx::Rect content_rect) const {
94 if (content_rect.IsEmpty())
99 ContentRectToTileIndices(content_rect, &left, &top, &right, &bottom);
107 gfx::IntersectRects(content_rect, til
[all...]
H A Dcaching_bitmap_content_layer_updater.h21 virtual void PrepareToUpdate(gfx::Rect content_rect,
H A Dskpicture_content_layer_updater.h17 // This class records the content_rect into an SkPicture. Subclasses, provide
33 virtual void PrepareToUpdate(gfx::Rect content_rect,
H A Dcaching_bitmap_content_layer_updater.cc36 gfx::Rect content_rect,
41 BitmapContentLayerUpdater::PrepareToUpdate(content_rect,
35 PrepareToUpdate( gfx::Rect content_rect, gfx::Size tile_size, float contents_width_scale, float contents_height_scale, gfx::Rect* resulting_opaque_rect) argument
H A Dtile.cc19 gfx::Rect content_rect,
27 content_rect_(content_rect),
50 res->Set("content_rect", MathUtil::AsValue(content_rect_).release());
16 Tile(TileManager* tile_manager, PicturePileImpl* picture_pile, gfx::Size tile_size, gfx::Rect content_rect, gfx::Rect opaque_rect, float contents_scale, int layer_id, int source_frame_number, bool can_use_lcd_text) argument
H A Dpicture_pile_impl.cc111 gfx::Rect content_rect(gfx::ToCeiledSize(total_content_size));
112 gfx::Rect deflated_content_rect = content_rect;
113 content_rect.Intersect(canvas_rect);
124 gfx::Rect inflated_content_rect = content_rect;
151 gfx::Rect content_rect = total_content_rect; local
152 content_rect.Intersect(canvas_rect);
156 content_rect, 1.f / contents_scale);
158 canvas->clipRect(gfx::RectToSkRect(content_rect),
160 Region unclipped(content_rect);
260 // We should always paint some part of |content_rect|
283 AnalyzeInRect(gfx::Rect content_rect, float contents_scale, PicturePileImpl::Analysis* analysis) argument
315 PixelRefIterator( gfx::Rect content_rect, float contents_scale, const PicturePileImpl* picture_pile) argument
[all...]
/external/chromium_org/printing/
H A Dprinted_page.cc29 const gfx::Size& paper_size, gfx::Rect* content_rect) const {
30 *content_rect = page_content_rect();
33 content_rect->set_x(content_rect->x() + diff / 2);
37 content_rect->set_y(content_rect->y() + diff / 2);
/external/chromium/chrome/browser/ui/window_snapshot/
H A Dwindow_snapshot_win.cc23 RECT content_rect = {0, 0, 0, 0}; local
24 ::GetWindowRect(window_handle, &content_rect);
25 content_rect.right++; // Match what PrintWindow wants.
26 int width = content_rect.right - content_rect.left;
27 int height = content_rect.bottom - content_rect.top;
/external/chromium_org/cc/quads/
H A Dpicture_draw_quad.cc28 gfx::Rect content_rect,
35 this->content_rect = content_rect;
49 gfx::Rect content_rect,
57 this->content_rect = content_rect;
76 value->Set("content_rect", MathUtil::AsValue(content_rect).release());
22 SetNew(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, const gfx::RectF& tex_coord_rect, gfx::Size texture_size, bool swizzle_contents, gfx::Rect content_rect, float contents_scale, bool can_draw_direct_to_backbuffer, scoped_refptr<PicturePileImpl> picture_pile) argument
41 SetAll(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, gfx::Rect visible_rect, bool needs_blending, const gfx::RectF& tex_coord_rect, gfx::Size texture_size, bool swizzle_contents, gfx::Rect content_rect, float contents_scale, bool can_draw_direct_to_backbuffer, scoped_refptr<PicturePileImpl> picture_pile) argument
H A Dpicture_draw_quad.h31 gfx::Rect content_rect,
44 gfx::Rect content_rect,
49 gfx::Rect content_rect; member in class:cc::PictureDrawQuad
/external/chromium_org/ui/snapshot/
H A Dsnapshot_win.cc19 RECT content_rect = {0, 0, 0, 0}; local
21 ::GetWindowRect(window_handle, &content_rect);
27 content_rect = monitor_info.rcMonitor;
30 content_rect.right++; // Match what PrintWindow wants.
32 return gfx::Rect(content_rect.right - content_rect.left,
33 content_rect.bottom - content_rect.top);
/external/chromium_org/cc/layers/
H A Dcontent_layer_unittest.cc36 gfx::Rect content_rect(10, 10, 100, 100);
49 updater->PrepareToUpdate(content_rect,
H A Drender_surface_unittest.cc48 // Currently, the content_rect, clip_rect, and
96 gfx::Rect content_rect(0, 0, 50, 50);
103 render_surface->SetContentRect(content_rect);
125 EXPECT_RECT_EQ(content_rect,
159 gfx::Rect content_rect(0, 0, 50, 50);
164 render_surface->SetContentRect(content_rect);
174 EXPECT_RECT_EQ(content_rect, pass->output_rect);
H A Drender_surface.h32 void SetContentRect(gfx::Rect content_rect) { content_rect_ = content_rect; } argument
33 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::RenderSurface
H A Dcontent_layer.cc27 gfx::Rect content_rect,
30 client_->PaintContents(canvas, content_rect, opaque);
32 double pixels_per_sec = (content_rect.width() * content_rect.height()) /
26 Paint(SkCanvas* canvas, gfx::Rect content_rect, gfx::RectF* opaque) argument
H A Dnine_patch_layer.cc65 gfx::Rect content_rect(0, 0, bitmap_.width(), bitmap_.height());
68 content_rect,
69 content_rect,
/external/chromium_org/cc/trees/
H A Docclusion_tracker.cc68 return target_surface->content_rect();
353 old_target, false, old_surface->content_rect(), NULL);
356 old_target, true, old_surface->content_rect(), NULL);
445 layer->render_target()->render_surface()->content_rect());
512 gfx::Rect content_rect,
526 if (content_rect.IsEmpty())
546 MathUtil::MapClippedRect(draw_transform, gfx::RectF(content_rect)));
560 render_target->render_surface()->content_rect());
582 gfx::Rect content_rect,
591 return content_rect;
510 Occluded( const LayerType* render_target, gfx::Rect content_rect, const gfx::Transform& draw_transform, bool impl_draw_transform_is_unknown, bool is_clipped, gfx::Rect clip_rect_in_target, bool* has_occlusion_from_outside_target_surface) const argument
580 UnoccludedContentRect( const LayerType* render_target, gfx::Rect content_rect, const gfx::Transform& draw_transform, bool impl_draw_transform_is_unknown, bool is_clipped, gfx::Rect clip_rect_in_target, bool* has_occlusion_from_outside_target_surface) const argument
654 UnoccludedContributingSurfaceContentRect( const LayerType* layer, bool for_replica, gfx::Rect content_rect, bool* has_occlusion_from_outside_target_surface) const argument
[all...]
/external/chromium_org/cc/input/
H A Dscrollbar.h35 gfx::Rect content_rect) = 0;

Completed in 326 milliseconds

1234