/external/chromium/webkit/glue/ |
H A D | webkit_glue_unittest.cc | 12 std::string data("not an image"); 13 SkBitmap image; local 14 EXPECT_FALSE(webkit_glue::DecodeImage(data, &image)); 15 EXPECT_TRUE(image.isNull()); 23 SkBitmap image; local 24 EXPECT_TRUE(webkit_glue::DecodeImage(data, &image)); 25 EXPECT_FALSE(image.isNull()); 26 EXPECT_EQ(2, image.width()); 27 EXPECT_EQ(2, image.height()); 28 EXPECT_EQ(SkBitmap::kARGB_8888_Config, image [all...] |
H A D | image_decoder.cc | 32 const WebImage& image = WebImage::fromData( local 35 return image.getSkBitmap(); 37 return gfx::CGImageToSkBitmap(image.getCGImageRef());
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
H A D | taskbar_decorator.cc | 9 void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) { argument
|
/external/chromium_org/chrome/browser/ui/tests/ |
H A D | ui_gfx_image_unittest.cc | 8 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image_unittest_util.h" 26 gfx::Image image(gfx::test::CreatePlatformImage()); 33 image_view->SetImage(*image.ToImageSkia()); 47 gfx::Image image = gfx::Image::CreateFrom1xBitmap( local 49 GtkWidget* image_view = gtk_image_new_from_pixbuf(image.ToGdkPixbuf());
|
/external/chromium_org/third_party/WebKit/Source/core/loader/cache/ |
H A D | ResourceFetcherTest.cpp | 63 ResourcePtr<ImageResource> image = fetcher->requestImage(fetchRequest); local 64 EXPECT_EQ(image.get(), static_cast<ImageResource*>(0));
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawShader.h | 25 SkBaseBitmap* image; member in class:SkDrawBitmapShader
|
/external/skia/src/animator/ |
H A D | SkDrawShader.h | 25 SkBaseBitmap* image; member in class:SkDrawBitmapShader
|
/external/chromium_org/chrome/browser/ui/ |
H A D | chrome_style.cc | 10 #include "ui/gfx/image/image.h" 16 const SkBitmap* image = rb.GetNativeImageNamed(IDR_CLOSE_DIALOG).ToSkBitmap(); local 17 DCHECK_EQ(image->width(), image->height()); 18 return image->width();
|
/external/chromium_org/content/public/browser/ |
H A D | favicon_status.h | 9 #include "ui/gfx/image/image.h" 29 gfx::Image image; member in struct:content::FaviconStatus
|
/external/chromium_org/ppapi/cpp/ |
H A D | mouse_cursor.cc | 22 const ImageData& image, 27 instance.pp_instance(), type, image.pp_resource(), 20 SetCursor(const InstanceHandle& instance, PP_MouseCursor_Type type, const ImageData& image, const Point& hot_spot) argument
|
/external/chromium_org/ui/base/dragdrop/ |
H A D | drag_utils_aura.cc | 10 #include "ui/gfx/image/image_skia.h" 16 void SetDragImageOnDataObject(const gfx::ImageSkia& image, argument 21 data_object->provider().SetDragImage(image, cursor_offset);
|
/external/libpcap/ |
H A D | bpf_image.c | 47 static char image[256]; local 281 (void)snprintf(image, sizeof image, 287 return image;
|
/external/chromium_org/third_party/flot/ |
H A D | jquery.flot.image.min.js | 1 (function(c){var a={series:{images:{show:false,alpha:1,anchor:"corner"}}};c.plot.image={};c.plot.image.loadDataImages=function(g,f,k){var j=[],h=[];var i=f.series.images.show;c.each(g,function(l,m){if(!(i||m.images.show)){return}if(m.data){m=m.data}c.each(m,function(n,o){if(typeof o[0]=="string"){j.push(o[0]);h.push(o)}})});c.plot.image.load(j,function(l){c.each(h,function(n,o){var m=o[0];if(l[m]){o[0]=l[m]}});k()})};c.plot.image.load=function(h,i){var g=h.length,f={};if(g==0){i({})}c.each(h,function(k,j){var l=function(){--g;f[j]=this;if(g==0){i(f)}};c("<img />").load(l).error(l).attr("src",j)})};function d(q,o,l){var m=q.getPlotOffset();if(!l.images||!l.images.show){return}var r=l.datapoints.points,n=l.datapoints.pointsize;for(var t=0;t<r.length;t+=n){var y=r[t],w=r[t+1],g=r[t+2],v=r[t+3],f=r[t+4],h=l.xaxis,u=l.yaxis,x;if(!y||y.width<=0||y.height<=0){continue}if(w>v){x=v;v=w;w=x}if(g>f){x=f;f=g;g=x}if(l.images.anchor=="center"){x=0.5*(v-w)/(y.width-1);w-=x;v+=x;x=0.5*(f-g)/(y.height-1);g-=x;f+=x}if(w==v||g==f||w>=h.max||v<=h.min||g>=u.max||f<=u.min){continue}var k=0,s=0,j=y.width,p=y.height;if(w<h.min){k+=(j-k)*(h.min-w)/(v-w);w=h.min}if(v>h.max){j+=(j-k)*(h.max-v)/(v-w);v=h.max}if(g<u.min){p+=(s-p)*(u.min-g)/(f-g);g=u.min}if(f>u.max){s+=(s-p)*(u.max-f)/(f-g);f=u.max}w=h.p2c(w);v=h.p2c(v);g=u.p2c(g);f=u.p2c(f);if(w>v){x=v;v=w;w=x}if(g>f){x=f;f=g;g=x}x=o.globalAlpha;o.globalAlpha*=l.images.alpha;o.drawImage(y,k,s,j-k,p-s,w+m.left,g+m.top,v-w,f-g);o.globalAlpha=x}}function b(i,f,g,h){if(!f.images.show){return}h.format=[{required:true},{x:true,number:true,required:true},{y:true,number:true,required:true},{x:true,number:true,required:true},{y:true,number:true,required:true}]}function e(f){f.hooks.processRawData.push(b);f.hooks.drawSeries.push(d)}c.plot.plugins.push({init:e,options:a,name:"image",version:"1.1"})})(jQuery)
|
/external/chromium_org/chrome/browser/status_icons/ |
H A D | status_tray.cc | 15 const gfx::ImageSkia& image, 17 StatusIcon* icon = CreatePlatformStatusIcon(type, image, tool_tip); 14 CreateStatusIcon(StatusIconType type, const gfx::ImageSkia& image, const string16& tool_tip) argument
|
H A D | status_tray_unittest.cc | 13 #include "ui/gfx/image/image_skia.h" 16 virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE {} 17 virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE {} 29 const gfx::ImageSkia& image, 41 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); local 43 StatusTray::OTHER_ICON, *image, ASCIIToUTF16("tool tip")); 51 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); local 53 StatusTray::OTHER_ICON, *image, ASCIIToUTF16("tool tip"));
|
/external/chromium_org/chrome/browser/ui/gtk/status_icons/ |
H A D | status_tray_gtk.cc | 16 const gfx::ImageSkia& image, 19 icon->SetImage(image); 15 CreatePlatformStatusIcon(StatusIconType type, const gfx::ImageSkia& image, const string16& tool_tip) argument
|
H A D | status_tray_gtk_unittest.cc | 16 #include "ui/gfx/image/image_skia.h" 34 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); local 36 StatusTray::OTHER_ICON, *image, ASCIIToUTF16("tool tip")); 37 icon->SetPressedImage(*image); 47 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); local 49 StatusTray::OTHER_ICON, *image, ASCIIToUTF16("tool tip")));
|
/external/chromium_org/chrome/browser/ui/views/status_icons/ |
H A D | status_tray_linux.cc | 19 const gfx::ImageSkia& image, 21 return StatusIconLinuxWrapper::CreateWrappedStatusIcon(image, tool_tip); 17 CreatePlatformStatusIcon( StatusIconType type, const gfx::ImageSkia& image, const string16& tool_tip) argument
|
/external/chromium_org/gpu/gles2_conform_support/native/ |
H A D | egl_native_x11.cc | 66 void GTFDestroyEGLImage(EGLImageKHR image) { argument 71 egl_destroy_image_khr_(eglGetCurrentDisplay(), image); local
|
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
H A D | ps_context_2d.h | 26 PP_Resource image; member in struct:__anon8482 43 * Query the native system image format. 51 * image resources in response to events. 58 * Points the data member of the context to the raw pixels of the image for 59 * writing to the screen. The image will become visible after a swap. 66 * Swaps out the currently visible graphics with the data stored in the image 67 * buffer making it visible. The old image resource will no longer be
|
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_mouse_cursor_thunk.cc | 22 PP_Resource image, 28 return enter.functions()->SetCursor(instance, type, image, hot_spot); 20 SetCursor(PP_Instance instance, enum PP_MouseCursor_Type type, PP_Resource image, const struct PP_Point* hot_spot) argument
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSBorderImage.cpp | 25 PassRefPtr<CSSValueList> createBorderImageValue(PassRefPtr<CSSValue> image, PassRefPtr<CSSValue> imageSlice, PassRefPtr<CSSValue> borderSlice, argument 29 if (image) 30 list->append(image);
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasPattern.cpp | 60 CanvasPattern::CanvasPattern(PassRefPtr<Image> image, bool repeatX, bool repeatY, bool originClean) argument 61 : m_pattern(Pattern::create(image, repeatX, repeatY))
|
H A D | CanvasRenderingContext.cpp | 58 bool CanvasRenderingContext::wouldTaintOrigin(const HTMLImageElement* image) argument 60 if (!image || !canvas()->originClean()) 63 ImageResource* cachedImage = image->cachedImage(); 64 if (!cachedImage->image()->hasSingleSecurityOrigin())
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | StyleFetchedImage.h | 38 static PassRefPtr<StyleFetchedImage> create(ImageResource* image) { return adoptRef(new StyleFetchedImage(image)); } argument 56 virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const;
|