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

1234567891011>>

/external/chromium_org/chrome/browser/chromeos/profiles/
H A Davatar_menu_chromeos.cc11 #include "ui/gfx/image/image.h"
15 gfx::Image* image,
19 *image = ash::GetAvatarImageForContext(profile);
14 GetImageForMenuButton(Profile* profile, gfx::Image* image, bool* is_rectangle) argument
/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/third_party/WebKit/Source/core/fetch/
H A DResourceFetcherTest.cpp63 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 DSkDrawShader.h23 SkBaseBitmap* image; member in class:SkDrawBitmapShader
/external/chromium_org/third_party/skia/src/image/
H A DSkImagePriv.cpp18 SkImage* image = NULL; local
20 image = SkNewImageFromPixelRef(info, bm.pixelRef(), bm.rowBytes());
24 image = SkImage::NewRasterCopy(info, bm.getPixels(), bm.rowBytes());
28 return image;
/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
20 data_object->provider().SetDragImage(image, cursor_offset);
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dt2.h55 /** Encoding: pointer to the src image. Decoding: pointer to the dst image. */
56 opj_image_t *image; member in struct:opj_t2
57 /** pointer to the image coding parameters */
116 * @param p_image Source or destination image
/external/skia/src/animator/
H A DSkDrawShader.h23 SkBaseBitmap* image; member in class:SkDrawBitmapShader
/external/chromium_org/chrome/browser/ui/
H A Dchrome_style.cc9 #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/third_party/flot/
H A Djquery.flot.image.min.js6 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/libpcap/
H A Dbpf_image.c61 static char image[256]; local
296 (void)snprintf(image, sizeof image,
300 (void)snprintf(image, sizeof image,
304 return image;
/external/libpng/contrib/examples/
H A Dpngtopng.c30 png_image image; local
32 /* Only the image structure version number needs to be set. */
33 memset(&image, 0, sizeof image);
34 image.version = PNG_IMAGE_VERSION;
36 if (png_image_begin_read_from_file(&image, argv[1]))
43 image.format = PNG_FORMAT_RGBA;
45 buffer = malloc(PNG_IMAGE_SIZE(image));
49 if (png_image_finish_read(&image, NULL/*background*/, buffer,
52 if (png_image_write_to_file(&image, arg
[all...]
/external/chromium_org/chrome/browser/
H A Dicon_loader_auralinux.cc48 gfx::Image image = ui->GetIconForContentType(group_, size_pixels); local
49 if (!image.IsEmpty())
50 image_.reset(new gfx::Image(image));
/external/chromium_org/chrome/browser/profiles/
H A Davatar_menu_desktop.cc16 gfx::Image* image,
26 // If there is a Gaia image available, try to use that.
30 *image = *gaia_image;
40 *image = ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id);
15 GetImageForMenuButton(Profile* profile, gfx::Image* image, bool* is_rectangle) argument
H A Dprofile_avatar_icon_util_unittest.cc11 #include "ui/gfx/image/image_skia.h"
12 #include "ui/gfx/image/image_skia_rep.h"
13 #include "ui/gfx/image/image_unittest_util.h"
17 // Helper function to check that the image is sized properly
19 void VerifyScaling(gfx::Image& image, gfx::Size& size) { argument
24 ASSERT_FALSE(gfx::test::IsEmpty(image));
25 EXPECT_EQ(image.Size(), size);
27 gfx::ImageSkia image_skia = *image.ToImageSkia();
29 EXPECT_TRUE(image.ToImageSkia()->HasRepresentation(1.0f));
32 EXPECT_TRUE(image
[all...]
/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 base::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 {}
29 const gfx::ImageSkia& image,
41 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); local
43 StatusTray::OTHER_ICON, *image, base::ASCIIToUTF16("tool tip"));
51 gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); local
53 StatusTray::OTHER_ICON, *image, base::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 base::string16& tool_tip) argument
/external/chromium_org/components/enhanced_bookmarks/
H A Dimage_store_util.cc7 #include "ui/gfx/image/image_skia.h"
8 #include "ui/gfx/image/image_util.h"
16 scoped_refptr<base::RefCountedMemory> BytesForImage(const gfx::Image& image) { argument
17 DCHECK(image.AsImageSkia().image_reps().size() == 1);
18 DCHECK(image.AsImageSkia().image_reps().begin()->scale() == 1.0f);
22 gfx::JPEG1xEncodedDataFromImage(image, kJpegEncodingQuality, &data);
/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:__anon8930
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.cc20 PP_Resource image,
26 return enter.functions()->SetCursor(instance, type, image, hot_spot);
18 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 PassRefPtrWillBeRawPtr<CSSValueList> createBorderImageValue(PassRefPtrWillBeRawPtr<CSSValue> image, PassRefPtrWillBeRawPtr<CSSValue> imageSlice, argument
29 if (image)
30 list->append(image);

Completed in 2319 milliseconds

1234567891011>>