Searched refs:content_rect (Results 26 - 50 of 92) sorted by relevance

1234

/external/chromium_org/cc/trees/
H A Docclusion_tracker.h54 gfx::Rect content_rect,
61 // Gives an unoccluded sub-rect of |content_rect| in the content space of a
68 gfx::Rect content_rect,
75 // Gives an unoccluded sub-rect of |content_rect| in the content space of the
81 gfx::Rect content_rect,
H A Dlayer_tree_host_unittest_damage.cc147 root_damage.Intersect(root_surface->content_rect());
209 root_damage.Intersect(root_surface->content_rect());
215 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(),
229 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(),
259 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(),
314 gfx::RectF content_rect(content_layer->position(),
318 EXPECT_FALSE(content_rect.Intersects(scrollbar_rect));
331 root_damage.Intersect(root_surface->content_rect());
/external/chromium_org/webkit/renderer/compositor_bindings/
H A Dscrollbar_impl.cc62 SkCanvas* canvas, cc::ScrollbarPart part, gfx::Rect content_rect) {
64 painter_.paintThumb(canvas, content_rect);
69 painter_.paintScrollbarBackground(canvas, content_rect);
61 PaintPart( SkCanvas* canvas, cc::ScrollbarPart part, gfx::Rect content_rect) argument
H A Dscrollbar_impl.h37 gfx::Rect content_rect) OVERRIDE;
/external/chromium_org/cc/test/
H A Dfake_scrollbar.cc49 gfx::Rect content_rect) {
47 PaintPart(SkCanvas* canvas, ScrollbarPart part, gfx::Rect content_rect) argument
H A Dfake_scrollbar.h30 gfx::Rect content_rect) OVERRIDE;
H A Dtiled_layer_test_common.cc37 void FakeLayerUpdater::PrepareToUpdate(gfx::Rect content_rect, argument
43 last_update_rect_ = content_rect;
/external/chromium_org/printing/
H A Dprinted_page.h41 gfx::Rect* content_rect) const;
/external/chromium_org/cc/resources/
H A Dbitmap_skpicture_content_layer_updater.cc74 // Translate the origin of content_rect to that of source_rect.
75 canvas->translate(content_rect().x() - source_rect.x(),
76 content_rect().y() - source_rect.y());
H A Dpicture_layer_tiling_set_unittest.cc34 gfx::Rect content_rect(content_bounds);
36 Region remaining(content_rect);
40 content_rect,
44 EXPECT_TRUE(content_rect.Contains(geometry_rect));
93 gfx::Rect content_rect(content_bounds);
95 Region remaining(content_rect);
99 content_rect,
103 EXPECT_TRUE(content_rect.Contains(geometry_rect));
235 EXPECT_TRUE(tile->content_rect().Intersects(tiling->live_tiles_rect()))
285 if (tiles[i]->content_rect()
367 gfx::Rect content_rect = gfx::ScaleToEnclosingRect(iter.rect(), 2.f); local
[all...]
H A Dpicture_pile_impl.h82 void AnalyzeInRect(gfx::Rect content_rect,
88 PixelRefIterator(gfx::Rect content_rect,
H A Dprioritized_tile_set.cc39 gfx::Rect a_rect = a->content_rect();
40 gfx::Rect b_rect = b->content_rect();
H A Dtile.h28 gfx::Rect content_rect,
100 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::Tile
H A Dbitmap_content_layer_updater.h19 // This class rasterizes the content_rect into a skia bitmap canvas. It then
48 virtual void PrepareToUpdate(gfx::Rect content_rect,
H A Dlayer_updater.h51 virtual void PrepareToUpdate(gfx::Rect content_rect, argument
H A Dpicture_pile_base.h42 bool CanRaster(float contents_scale, gfx::Rect content_rect);
H A Dpicture_layer_tiling.cc105 gfx::Rect content_rect) const {
164 gfx::Rect content_rect = local
166 content_rect.Intersect(live_tiles_rect_);
167 if (content_rect.IsEmpty())
169 for (TilingData::Iterator iter(&tiling_data_, content_rect); iter; ++iter) {
220 gfx::Rect content_rect = local
226 content_rect.Intersect(gfx::Rect(tiling_->tiling_data_.total_size()));
227 if (content_rect.IsEmpty())
230 left_ = tiling_->tiling_data_.TileXIndexFromSrcCoord(content_rect.x());
231 top_ = tiling_->tiling_data_.TileYIndexFromSrcCoord(content_rect
270 gfx::Rect content_rect = tiling_->tiling_data_.TileBounds(tile_i_, tile_j_); local
[all...]
H A Dpicture_layer_tiling.h27 // Create a tile at the given content_rect (in the contents scale of the
31 gfx::Rect content_rect) = 0;
81 // Iterate over all tiles to fill content_rect. Even if tiles are invalid
84 // exactly equal content_rect and no two geometry_rects should intersect.
93 // Visible rect (no borders), always in the space of content_rect,
101 // of content_rect, regardless of the contents scale of the tiling.
127 Region OpaqueRegionInContentRect(gfx::Rect content_rect) const;
H A Dpicture_layer_tiling_set.h82 gfx::Rect content_rect,
/external/chromium_org/ui/app_list/views/
H A Dsearch_result_view.cc177 gfx::Rect content_rect(rect);
178 content_rect.set_height(rect.height() - kBorderSize);
183 canvas->FillRect(content_rect, kSelectedColor);
185 canvas->FillRect(content_rect, kHighlightedColor);
187 canvas->FillRect(content_rect, kContentsBackgroundColor);
189 gfx::Rect border_bottom = gfx::SubtractRects(rect, content_rect);
/external/chromium_org/cc/layers/
H A Drender_surface_impl.h120 void SetContentRect(gfx::Rect content_rect);
121 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::RenderSurfaceImpl
H A Dcontent_layer.h25 gfx::Rect content_rect,
H A Dscrollbar_layer.cc171 gfx::Rect content_rect,
173 scrollbar_->PaintPart(canvas, part_, content_rect);
322 gfx::Rect content_rect = ScrollbarLayerRectToContentRect( local
324 updated |= UpdatePart(track_updater_.get(), track_.get(), content_rect,
H A Dtiled_layer_impl.cc167 gfx::Rect content_rect = visible_content_rect(); local
173 tiler_->ContentRectToTileIndices(content_rect, &left, &top, &right, &bottom);
208 tile_rect.Intersect(content_rect);
236 gfx::IntersectRects(tile->opaque_rect(), content_rect);
/external/chromium_org/cc/scheduler/
H A Dtexture_uploader.h41 // Let content_rect be a rectangle, and let content_rect be a sub-rectangle of
42 // content_rect, expressed in the same coordinate system as content_rect. Let
43 // image be a buffer for content_rect. This function will copy the region
46 gfx::Rect content_rect,

Completed in 1378 milliseconds

1234