/external/chromium_org/ui/gfx/ |
scoped_canvas.h | 15 explicit ScopedCanvas(gfx::Canvas* canvas) : canvas_(canvas) { 16 if (canvas_) 17 canvas_->Save(); 20 if (canvas_) 21 canvas_->Restore(); 24 if (canvas_) 25 canvas_->Restore(); 26 canvas_ = canvas; 27 canvas_->Save(); 31 gfx::Canvas* canvas_; member in class:gfx::ScopedCanvas [all...] |
canvas.cc | 29 canvas_(NULL) { 34 canvas_ = owned_canvas_.get(); 43 canvas_->scale(scale_scalar, scale_scalar); 52 canvas_(owned_canvas_.get()) { 54 canvas_->scale(scale_scalar, scale_scalar); 61 canvas_(owned_canvas_.get()) { 81 canvas_ = owned_canvas_.get(); 83 canvas_->scale(scale_scalar, scale_scalar); 126 const SkISize size = canvas_->getDeviceSize(); 130 canvas_->readPixels(&result, 0, 0) [all...] |
canvas_skia.cc | 229 canvas_->save(); 308 canvas_->restore(); 391 canvas_->save(); 394 canvas_->restore();
|
canvas.h | 425 SkCanvas* sk_canvas() { return canvas_; } 458 SkCanvas* canvas_; member in class:gfx::Canvas
|
render_text.h | 93 Canvas* canvas_; member in class:gfx::internal::SkiaTextRenderer::DiagonalStrike 102 Canvas* canvas_; member in class:gfx::internal::SkiaTextRenderer
|
/external/chromium_org/cc/output/ |
software_output_device.cc | 30 canvas_ = skia::AdoptRef(SkCanvas::NewRaster(info)); 34 DCHECK(canvas_); 36 return canvas_.get(); 47 DCHECK(canvas_); 49 canvas_->readPixels(info, pixels, info.minRowBytes(), rect.x(), rect.y());
|
software_output_device.h | 78 skia::RefPtr<SkCanvas> canvas_; member in class:cc::SoftwareOutputDevice
|
/external/chromium_org/cc/resources/ |
bitmap_content_layer_updater.cc | 69 canvas_ = skia::AdoptRef(new SkCanvas(bitmap_backing_)); 70 DCHECK_EQ(paint_rect.width(), canvas_->getBaseLayerSize().width()); 71 DCHECK_EQ(paint_rect.height(), canvas_->getBaseLayerSize().height()); 76 PaintContents(canvas_.get(), 92 CHECK(canvas_); 102 canvas_.clear(); 108 canvas_.clear();
|
bitmap_content_layer_updater.h | 71 skia::RefPtr<SkCanvas> canvas_; member in class:cc::BitmapContentLayerUpdater
|
/external/chromium_org/ui/ozone/platform/caca/ |
caca_window.cc | 51 canvas_.reset(caca_create_canvas(kDefaultCanvasWidth, kDefaultCanvasHeight)); 52 if (!canvas_) { 57 display_.reset(caca_create_display(canvas_.get())); 87 physical_size_.SetSize(caca_get_canvas_width(canvas_.get()), 88 caca_get_canvas_height(canvas_.get()));
|
caca_window.h | 27 // Note, |canvas_| needs to be here since it is needed for creating a 80 ScopedCacaCanvas canvas_; member in class:ui::CacaWindow
|
/external/chromium_org/ash/touch/ |
touch_hud_debug.cc | 335 canvas_(NULL), 342 canvas_ = new TouchHudCanvas(*touch_log_); 343 content->AddChildView(canvas_); 346 canvas_->SetSize(display_size); 406 canvas_->Clear(); 420 canvas_->SetVisible(true); 421 canvas_->SetScale(1); 422 canvas_->SchedulePaint(); 427 canvas_->SetVisible(true); 428 canvas_->SetScale(kReducedScale) [all...] |
touch_hud_debug.h | 76 TouchHudCanvas* canvas_; member in class:ash::TouchHudDebug
|
/external/chromium_org/skia/ext/ |
platform_canvas.h | 142 explicit ScopedPlatformPaint(SkCanvas* canvas) : canvas_(canvas) { 145 ~ScopedPlatformPaint() { EndPlatformPaint(canvas_); } 150 SkCanvas* canvas_; member in class:skia::ScopedPlatformPaint
|
benchmarking_canvas.cc | 27 canvas_ = skia::AdoptRef(SkCanvas::NewRasterN32(width, height)); 29 setProxy(canvas_.get()); 194 skia::RefPtr<SkCanvas> canvas_; member in class:skia::TimingCanvas
|
skia_utils_mac.h | 124 SkCanvas* canvas_; member in class:gfx::SkiaBitLocker 136 // True if we are drawing to |canvas_|'s SkBaseDevice's bits directly through 138 // be copied over to |canvas_|. 143 // be copied to |canvas_|. This will happen if |canvas_|'s clip region is
|
platform_canvas_unittest.cc | 145 : canvas_(canvas), 153 canvas_.saveLayer(&bounds, NULL); 158 canvas_.restore(); 171 PlatformCanvas& canvas_; member in class:skia::__anon15303::LayerSaver
|
/external/chromium_org/content/browser/compositor/ |
software_output_device_ozone.cc | 46 canvas_ = surface_ozone_->GetCanvas();
|
software_output_device_x11.cc | 41 DCHECK(canvas_); 44 if (!canvas_) 67 const void* addr = canvas_->peekPixels(&info, &rowBytes); 121 const void* addr = canvas_->peekPixels(&info, &rowBytes);
|
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
image_adjust.js | 39 if (this.canvas_) { 40 this.canvas_.parentNode.removeChild(this.canvas_); 41 this.canvas_ = null; 76 this.canvas_.getContext('2d').putImageData( 89 if (!this.canvas_) { 90 this.canvas_ = this.getImageView().createOverlayCanvas(); 93 this.getImageView().setupDeviceBuffer(this.canvas_);
|
/external/chromium_org/content/renderer/gpu/ |
compositor_software_output_device.cc | 157 canvas_ = skia::AdoptRef(new SkCanvas(bitmap)); 182 canvas_->drawBitmapRect(back_bitmap, &src_rect, dst_rect, NULL); 196 return canvas_.get();
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
thumbnail_loader.js | 292 if (!this.canvas_) 293 this.canvas_ = document.createElement('canvas'); 297 this.canvas_.width = this.image_.width; 298 this.canvas_.height = this.image_.height; 299 var context = this.canvas_.getContext('2d'); 319 this.canvas_ : this.image_; 341 return this.loaderType_ === ThumbnailLoader.LoaderType.CANVAS ? this.canvas_ :
|
/external/chromium_org/ui/file_manager/image_loader/ |
request.js | 68 this.canvas_ = document.createElement('canvas'); 74 this.context_ = this.canvas_.getContext('2d'); 355 imageData = this.canvas_.toDataURL('image/png'); 359 imageData = this.canvas_.toDataURL('image/jpeg', 0.9); 392 ImageLoader.resize(this.image_, this.canvas_, this.request_); 442 this.canvas_.width = 0; 443 this.canvas_.height = 0;
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/calendar/javascript/ |
background.js | 127 this.canvas_ = $('canvas'); // The canvas width + height. 128 this.canvasContext_ = this.canvas_.getContext('2d'); // Canvas context. 131 this.w = this.canvas_.width; // Setting canvas width. 132 this.h = this.canvas_.height; // Setting canvas height.
|
/external/chromium_org/mojo/aura/ |
context_factory_mojo.cc | 37 skia::GetTopDevice(*canvas_)->accessBitmap(true));
|