/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/fetch/ |
H A D | ResourceFetcherTest.cpp | 63 ResourcePtr<ImageResource> image = fetcher->fetchImage(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/chromeos/profiles/ |
H A D | avatar_menu_chromeos.cc | 15 gfx::Image* image, 25 *image = gfx::Image((*it)->image()); 14 GetImageForMenuButton(Profile* profile, gfx::Image* image, bool* is_rectangle) argument
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | avatar_menu_desktop.cc | 14 gfx::Image* image, 24 *image = cache.GetAvatarIconOfProfileAtIndex(index); 13 GetImageForMenuButton(Profile* profile, gfx::Image* image, bool* is_rectangle) argument
|
H A D | profile_info_util_unittest.cc | 12 #include "ui/gfx/image/image_skia.h" 13 #include "ui/gfx/image/image_skia_rep.h" 14 #include "ui/gfx/image/image_unittest_util.h" 18 // Helper function to check that the image is sized properly 20 void VerifyScaling(gfx::Image& image, gfx::Size& size) { argument 25 ASSERT_FALSE(gfx::test::IsEmpty(image)); 26 EXPECT_EQ(image.Size(), size); 28 gfx::ImageSkia image_skia = *image.ToImageSkia(); 30 EXPECT_TRUE(image.ToImageSkia()->HasRepresentation(1.0f)); 33 EXPECT_TRUE(image [all...] |
/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/chrome/browser/ui/gtk/status_icons/ |
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")));
|
H A D | status_tray_gtk.cc | 17 const gfx::ImageSkia& image, 20 icon->SetImage(image); 15 CreatePlatformStatusIcon( StatusIconType type, const gfx::ImageSkia& image, const base::string16& tool_tip) argument
|
/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/third_party/flot/ |
H A D | jquery.flot.image.min.js | 6 The data syntax is [ [ image, x1, y1, x2, y2 ], ... ] where (x1, y1) and 7 (x2, y2) are where you intend the two opposite corners of the image to end up 8 in the plot. Image must be a fully loaded Javascript image (you can make one 9 with new Image()). If the image is not complete, it's skipped when plotting. 16 Then call $.plot.image.loadData( data, options, callback ) where data and 22 A more low-level helper, $.plot.image.load(urls, callback) is also included. 46 Setting "anchor" to "center" causes the pixels in the image to be anchored at 53 */(function(e){function n(e,t,n){var r=e.getPlotOffset();if(!n.images||!n.images.show)return;var i=n.datapoints.points,s=n.datapoints.pointsize;for(var o=0;o<i.length;o+=s){var u=i[o],a=i[o+1],f=i[o+2],l=i[o+3],c=i[o+4],h=n.xaxis,p=n.yaxis,d;if(!u||u.width<=0||u.height<=0)continue;a>l&&(d=l,l=a,a=d),f>c&&(d=c,c=f,f=d),n.images.anchor=="center"&&(d=.5*(l-a)/(u.width-1),a-=d,l+=d,d=.5*(c-f)/(u.height-1),f-=d,c+=d);if(a==l||f==c||a>=h.max||l<=h.min||f>=p.max||c<=p.min)continue;var v=0,m=0,g=u.width,y=u.height;a<h.min&&(v+=(g-v)*(h.min-a)/(l-a),a=h.min),l>h.max&&(g+=(g-v)*(h.max-l)/(l-a),l=h.max),f<p.min&&(y+=(m-y)*(p.min-f)/(c-f),f=p.min),c>p.max&&(m+=(m-y)*(p.max-c)/(c-f),c=p.max),a=h.p2c(a),l=h.p2c(l),f=p.p2c(f),c=p.p2c(c),a>l&&(d=l,l=a,a=d),f>c&&(d=c,c=f,f=d),d=t.globalAlpha,t.globalAlpha*=n.images.alpha,t.drawImage(u,v,m,g-v,y-m,a+r.left,f+r.top,l-a,c-f),t.globalAlpha=d}}function r(e,t,n,r){if(!t.images.show)return;r.format=[{required:!0},{x:!0,number:!0,required:!0},{y:!0,number:!0,required:!0},{x:!0,number:!0,required:!0},{y:!0,number:!0,required:!0}]}function i(e){e.hooks.processRawData.push(r),e.hooks.drawSeries.push(n)}var t={series:{images:{show:!1,alpha:1,anchor:"corner"}}};e.plot.image={},e.plot.image.loadDataImages=function(t,n,r){var i=[],s=[],o=n.series.images.show;e.each(t,function(t,n){if(!o&&!n.images.show)return;n.data&&(n=n.data),e.each(n,function(e,t){typeof t[0]=="string"&&(i.push(t[0]),s.push(t))})}),e.plot.image [all...] |
/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/chrome/browser/ |
H A D | icon_loader_auralinux.cc | 40 gfx::Image image = ui->GetIconForContentType(group_, size_pixels); local 41 if (!image.IsEmpty()) 42 image_.reset(new gfx::Image(image));
|
/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 base::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 {} 30 const gfx::ImageSkia& image, 42 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); local 44 StatusTray::OTHER_ICON, *image, ASCIIToUTF16("tool tip")); 52 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); local 54 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 base::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:__anon9121 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
|