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

1234

/external/chromium_org/cc/trees/
H A Docclusion.cc23 bool Occlusion::IsOccluded(const gfx::Rect& content_rect) const {
24 if (content_rect.IsEmpty())
33 GetUnoccludedRectInTargetSurface(content_rect);
38 const gfx::Rect& content_rect) const {
39 if (content_rect.IsEmpty())
40 return content_rect;
44 return content_rect;
48 GetUnoccludedRectInTargetSurface(content_rect);
58 unoccluded_rect.Intersect(content_rect);
64 const gfx::Rect& content_rect) cons
[all...]
H A Docclusion.h23 bool IsOccluded(const gfx::Rect& content_rect) const;
24 gfx::Rect GetUnoccludedContentRect(const gfx::Rect& content_rect) const;
28 const gfx::Rect& content_rect) const;
H A Dlayer_tree_host_unittest_damage.cc271 root_damage.Intersect(root_surface->content_rect());
277 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(),
291 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(),
327 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(),
383 gfx::RectF content_rect(content_layer->position(),
387 EXPECT_FALSE(content_rect.Intersects(scrollbar_rect));
412 root_damage.Intersect(root_surface->content_rect());
486 root_damage.Intersect(root_surface->content_rect());
/external/chromium_org/printing/
H A Dprinted_page.cc30 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);
H A Dprinted_page.h45 gfx::Rect* content_rect) const;
/external/chromium_org/cc/resources/
H A Dresource_update.cc13 const gfx::Rect& content_rect,
16 CHECK(content_rect.Contains(source_rect));
20 update.content_rect = content_rect;
11 Create(PrioritizedResource* resource, const SkBitmap* bitmap, const gfx::Rect& content_rect, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset) argument
H A Dresource_update.h21 const gfx::Rect& content_rect,
30 gfx::Rect content_rect; member in struct:cc::ResourceUpdate
H A Dlayer_painter.h22 virtual void Paint(SkCanvas* canvas, const gfx::Rect& content_rect) = 0;
H A Dpicture_pile_impl_perftest.cc34 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);
61 content_rect,
H A Dlayer_tiling_data.cc72 void LayerTilingData::ContentRectToTileIndices(const gfx::Rect& content_rect, argument
81 DCHECK(!content_rect.IsEmpty());
83 *left = tiling_data_.TileXIndexFromSrcCoord(content_rect.x());
84 *top = tiling_data_.TileYIndexFromSrcCoord(content_rect.y());
85 *right = tiling_data_.TileXIndexFromSrcCoord(content_rect.right() - 1);
86 *bottom = tiling_data_.TileYIndexFromSrcCoord(content_rect.bottom() - 1);
H A Dpicture_pile_impl.h69 void AnalyzeInRect(const gfx::Rect& content_rect,
74 const gfx::Rect& content_rect,
81 PixelRefIterator(const gfx::Rect& content_rect,
115 const gfx::Rect& content_rect,
H A Dpicture_pile_impl.cc134 const gfx::Rect& content_rect,
140 content_rect, 1.f / contents_scale);
159 // of the rects will have to fit into |content_rect|, so we can start with
326 void PicturePileImpl::AnalyzeInRect(const gfx::Rect& content_rect, argument
329 AnalyzeInRect(content_rect, contents_scale, analysis, NULL);
333 const gfx::Rect& content_rect,
341 content_rect, 1.0f / contents_scale);
363 const gfx::Rect& content_rect,
368 gfx::ScaleToEnclosingRect(content_rect, 1.f / contents_scale)),
133 CoalesceRasters(const gfx::Rect& canvas_rect, const gfx::Rect& content_rect, float contents_scale, PictureRegionMap* results) const argument
332 AnalyzeInRect( const gfx::Rect& content_rect, float contents_scale, PicturePileImpl::Analysis* analysis, RenderingStatsInstrumentation* stats_instrumentation) const argument
362 PixelRefIterator( const gfx::Rect& content_rect, float contents_scale, const PicturePileImpl* picture_pile) argument
H A Dtile.cc22 const gfx::Rect& content_rect,
30 content_rect_(content_rect),
70 res->BeginArray("content_rect");
19 Tile(TileManager* tile_manager, PicturePileImpl* picture_pile, const gfx::Size& tile_size, const gfx::Rect& content_rect, float contents_scale, int layer_id, int source_frame_number, int flags) argument
/external/chromium_org/cc/quads/
H A Dpicture_draw_quad.cc27 const gfx::Rect& content_rect,
39 this->content_rect = content_rect;
53 const gfx::Rect& content_rect,
66 this->content_rect = content_rect;
85 value->BeginArray("content_rect");
86 MathUtil::AddToTracedValue(content_rect, value);
20 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, ResourceFormat texture_format, const gfx::Rect& content_rect, float contents_scale, scoped_refptr<PicturePileImpl> picture_pile) argument
45 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, ResourceFormat texture_format, const gfx::Rect& content_rect, float contents_scale, scoped_refptr<PicturePileImpl> picture_pile) argument
H A Dpicture_draw_quad.h32 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/
H A Dsnapshot_win.cc20 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/layers/
H A Drender_surface_unittest.cc50 // Currently, the content_rect, clip_rect, and
99 gfx::Rect content_rect(0, 0, 50, 50);
106 render_surface->SetContentRect(content_rect);
130 EXPECT_RECT_EQ(content_rect,
165 gfx::Rect content_rect(0, 0, 50, 50);
170 render_surface->SetContentRect(content_rect);
180 EXPECT_RECT_EQ(content_rect, pass->output_rect);
H A Drender_surface.h34 void SetContentRect(const gfx::Rect& content_rect) { argument
35 content_rect_ = content_rect;
37 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::RenderSurface
H A Dpainted_scrollbar_layer.cc261 const gfx::Rect& content_rect,
263 DCHECK(!content_rect.size().IsEmpty());
267 skbitmap.allocN32Pixels(content_rect.width(), content_rect.height());
271 content_rect.width() / static_cast<float>(layer_rect.width());
273 content_rect.height() / static_cast<float>(layer_rect.height());
259 RasterizeScrollbarPart( const gfx::Rect& layer_rect, const gfx::Rect& content_rect, ScrollbarPart part) argument
H A Drender_surface_impl.h120 void SetContentRect(const gfx::Rect& content_rect);
121 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::RenderSurfaceImpl
/external/chromium_org/cc/debug/
H A Drasterize_and_record_benchmark_impl.cc29 const gfx::Rect& content_rect,
33 content_rect_(content_rect),
99 const gfx::Rect& content_rect) OVERRIDE {
100 return base_client_->CreateTile(tiling, content_rect);
225 gfx::Rect content_rect = (*it)->content_rect(); local
230 content_rect,
249 int tile_size = content_rect.width() * content_rect.height();
28 BenchmarkRasterTask(PicturePileImpl* picture_pile, const gfx::Rect& content_rect, float contents_scale, size_t repeat_count) argument
/external/chromium_org/cc/input/
H A Dscrollbar.h36 const gfx::Rect& content_rect) = 0;
/external/chromium_org/cc/test/
H A Dfake_scrollbar.cc60 const gfx::Rect& content_rect) {
72 // TRACK and the given content_rect for the THUMB
74 : RectToSkRect(content_rect);
58 PaintPart(SkCanvas* canvas, ScrollbarPart part, const gfx::Rect& content_rect) argument
/external/chromium_org/cc/blink/
H A Dscrollbar_impl.cc69 const gfx::Rect& content_rect) {
71 painter_.paintThumb(canvas, content_rect);
76 painter_.paintScrollbarBackground(canvas, content_rect);
67 PaintPart(SkCanvas* canvas, cc::ScrollbarPart part, const gfx::Rect& content_rect) argument
/external/chromium_org/ui/app_list/views/
H A Dsearch_result_view.cc211 gfx::Rect content_rect(rect);
212 content_rect.set_height(rect.height() - kBorderSize);
217 canvas->FillRect(content_rect, kSelectedColor);
219 canvas->FillRect(content_rect, kHighlightedColor);
221 canvas->FillRect(content_rect, kContentsBackgroundColor);
223 gfx::Rect border_bottom = gfx::SubtractRects(rect, content_rect);

Completed in 418 milliseconds

1234