Searched defs:image (Results 1 - 25 of 891) sorted by relevance

1234567891011>>

/external/chromium/webkit/glue/
H A Dwebkit_glue_unittest.cc12 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 Dimage_decoder.cc32 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 Dtaskbar_decorator.cc9 void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) { argument
/external/chromium_org/chrome/browser/ui/tests/
H A Dui_gfx_image_unittest.cc8 #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 DResourceFetcherTest.cpp63 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 DSkDrawShader.h25 SkBaseBitmap* image; member in class:SkDrawBitmapShader
/external/skia/src/animator/
H A DSkDrawShader.h25 SkBaseBitmap* image; member in class:SkDrawBitmapShader
/external/chromium_org/chrome/browser/ui/
H A Dchrome_style.cc10 #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 Dfavicon_status.h9 #include "ui/gfx/image/image.h"
29 gfx::Image image; member in struct:content::FaviconStatus
/external/chromium_org/ppapi/cpp/
H A Dmouse_cursor.cc22 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 Ddrag_utils_aura.cc10 #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 Dbpf_image.c47 static char image[256]; local
281 (void)snprintf(image, sizeof image,
287 return image;
/external/chromium_org/third_party/flot/
H A Djquery.flot.image.min.js1 (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 Dstatus_tray.cc15 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 Dstatus_tray_unittest.cc13 #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 Dstatus_tray_gtk.cc16 const gfx::ImageSkia& image,
19 icon->SetImage(image);
15 CreatePlatformStatusIcon(StatusIconType type, const gfx::ImageSkia& image, const string16& tool_tip) argument
H A Dstatus_tray_gtk_unittest.cc16 #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 Dstatus_tray_linux.cc19 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 Degl_native_x11.cc66 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 Dps_context_2d.h26 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 Dppb_mouse_cursor_thunk.cc22 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 DCSSBorderImage.cpp25 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 DCanvasPattern.cpp60 CanvasPattern::CanvasPattern(PassRefPtr<Image> image, bool repeatX, bool repeatY, bool originClean) argument
61 : m_pattern(Pattern::create(image, repeatX, repeatY))
H A DCanvasRenderingContext.cpp58 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 DStyleFetchedImage.h38 static PassRefPtr<StyleFetchedImage> create(ImageResource* image) { return adoptRef(new StyleFetchedImage(image)); } argument
56 virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const;

Completed in 619 milliseconds

1234567891011>>