Home
last modified time | relevance | path

Searched refs:imageSpec (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/extensions/renderer/resources/
Dimage_util.js9 function loadImageData(imageSpec, callbacks) { argument
10 var path = imageSpec.path;
26 if (imageSpec.width && imageSpec.width < img.width)
27 scaleFactor = imageSpec.width / img.width;
29 if (imageSpec.height && imageSpec.height < img.height) {
30 var heightScale = imageSpec.height / img.height;
/external/skia/tests/
DDeferredCanvasTest.cpp690 SkImageInfo imageSpec = SkImageInfo::MakeN32Premul(10, 10); in TestDeferredCanvasSurface() local
700 surface = SkSurface::NewRenderTarget(context, imageSpec); in TestDeferredCanvasSurface()
702 surface = SkSurface::NewRaster(imageSpec); in TestDeferredCanvasSurface()
706 surface = SkSurface::NewRaster(imageSpec); in TestDeferredCanvasSurface()
756 SkImageInfo imageSpec = SkImageInfo::MakeN32Premul(10, 10); in TestDeferredCanvasSetSurface() local
766 surface = SkSurface::NewRenderTarget(context, imageSpec); in TestDeferredCanvasSetSurface()
767 alternateSurface = SkSurface::NewRenderTarget(context, imageSpec); in TestDeferredCanvasSetSurface()
769 surface = SkSurface::NewRaster(imageSpec); in TestDeferredCanvasSetSurface()
770 alternateSurface = SkSurface::NewRaster(imageSpec); in TestDeferredCanvasSetSurface()
774 surface = SkSurface::NewRaster(imageSpec); in TestDeferredCanvasSetSurface()
[all …]
/external/chromium_org/third_party/skia/tests/
DDeferredCanvasTest.cpp683 SkImageInfo imageSpec = SkImageInfo::MakeN32Premul(10, 10); in TestDeferredCanvasSurface() local
709 surface = SkSurface::NewRenderTarget(context, imageSpec, 0, NULL); in TestDeferredCanvasSurface()
713 surface = SkSurface::NewRaster(imageSpec); in TestDeferredCanvasSurface()
764 SkImageInfo imageSpec = SkImageInfo::MakeN32Premul(10, 10); in TestDeferredCanvasSetSurface() local
791 surface = SkSurface::NewRenderTarget(context, imageSpec, 0, NULL); in TestDeferredCanvasSetSurface()
792 alternateSurface = SkSurface::NewRenderTarget(context, imageSpec, 0, NULL); in TestDeferredCanvasSetSurface()
796 surface = SkSurface::NewRaster(imageSpec); in TestDeferredCanvasSetSurface()
797 alternateSurface = SkSurface::NewRaster(imageSpec); in TestDeferredCanvasSetSurface()