/external/chromium_org/ui/gfx/image/ |
image_unittest_util.h | 5 // Because the unit tests for gfx::Image are spread across multiple 11 #include "ui/gfx/image/image.h" 38 gfx::Image CreateImage(); 39 gfx::Image CreateImage(int width, int height); 43 bool IsEqual(const gfx::Image& image1, const gfx::Image& image2); 50 // An image which was not successfully decoded to PNG should be a red bitmap. 52 void CheckImageIndicatesPNGDecodeFailure(const gfx::Image& image); [all...] |
image_family.h | 13 #include "ui/gfx/image/image.h" 22 // most appropriate image to fit in a given rectangle. 24 // NOTE: This is not appropriate for storing an image at a single logical pixel 25 // size, with high-DPI bitmap versions; use an Image or ImageSkia for that. Each 26 // image in an ImageFamily should have a different logical size (and may also 31 // A 0x0 image has aspect ratio 1.0. 0xN and Nx0 images are treated as 0x0. 43 // Dereferencing this iterator returns a gfx::Image. 45 std::iterator<std::bidirectional_iterator_tag, const gfx::Image> { 83 const gfx::Image& operator*() const [all...] |
image.cc | 5 #include "ui/gfx/image/image.h" 14 #include "ui/gfx/image/image_png_rep.h" 15 #include "ui/gfx/image/image_skia.h" 16 #include "ui/gfx/image/image_skia_source.h" 25 #include "ui/gfx/image/image_skia_util_ios.h" 28 #include "ui/gfx/image/image_skia_util_mac.h" 41 gfx::Size UIImageSize(UIImage* image); 48 gfx::Size NSImageSize(NSImage* image); 57 // Returns a 16x16 red image to visually show error in decoding PNG 285 ImageSkia* image() { return image_.get(); } function in class:gfx::internal::ImageRepSkia 319 UIImage* image() const { return image_; } function in class:gfx::internal::ImageRepCocoaTouch 352 NSImage* image() const { return image_; } function in class:gfx::internal::ImageRepCocoa 560 UIImage* image = UIImageFromImageSkia(*skia_rep->image()); local 591 NSImage* image = NSImageFromImageSkiaWithColorSpace(*skia_rep->image(), local 702 UIImage* image = ToUIImage(); local 708 NSImage* image = ToNSImage(); local [all...] |
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_theme.h | 11 class Image; 22 virtual gfx::Image GetImageNamed(int id) OVERRIDE;
|
/cts/tests/tests/media/src/android/media/cts/ |
CodecUtils.java | 21 import android.media.Image; 37 private final Image mImage; 40 private ImageWrapper(Image image) { 41 mImage = image; 42 Image.Plane[] planes = mImage.getPlanes(); 50 public static ImageWrapper createFromImage(Image image) { 51 return new ImageWrapper(image); 85 private final Image.Plane mPlane [all...] |
/external/chromium_org/chrome/browser/notifications/ |
notification_conversion_helper.h | 21 class Image; 34 // Converts gfx::Image (in ARGB format) type to 37 const gfx::Image* gfx_image, 41 // with width, height, and data in RGBA format into an gfx::Image (ARGB). 46 gfx::Image* return_image);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
screenlock_icon_provider.cc | 14 const gfx::Image& icon) { 23 gfx::Image ScreenlockIconProvider::GetIcon(const std::string& username) { 25 return gfx::Image();
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
ImageResource.h | 51 ImageResource(blink::Image*); 53 ImageResource(const ResourceRequest&, blink::Image*); 58 blink::Image* image(); // Returns the nullImage() if the image is not available yet. 59 blink::Image* imageForRenderer(const RenderObject*); // Returns the nullImage() if the image is not available yet. 61 bool currentFrameKnownToBeOpaque(const RenderObject*); // Side effect: ensures decoded image is in cache, therefore should only be called when about to draw the image. 63 static std::pair<blink::Image*, float> brokenImage(float deviceScaleFactor); // Returns an image and the image's resolution scal (…) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasPattern.h | 39 class Image; 46 static PassRefPtrWillBeRawPtr<CanvasPattern> create(PassRefPtr<Image> image, 49 return adoptRefWillBeNoop(new CanvasPattern(image, repeat, originClean)); 61 CanvasPattern(PassRefPtr<Image>, Pattern::RepeatMode, bool originClean);
|
CanvasImageSource.h | 34 class Image; 45 UndecodableSourceImageStatus, // Image element with a 'broken' image 47 IncompleteSourceImageStatus, // Image element with no source media 53 virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus* = 0) const = 0; 64 // source image is a subregion of the image returned by getSourceImageForCanvas.
|
/external/chromium_org/tools/site_compare/operators/ |
equals.py | 7 from PIL import Image 15 file1: path to first image to compare 16 file2: path to second image to compare 21 A tuple of (errorstring, image) if they're not 25 im1 = Image.open(file1) 26 im2 = Image.open(file2)
|
/external/chromium_org/chrome/browser/profiles/ |
profile_avatar_icon_util_unittest.cc | 11 #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) { 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)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/ |
SVGFEImage.h | 33 class Image; 38 static PassRefPtr<FEImage> createWithImage(Filter*, PassRefPtr<Image>, PassRefPtr<SVGPreserveAspectRatio>); 50 FEImage(Filter*, PassRefPtr<Image>, PassRefPtr<SVGPreserveAspectRatio>); 57 RefPtr<Image> m_image;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GeneratedImage.cpp | 41 Image::computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight, intrinsicRatio);
|
Image.cpp | 28 #include "platform/graphics/Image.h" 49 Image::Image(ImageObserver* observer) 54 Image::~Image() 58 Image* Image::nullImage() 61 DEFINE_STATIC_REF(Image, nullImage, (BitmapImage::create())); 65 PassRefPtr<Image> Image::loadPlatformResource(const char *name [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/ |
ImageD3D.cpp | 7 // Image.h: Implements the rx::Image class, an abstract base class for the 20 ImageD3D *ImageD3D::makeImageD3D(Image *img)
|
/external/chromium_org/chrome/browser/ui/ |
confirm_bubble_model.h | 12 class Image; 35 // Returns an icon for the bubble. This image should be owned by the 38 virtual gfx::Image* GetIcon() const = 0;
|
/external/chromium_org/printing/ |
image.cc | 5 #include "printing/image.h" 20 Image::Image(const base::FilePath& path) 40 Image::Image(const Metafile& metafile) 46 Image::Image(const Image& image) 47 : size_(image.size_) [all...] |
/external/chromium_org/chrome/browser/ |
icon_manager.h | 53 #include "ui/gfx/image/image.h" 65 gfx::Image* LookupIconFromFilepath(const base::FilePath& file_name, 68 typedef base::Callback<void(gfx::Image*)> IconRequestCallback; 78 // 3. The gfx::Image pointer passed to the callback may be NULL if decoding 90 gfx::Image* result, 104 gfx::Image* LookupIconFromGroup(const IconGroupID& group, 107 typedef std::map<CacheKey, gfx::Image*> IconMap;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSImageGeneratorValue.h | 37 class Image; 59 PassRefPtr<Image> image(RenderObject*, const IntSize&); 74 Image* getImage(RenderObject*, const IntSize&); 75 void putImage(const IntSize&, PassRefPtr<Image>); 78 HashCountedSet<IntSize> m_sizes; // A count of how many times a given image size is in use. 79 RenderObjectSizeCountMap m_clients; // A map from RenderObjects (with entry count) to image sizes. 80 HashMap<IntSize, RefPtr<Image> > m_images; // A cache of Image objects by image size [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
ImageBitmap.h | 12 #include "platform/graphics/Image.h" 32 static PassRefPtrWillBeRawPtr<ImageBitmap> create(Image*, const IntRect&); 34 PassRefPtr<Image> bitmapImage() const; 46 virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const OVERRIDE; 59 ImageBitmap(Image*, const IntRect&); 66 // the image source changes. 68 RefPtr<Image> m_bitmap; 70 IntRect m_bitmapRect; // The rect where the underlying Image should be placed in reference to the ImageBitmap. 73 // The offset by which the desired Image is stored internally. 75 // ImageBitmaps not constructed from HTMLImageElements always pre-crop and store the image at (0, 0) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_uninstall_dialog.h | 11 #include "ui/gfx/image/image_skia.h" 21 class Image; 86 // image, then we use a default icon instead. 87 void SetIcon(const gfx::Image& image); 89 void OnImageLoaded(const std::string& extension_id, const gfx::Image& image);
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
avatar_menu_button.h | 18 class Image; 44 // Sets the image for the avatar button. Rectangular images, as opposed 46 virtual void SetAvatarIcon(const gfx::Image& icon, bool is_rectangle); 66 // Use a scoped ptr because gfx::Image doesn't have a default constructor. 67 scoped_ptr<gfx::Image> icon_;
|
/external/chromium_org/components/enhanced_bookmarks/ |
test_image_store.h | 19 const gfx::Image& image) OVERRIDE; 21 virtual std::pair<gfx::Image, GURL> Get(const GURL& page_url) OVERRIDE; 31 typedef std::map<const GURL, std::pair<gfx::Image, const GURL> > ImageMap;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
OverscrollTheme.cpp | 36 m_overhangShadow = Image::loadPlatformResource("overhangShadow"); 37 m_overhangPattern = Image::loadPlatformResource("overhangPattern"); 41 PassRefPtr<Image> OverscrollTheme::getOverhangImage()
|