/external/chromium_org/cc/test/ |
H A D | skia_common.cc | 16 const gfx::Rect& layer_rect, 19 SkImageInfo::MakeN32Premul(layer_rect.width(), layer_rect.height()); 23 canvas.clipRect(gfx::RectToSkRect(layer_rect)); 15 DrawPicture(unsigned char* buffer, const gfx::Rect& layer_rect, scoped_refptr<Picture> picture) argument
|
/external/chromium_org/cc/trees/ |
H A D | layer_tree_host_pixeltest_on_demand_raster.cc | 64 explicit BlueYellowLayerClient(gfx::Rect layer_rect) argument 65 : layer_rect_(layer_rect) {} 97 gfx::Rect layer_rect(200, 200); 98 BlueYellowLayerClient client(layer_rect); 102 layer->SetBounds(layer_rect.size()); 103 layer->SetPosition(layer_rect.origin());
|
H A D | layer_tree_host_common.cc | 101 gfx::Rect layer_rect = MathUtil::ProjectEnclosingClippedRect( local 103 layer_rect.Intersect(layer_bound_rect); 104 return layer_rect;
|
/external/chromium_org/cc/resources/ |
H A D | content_layer_updater.cc | 86 gfx::Rect layer_rect; local 93 layer_rect = gfx::ScaleToEnclosingRect( 96 layer_rect = paint_rect; 100 layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height()); 111 painter_->Paint(canvas, layer_rect);
|
H A D | picture.cc | 88 const gfx::Rect& layer_rect, 93 scoped_refptr<Picture> picture = make_scoped_refptr(new Picture(layer_rect)); 102 Picture::Picture(const gfx::Rect& layer_rect) argument 103 : layer_rect_(layer_rect), 104 cell_size_(layer_rect.size()) { 124 gfx::Rect layer_rect(skpicture->width(), skpicture->height()); 125 return make_scoped_refptr(new Picture(skpicture, layer_rect)); 143 if (!value->Get("params.layer_rect", &layer_rect_value)) 146 gfx::Rect layer_rect; 147 if (!MathUtil::FromValue(layer_rect_value, &layer_rect)) 87 Create( const gfx::Rect& layer_rect, ContentLayerClient* client, const SkTileGridFactory::TileGridInfo& tile_grid_info, bool gather_pixel_refs, RecordingMode recording_mode) argument 158 Picture(SkPicture* picture, const gfx::Rect& layer_rect) argument 164 Picture(const skia::RefPtr<SkPicture>& picture, const gfx::Rect& layer_rect, const PixelRefMap& pixel_refs) argument 455 gfx::Rect layer_rect = picture->layer_rect_; local [all...] |
H A D | picture_pile_impl.cc | 139 gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( local 164 for (TilingData::Iterator tile_iter(&tiling_, layer_rect, include_borders); 340 gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( local 343 layer_rect.Intersect(gfx::Rect(tiling_.tiling_size())); 345 skia::AnalysisCanvas canvas(layer_rect.width(), layer_rect.height()); 347 RasterForAnalysis(&canvas, layer_rect, 1.0f, stats_instrumentation);
|
H A D | picture_pile_unittest.cc | 27 bool CanRasterLayerRect(const gfx::Rect& layer_rect) { argument 28 return CanRaster(1.f, layer_rect);
|
H A D | picture_layer_tiling.cc | 274 gfx::Rect layer_rect = iter.rect(); local 276 gfx::ScaleToEnclosingRect(layer_rect, contents_scale_);
|
/external/chromium_org/cc/layers/ |
H A D | picture_layer.cc | 47 // is identical to the layer_rect. 71 void PictureLayer::SetNeedsDisplayRect(const gfx::RectF& layer_rect) { argument 72 gfx::Rect rect = gfx::ToEnclosedRect(layer_rect); 78 Layer::SetNeedsDisplayRect(layer_rect);
|
H A D | painted_scrollbar_layer.cc | 167 const gfx::Rect& layer_rect) const { 169 // layer_rect here might be in coordinates of the containing layer. 171 layer_rect, contents_scale_x(), contents_scale_y()); 260 const gfx::Rect& layer_rect, 264 DCHECK(!layer_rect.size().IsEmpty()); 271 content_rect.width() / static_cast<float>(layer_rect.width()); 273 content_rect.height() / static_cast<float>(layer_rect.height()); 277 skcanvas.translate(SkFloatToScalar(-layer_rect.x()), 278 SkFloatToScalar(-layer_rect.y())); 280 SkRect layer_skrect = RectToSkRect(layer_rect); 259 RasterizeScrollbarPart( const gfx::Rect& layer_rect, const gfx::Rect& content_rect, ScrollbarPart part) argument [all...] |
/external/chromium_org/skia/ext/ |
H A D | pixel_ref_utils_unittest.cc | 70 SkCanvas* StartRecording(SkPictureRecorder* recorder, gfx::Rect layer_rect) { argument 72 recorder->beginRecording(layer_rect.width(), layer_rect.height()); 75 canvas->translate(-layer_rect.x(), -layer_rect.y()); 77 layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height())); 90 gfx::Rect layer_rect( [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_graph_state.cpp | 117 CPDF_Rect layer_rect;
local 123 rect = layer_rect;
126 rect.Intersect(layer_rect);
131 layer_rect = pTextObj->GetBBox(NULL);
134 layer_rect.Union(pTextObj->GetBBox(NULL));
|
/external/chromium_org/cc/output/ |
H A D | gl_renderer.cc | 588 gfx::Rect layer_rect = quad->rect; local 590 QuadRectTransform(&render_matrix, quad->quadTransform(), layer_rect);
|