layer_rect 213 cc/layers/layer.cc gfx::Rect Layer::LayerRectToContentRect(const gfx::RectF& layer_rect) const { layer_rect 215 cc/layers/layer.cc gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); layer_rect 422 cc/layers/layer.h gfx::Rect LayerRectToContentRect(const gfx::RectF& layer_rect) const; layer_rect 469 cc/layers/layer_impl.cc const gfx::RectF& layer_rect) const { layer_rect 471 cc/layers/layer_impl.cc gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); layer_rect 497 cc/layers/layer_impl.h gfx::Rect LayerRectToContentRect(const gfx::RectF& layer_rect) const; layer_rect 169 cc/layers/painted_scrollbar_layer.cc const gfx::Rect& layer_rect) const { layer_rect 173 cc/layers/painted_scrollbar_layer.cc layer_rect, contents_scale_x(), contents_scale_y()); layer_rect 243 cc/layers/painted_scrollbar_layer.cc const gfx::Rect& layer_rect, layer_rect 247 cc/layers/painted_scrollbar_layer.cc DCHECK(!layer_rect.size().IsEmpty()); layer_rect 254 cc/layers/painted_scrollbar_layer.cc content_rect.width() / static_cast<float>(layer_rect.width()); layer_rect 256 cc/layers/painted_scrollbar_layer.cc content_rect.height() / static_cast<float>(layer_rect.height()); layer_rect 260 cc/layers/painted_scrollbar_layer.cc skcanvas.translate(SkFloatToScalar(-layer_rect.x()), layer_rect 261 cc/layers/painted_scrollbar_layer.cc SkFloatToScalar(-layer_rect.y())); layer_rect 263 cc/layers/painted_scrollbar_layer.cc SkRect layer_skrect = RectToSkRect(layer_rect); layer_rect 270 cc/layers/painted_scrollbar_layer.cc scrollbar_->PaintPart(&skcanvas, part, layer_rect); layer_rect 67 cc/layers/painted_scrollbar_layer.h gfx::Rect ScrollbarLayerRectToContentRect(const gfx::Rect& layer_rect) const; layer_rect 80 cc/layers/painted_scrollbar_layer.h UIResourceBitmap RasterizeScrollbarPart(const gfx::Rect& layer_rect, layer_rect 74 cc/layers/picture_layer.cc void PictureLayer::SetNeedsDisplayRect(const gfx::RectF& layer_rect) { layer_rect 75 cc/layers/picture_layer.cc gfx::Rect rect = gfx::ToEnclosedRect(layer_rect); layer_rect 81 cc/layers/picture_layer.cc Layer::SetNeedsDisplayRect(layer_rect); layer_rect 32 cc/layers/picture_layer.h virtual void SetNeedsDisplayRect(const gfx::RectF& layer_rect) OVERRIDE; layer_rect 639 cc/layers/picture_layer_impl.cc gfx::Rect layer_rect = pile_->tile_bounds(x, y); layer_rect 640 cc/layers/picture_layer_impl.cc invalidation_.Union(layer_rect); layer_rect 75 cc/layers/scrollbar_layer_impl_base.cc const gfx::RectF& layer_rect) const { layer_rect 78 cc/layers/scrollbar_layer_impl_base.cc gfx::RectF content_rect = gfx::ScaleRect(layer_rect, layer_rect 69 cc/layers/scrollbar_layer_impl_base.h gfx::Rect ScrollbarLayerRectToContentRect(const gfx::RectF& layer_rect) const; layer_rect 378 cc/layers/texture_layer_unittest.cc const gfx::Rect layer_rect(layer_bounds); layer_rect 379 cc/layers/texture_layer_unittest.cc const Region layer_region(layer_rect); layer_rect 383 cc/layers/texture_layer_unittest.cc layer->draw_properties().visible_content_rect = layer_rect; layer_rect 1760 cc/layers/tiled_layer_unittest.cc gfx::Rect layer_rect(0, 0, 30, 31); layer_rect 1761 cc/layers/tiled_layer_unittest.cc layer->SetPosition(layer_rect.origin()); layer_rect 1762 cc/layers/tiled_layer_unittest.cc layer->SetBounds(layer_rect.size()); layer_rect 1786 cc/layers/tiled_layer_unittest.cc EXPECT_RECT_EQ(layer_rect, layer->tracking_layer_painter()->PaintedRect()); layer_rect 1796 cc/layers/tiled_layer_unittest.cc gfx::Rect layer_rect(0, 0, 30, 31); layer_rect 1797 cc/layers/tiled_layer_unittest.cc layer->SetPosition(layer_rect.origin()); layer_rect 1798 cc/layers/tiled_layer_unittest.cc layer->SetBounds(layer_rect.size()); layer_rect 1818 cc/layers/tiled_layer_unittest.cc layer->SetNeedsDisplayRect(layer_rect); layer_rect 1821 cc/layers/tiled_layer_unittest.cc EXPECT_RECT_EQ(layer_rect, layer->tracking_layer_painter()->PaintedRect()); layer_rect 463 cc/output/gl_renderer.cc gfx::Rect layer_rect = quad->rect; layer_rect 465 cc/output/gl_renderer.cc render_matrix.Translate(0.5f * layer_rect.width() + layer_rect.x(), layer_rect 466 cc/output/gl_renderer.cc 0.5f * layer_rect.height() + layer_rect.y()); layer_rect 467 cc/output/gl_renderer.cc render_matrix.Scale(layer_rect.width(), layer_rect.height()); layer_rect 1994 cc/output/renderer_pixeltest.cc gfx::Rect layer_rect(gfx::Size(20, 30)); layer_rect 2009 cc/output/renderer_pixeltest.cc FakePicturePileImpl::CreateFilledPile(pile_tile_size, layer_rect.size()); layer_rect 2011 cc/output/renderer_pixeltest.cc Region outside(layer_rect); layer_rect 2024 cc/output/renderer_pixeltest.cc gfx::ScaleToEnclosingRect(layer_rect, contents_scale)); layer_rect 54 cc/resources/content_layer_updater.cc gfx::Rect layer_rect = content_rect; layer_rect 59 cc/resources/content_layer_updater.cc layer_rect = gfx::ScaleToEnclosingRect( layer_rect 64 cc/resources/content_layer_updater.cc layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height()); layer_rect 76 cc/resources/content_layer_updater.cc painter_->Paint(canvas, layer_rect, &opaque_layer_rect); layer_rect 86 cc/resources/picture.cc const gfx::Rect& layer_rect, layer_rect 92 cc/resources/picture.cc scoped_refptr<Picture> picture = make_scoped_refptr(new Picture(layer_rect)); layer_rect 102 cc/resources/picture.cc Picture::Picture(const gfx::Rect& layer_rect) layer_rect 103 cc/resources/picture.cc : layer_rect_(layer_rect), layer_rect 104 cc/resources/picture.cc cell_size_(layer_rect.size()) { layer_rect 124 cc/resources/picture.cc gfx::Rect layer_rect(skpicture->width(), skpicture->height()); layer_rect 127 cc/resources/picture.cc return make_scoped_refptr(new Picture(skpicture, layer_rect, opaque_rect)); layer_rect 148 cc/resources/picture.cc gfx::Rect layer_rect; layer_rect 149 cc/resources/picture.cc if (!MathUtil::FromValue(layer_rect_value, &layer_rect)) layer_rect 165 cc/resources/picture.cc return make_scoped_refptr(new Picture(skpicture, layer_rect, opaque_rect)); layer_rect 169 cc/resources/picture.cc const gfx::Rect& layer_rect, layer_rect 171 cc/resources/picture.cc layer_rect_(layer_rect), layer_rect 174 cc/resources/picture.cc cell_size_(layer_rect.size()) { layer_rect 178 cc/resources/picture.cc const gfx::Rect& layer_rect, layer_rect 181 cc/resources/picture.cc layer_rect_(layer_rect), layer_rect 185 cc/resources/picture.cc cell_size_(layer_rect.size()) { layer_rect 439 cc/resources/picture.cc gfx::Rect layer_rect = picture->layer_rect_; layer_rect 445 cc/resources/picture.cc if (!query_rect.Intersects(layer_rect)) { layer_rect 454 cc/resources/picture.cc query_rect.Offset(-layer_rect.OffsetFromOrigin()); layer_rect 55 cc/resources/picture.h const gfx::Rect& layer_rect, layer_rect 92 cc/resources/picture.h PixelRefIterator(const gfx::Rect& layer_rect, const Picture* picture); layer_rect 128 cc/resources/picture.h explicit Picture(const gfx::Rect& layer_rect); layer_rect 132 cc/resources/picture.h const gfx::Rect& layer_rect, layer_rect 137 cc/resources/picture.h const gfx::Rect& layer_rect, layer_rect 181 cc/resources/picture_layer_tiling.cc gfx::Rect layer_rect = iter.rect(); layer_rect 183 cc/resources/picture_layer_tiling.cc gfx::ScaleToEnclosingRect(layer_rect, contents_scale_); layer_rect 193 cc/resources/picture_pile_base.cc gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( layer_rect 195 cc/resources/picture_pile_base.cc layer_rect.Intersect(gfx::Rect(tiling_.total_size())); layer_rect 198 cc/resources/picture_pile_base.cc if (recorded_viewport_.Contains(layer_rect)) { layer_rect 200 cc/resources/picture_pile_base.cc DCHECK(CanRasterSlowTileCheck(layer_rect)); layer_rect 204 cc/resources/picture_pile_base.cc return CanRasterSlowTileCheck(layer_rect); layer_rect 208 cc/resources/picture_pile_base.cc const gfx::Rect& layer_rect) const { layer_rect 210 cc/resources/picture_pile_base.cc for (TilingData::Iterator tile_iter(&tiling_, layer_rect, include_borders); layer_rect 236 cc/resources/picture_pile_base.cc gfx::Rect layer_rect(tiling_.total_size()); layer_rect 239 cc/resources/picture_pile_base.cc for (TilingData::Iterator tile_iter(&tiling_, layer_rect, include_borders); layer_rect 95 cc/resources/picture_pile_base.h bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const; layer_rect 157 cc/resources/picture_pile_impl.cc gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( layer_rect 182 cc/resources/picture_pile_impl.cc for (TilingData::Iterator tile_iter(&tiling_, layer_rect, include_borders); layer_rect 335 cc/resources/picture_pile_impl.cc gfx::Rect layer_rect(tiling_.total_size()); layer_rect 337 cc/resources/picture_pile_impl.cc if (layer_rect.IsEmpty()) layer_rect 341 cc/resources/picture_pile_impl.cc layer_rect.width(), layer_rect 342 cc/resources/picture_pile_impl.cc layer_rect.height(), layer_rect 345 cc/resources/picture_pile_impl.cc RasterToBitmap(canvas, layer_rect, 1.0, NULL); layer_rect 366 cc/resources/picture_pile_impl.cc gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( layer_rect 369 cc/resources/picture_pile_impl.cc layer_rect.Intersect(gfx::Rect(tiling_.total_size())); layer_rect 371 cc/resources/picture_pile_impl.cc skia::AnalysisCanvas canvas(layer_rect.width(), layer_rect.height()); layer_rect 373 cc/resources/picture_pile_impl.cc RasterForAnalysis(&canvas, layer_rect, 1.0f, stats_instrumentation); layer_rect 439 cc/resources/picture_pile_impl.cc gfx::Rect layer_rect(tiling_.total_size()); layer_rect 27 cc/resources/picture_pile_unittest.cc bool CanRasterLayerRect(const gfx::Rect& layer_rect) { layer_rect 28 cc/resources/picture_pile_unittest.cc return CanRaster(1.f, layer_rect); layer_rect 66 cc/resources/picture_pile_unittest.cc bool UpdateWholeLayer() { return Update(layer_rect(), layer_rect()); } layer_rect 82 cc/resources/picture_pile_unittest.cc Update(invalidate_rect, layer_rect()); layer_rect 105 cc/resources/picture_pile_unittest.cc Update(invalidate_rect, layer_rect()); layer_rect 149 cc/resources/picture_pile_unittest.cc Update(invalidate_rect, layer_rect()); layer_rect 197 cc/resources/picture_pile_unittest.cc Update(layer_rect(), viewport); layer_rect 217 cc/resources/picture_pile_unittest.cc Update(gfx::Rect(), layer_rect()); layer_rect 288 cc/resources/picture_pile_unittest.cc Update(layer_rect(), viewport); layer_rect 312 cc/resources/picture_pile_unittest.cc Update(gfx::Rect(), layer_rect()); layer_rect 316 cc/resources/picture_pile_unittest.cc Update(gfx::Rect(gfx::Rect(0, 0, 1, 1)), layer_rect()); layer_rect 26 cc/resources/picture_unittest.cc gfx::Rect layer_rect(100, 100); layer_rect 49 cc/resources/picture_unittest.cc content_layer_client.add_draw_rect(layer_rect, red_paint); layer_rect 51 cc/resources/picture_unittest.cc Picture::Create(layer_rect, layer_rect 67 cc/resources/picture_unittest.cc DrawPicture(one_rect_buffer, layer_rect, one_rect_picture); layer_rect 69 cc/resources/picture_unittest.cc DrawPicture(one_rect_buffer_check, layer_rect, one_rect_picture_check); layer_rect 81 cc/resources/picture_unittest.cc Picture::Create(layer_rect, layer_rect 98 cc/resources/picture_unittest.cc DrawPicture(two_rect_buffer, layer_rect, two_rect_picture); layer_rect 100 cc/resources/picture_unittest.cc DrawPicture(two_rect_buffer_check, layer_rect, two_rect_picture_check); layer_rect 111 cc/resources/picture_unittest.cc gfx::Rect layer_rect(2048, 2048); layer_rect 144 cc/resources/picture_unittest.cc scoped_refptr<Picture> picture = Picture::Create(layer_rect, layer_rect 212 cc/resources/picture_unittest.cc gfx::Rect layer_rect(1024, 0, 2048, 2048); layer_rect 245 cc/resources/picture_unittest.cc scoped_refptr<Picture> picture = Picture::Create(layer_rect, layer_rect 336 cc/resources/picture_unittest.cc gfx::Rect layer_rect(2048, 2048); layer_rect 369 cc/resources/picture_unittest.cc scoped_refptr<Picture> picture = Picture::Create(layer_rect, layer_rect 394 cc/resources/picture_unittest.cc gfx::Rect layer_rect(100, 200); layer_rect 417 cc/resources/picture_unittest.cc content_layer_client.add_draw_rect(layer_rect, red_paint); layer_rect 419 cc/resources/picture_unittest.cc Picture::Create(layer_rect, layer_rect 449 cc/resources/picture_unittest.cc gfx::Rect layer_rect(100, 200); layer_rect 459 cc/resources/picture_unittest.cc scoped_refptr<Picture> picture = Picture::Create(layer_rect, layer_rect 468 cc/resources/picture_unittest.cc picture = Picture::Create(layer_rect, layer_rect 477 cc/resources/picture_unittest.cc picture = Picture::Create(layer_rect, layer_rect 16 cc/test/skia_common.cc const gfx::Rect& layer_rect, layer_rect 19 cc/test/skia_common.cc SkImageInfo::MakeN32Premul(layer_rect.width(), layer_rect.height()); layer_rect 23 cc/test/skia_common.cc canvas.clipRect(gfx::RectToSkRect(layer_rect)); layer_rect 24 cc/test/skia_common.cc picture->Raster(&canvas, NULL, layer_rect, 1.0f); layer_rect 23 cc/test/skia_common.h const gfx::Rect& layer_rect, layer_rect 100 cc/trees/layer_tree_host_common.cc gfx::Rect layer_rect = MathUtil::ProjectEnclosingClippedRect( layer_rect 102 cc/trees/layer_tree_host_common.cc layer_rect.Intersect(layer_bound_rect); layer_rect 103 cc/trees/layer_tree_host_common.cc return layer_rect; layer_rect 3585 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(viewport_size_); layer_rect 3586 cc/trees/layer_tree_host_impl_unittest.cc child_->SetPosition(layer_rect.origin()); layer_rect 3587 cc/trees/layer_tree_host_impl_unittest.cc child_->SetBounds(layer_rect.size()); layer_rect 3588 cc/trees/layer_tree_host_impl_unittest.cc child_->SetContentBounds(layer_rect.size()); layer_rect 3589 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadRect(gfx::Rect(layer_rect.size())); layer_rect 3590 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadVisibleRect(gfx::Rect(layer_rect.size())); layer_rect 3607 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(0, 0, 0, 0); layer_rect 3608 cc/trees/layer_tree_host_impl_unittest.cc child_->SetPosition(layer_rect.origin()); layer_rect 3609 cc/trees/layer_tree_host_impl_unittest.cc child_->SetBounds(layer_rect.size()); layer_rect 3610 cc/trees/layer_tree_host_impl_unittest.cc child_->SetContentBounds(layer_rect.size()); layer_rect 3611 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadRect(gfx::Rect(layer_rect.size())); layer_rect 3612 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadVisibleRect(gfx::Rect(layer_rect.size())); layer_rect 3629 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(500, 500, 200, 200); layer_rect 3630 cc/trees/layer_tree_host_impl_unittest.cc child_->SetPosition(layer_rect.origin()); layer_rect 3631 cc/trees/layer_tree_host_impl_unittest.cc child_->SetBounds(layer_rect.size()); layer_rect 3632 cc/trees/layer_tree_host_impl_unittest.cc child_->SetContentBounds(layer_rect.size()); layer_rect 3633 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadRect(gfx::Rect(layer_rect.size())); layer_rect 3634 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadVisibleRect(gfx::Rect(layer_rect.size())); layer_rect 3651 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(viewport_size_.width() + 10, layer_rect 3653 cc/trees/layer_tree_host_impl_unittest.cc child_->SetPosition(layer_rect.origin()); layer_rect 3654 cc/trees/layer_tree_host_impl_unittest.cc child_->SetBounds(layer_rect.size()); layer_rect 3655 cc/trees/layer_tree_host_impl_unittest.cc child_->SetContentBounds(layer_rect.size()); layer_rect 3656 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadRect(gfx::Rect(layer_rect.size())); layer_rect 3657 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadVisibleRect(gfx::Rect(layer_rect.size())); layer_rect 61 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc explicit BlueYellowLayerClient(gfx::Rect layer_rect) layer_rect 62 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc : layer_rect_(layer_rect) {} layer_rect 95 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc gfx::Rect layer_rect(200, 200); layer_rect 96 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc BlueYellowLayerClient client(layer_rect); layer_rect 101 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer->SetBounds(layer_rect.size()); layer_rect 102 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer->SetPosition(layer_rect.origin()); layer_rect 39 cc/trees/quad_culler_unittest.cc const gfx::Rect& layer_rect, layer_rect 48 cc/trees/quad_culler_unittest.cc tiler->SetBounds(layer_rect.size()); layer_rect 54 cc/trees/quad_culler_unittest.cc layer->draw_properties().visible_content_rect = layer_rect; layer_rect 57 cc/trees/quad_culler_unittest.cc layer->SetBounds(layer_rect.size()); layer_rect 58 cc/trees/quad_culler_unittest.cc layer->SetContentBounds(layer_rect.size()); layer_rect 72 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* StartRecording(SkPicture* picture, gfx::Rect layer_rect) { layer_rect 74 skia/ext/pixel_ref_utils_unittest.cc layer_rect.width(), layer_rect 75 skia/ext/pixel_ref_utils_unittest.cc layer_rect.height(), layer_rect 80 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(-layer_rect.x(), -layer_rect.y()); layer_rect 82 skia/ext/pixel_ref_utils_unittest.cc layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height())); layer_rect 95 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 98 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 134 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 137 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 187 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 190 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 233 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 236 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 284 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 287 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 334 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 337 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 376 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 379 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 437 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 440 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 488 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 491 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 555 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 558 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); layer_rect 588 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); layer_rect 591 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect);