HomeSort by relevance Sort by last modified time
    Searched refs:content_rect (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/chromium_org/printing/
printed_page.cc 30 const gfx::Size& paper_size, gfx::Rect* content_rect) const {
31 *content_rect = page_content_rect();
34 content_rect->set_x(content_rect->x() + diff / 2);
38 content_rect->set_y(content_rect->y() + diff / 2);
  /external/chromium_org/cc/resources/
resource_update.cc 13 const gfx::Rect& content_rect,
16 CHECK(content_rect.Contains(source_rect));
20 update.content_rect = content_rect;
skpicture_content_layer_updater.cc 26 const gfx::Rect& content_rect,
33 content_rect.width(), content_rect.height(), NULL, 0);
34 DCHECK_EQ(content_rect.width(), canvas->getBaseLayerSize().width());
35 DCHECK_EQ(content_rect.height(), canvas->getBaseLayerSize().height());
39 content_rect,
46 duration, content_rect.width() * content_rect.height());
layer_painter.h 23 const gfx::Rect& content_rect,
content_layer_updater.cc 38 const gfx::Rect& content_rect,
46 canvas->translate(SkFloatToScalar(-content_rect.x()),
47 SkFloatToScalar(-content_rect.y()));
49 // The |canvas| backing should be sized to hold the |content_rect|.
50 DCHECK_EQ(content_rect.width(), canvas->getBaseLayerSize().width());
51 DCHECK_EQ(content_rect.height(), canvas->getBaseLayerSize().height());
53 gfx::Rect layer_rect = content_rect;
59 content_rect, 1.f / contents_width_scale, 1.f / contents_height_scale);
82 content_rect_ = content_rect;
resource_update.h 21 const gfx::Rect& content_rect,
30 gfx::Rect content_rect; member in struct:cc::ResourceUpdate
bitmap_content_layer_updater.cc 58 const gfx::Rect& content_rect,
63 if (canvas_size_ != content_rect.size()) {
66 canvas_size_ = content_rect.size();
72 DCHECK_EQ(content_rect.width(), canvas_->getBaseLayerSize().width());
73 DCHECK_EQ(content_rect.height(), canvas_->getBaseLayerSize().height());
79 content_rect,
87 content_rect.width() * content_rect.height());
98 content_rect(),
layer_tiling_data.cc 70 void LayerTilingData::ContentRectToTileIndices(const gfx::Rect& content_rect,
79 DCHECK(!content_rect.IsEmpty());
81 *left = tiling_data_.TileXIndexFromSrcCoord(content_rect.x());
82 *top = tiling_data_.TileYIndexFromSrcCoord(content_rect.y());
83 *right = tiling_data_.TileXIndexFromSrcCoord(content_rect.right() - 1);
84 *bottom = tiling_data_.TileYIndexFromSrcCoord(content_rect.bottom() - 1);
94 const gfx::Rect& content_rect) const {
95 if (content_rect.IsEmpty())
100 ContentRectToTileIndices(content_rect, &left, &top, &right, &bottom);
108 gfx::IntersectRects(content_rect, tile->opaque_rect())
    [all...]
content_layer_updater.h 35 const gfx::Rect& content_rect,
39 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::ContentLayerUpdater
picture_pile_impl_perftest.cc 34 gfx::Rect content_rect(0, 0, kTileSize, kTileSize);
39 pile->AnalyzeInRect(content_rect, contents_scale, &analysis);
51 gfx::Rect content_rect(0, 0, kTileSize, kTileSize);
62 content_rect,
skpicture_content_layer_updater.h 18 // This class records the content_rect into an SkPicture. Subclass provides
28 virtual void PrepareToUpdate(const gfx::Rect& content_rect,
picture_pile_impl.h 74 void AnalyzeInRect(const gfx::Rect& content_rect,
78 void AnalyzeInRect(const gfx::Rect& content_rect,
85 PixelRefIterator(const gfx::Rect& content_rect,
133 const gfx::Rect& content_rect,
  /external/chromium_org/cc/test/
mock_quad_culler.cc 19 const gfx::Rect& content_rect,
21 return occlusion_tracker_->UnoccludedContentRect(content_rect,
26 const gfx::Rect& content_rect,
29 content_rect, draw_transform);
mock_quad_culler.h 25 const gfx::Rect& content_rect,
29 const gfx::Rect& content_rect,
  /external/chromium_org/cc/layers/
quad_sink.cc 32 const gfx::Rect& content_rect,
34 return occlusion_tracker_->UnoccludedContentRect(content_rect,
39 const gfx::Rect& content_rect,
42 content_rect, draw_transform);
quad_sink.h 37 virtual gfx::Rect UnoccludedContentRect(const gfx::Rect& content_rect,
41 const gfx::Rect& content_rect,
render_surface_unittest.cc 50 // Currently, the content_rect, clip_rect, and
99 gfx::Rect content_rect(0, 0, 50, 50);
106 render_surface->SetContentRect(content_rect);
128 EXPECT_RECT_EQ(content_rect,
163 gfx::Rect content_rect(0, 0, 50, 50);
168 render_surface->SetContentRect(content_rect);
178 EXPECT_RECT_EQ(content_rect, pass->output_rect);
render_surface.h 34 void SetContentRect(const gfx::Rect& content_rect) {
35 content_rect_ = content_rect;
37 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::RenderSurface
  /external/chromium_org/cc/quads/
picture_draw_quad.cc 30 const gfx::Rect& content_rect,
42 this->content_rect = content_rect;
56 const gfx::Rect& content_rect,
69 this->content_rect = content_rect;
88 value->Set("content_rect", MathUtil::AsValue(content_rect).release());
picture_draw_quad.h 32 const gfx::Rect& content_rect,
44 const gfx::Rect& content_rect,
48 gfx::Rect content_rect; member in class:cc::PictureDrawQuad
  /external/chromium_org/ui/snapshot/
snapshot_win.cc 20 RECT content_rect = {0, 0, 0, 0}; local
22 ::GetWindowRect(window_handle, &content_rect);
28 content_rect = monitor_info.rcMonitor;
31 content_rect.right++; // Match what PrintWindow wants.
33 return gfx::Rect(content_rect.right - content_rect.left,
34 content_rect.bottom - content_rect.top);
  /external/chromium_org/cc/input/
scrollbar.h 36 const gfx::Rect& content_rect) = 0;
  /sdk/emulator/opengl/host/libs/libOpenglRender/
NativeMacSubWindow.m 45 NSRect content_rect = [win contentRectForFrameRect:[win frame]];
46 int cocoa_y = (int)content_rect.size.height - (y + height);
  /external/chromium_org/cc/trees/
occlusion_tracker.h 49 const gfx::Rect& content_rect,
52 // Gives an unoccluded sub-rect of |content_rect| in the content space of a
56 gfx::Rect UnoccludedContentRect(const gfx::Rect& content_rect,
59 // Gives an unoccluded sub-rect of |content_rect| in the content space of the
63 const gfx::Rect& content_rect,
occlusion_tracker.cc 61 return target_surface->content_rect();
338 old_surface->content_rect(), old_surface->draw_transform());
341 old_surface->content_rect(),
434 layer->render_target()->render_surface()->content_rect());
501 const gfx::Rect& content_rect,
506 if (content_rect.IsEmpty())
529 MathUtil::MapEnclosingClippedRect(draw_transform, content_rect);
545 const gfx::Rect& content_rect,
548 return content_rect;
549 if (content_rect.IsEmpty()
    [all...]

Completed in 880 milliseconds

1 2 3 4