/external/chromium_org/ui/gfx/image/ |
image_util_unittest.cc | 5 #include "ui/gfx/image/image_util.h" 12 #include "ui/gfx/image/image_unittest_util.h" 15 gfx::Image original = gfx::test::CreateImage(100, 100); 20 gfx::Image decoded = 23 // JPEG is lossy, so simply check that the image decoded successfully.
|
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 35 // Dereferencing this iterator returns a gfx::Image. 37 std::iterator<std::bidirectional_iterator_tag, const gfx::Image> { 73 const gfx::Image& operator*() const { 77 const gfx::Image* operator->() const [all...] |
image_util.cc | 5 #include "ui/gfx/image/image_util.h" 10 #include "ui/gfx/image/image.h" 11 #include "ui/gfx/image/image_skia.h" 17 Image ImageFrom1xJPEGEncodedData(const unsigned char* input, 21 return Image::CreateFrom1xBitmap(*bitmap); 23 return Image(); 26 bool JPEG1xEncodedDataFromImage(const Image& image, int quality, 29 image.AsImageSkia().GetRepresentation(ui::SCALE_FACTOR_100P) [all...] |
image.cc | 5 #include "ui/gfx/image/image.h" 13 #include "ui/gfx/image/image_png_rep.h" 14 #include "ui/gfx/image/image_skia.h" 28 #include "ui/gfx/image/cairo_cached_surface.h" 31 #include "ui/gfx/image/image_skia_util_ios.h" 34 #include "ui/gfx/image/image_skia_util_mac.h" 102 gchar* image = NULL; local 106 pixbuf, &image, &image_size, "png", &error, NULL)); 109 png_bytes->data().assign(image, image + image_size) 322 ImageSkia* image() { return image_.get(); } function in class:gfx::internal::ImageRepSkia 427 UIImage* image() const { return image_; } function in class:gfx::internal::ImageRepCocoaTouch 460 NSImage* image() const { return image_; } function in class:gfx::internal::ImageRepCocoa 718 UIImage* image = UIImageFromImageSkia(*skia_rep->image()); local 749 NSImage* image = NSImageFromImageSkiaWithColorSpace(*skia_rep->image(), local 876 UIImage* image = ToUIImage(); local 882 NSImage* image = ToNSImage(); local [all...] |
/frameworks/base/media/java/android/media/ |
Image.java | 23 * <p>A single complete image buffer to use with a media source such as a 27 * data of the Image through one or more 38 * from various media sources, not closing old Image objects will prevent the 40 * {@link ImageReader#getMaxImages the maximum outstanding image count} is 46 public abstract class Image implements AutoCloseable { 50 protected Image() { 54 * Get the format for this image. This format determines the number of 55 * ByteBuffers needed to represent the image, and the general layout of the 92 * The width of the image in pixels. For formats where some color channels 98 * The height of the image in pixels. For formats where some color channel [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSImageGeneratorValue.h | 37 class Image; 60 PassRefPtr<Image> image(RenderObject*, const IntSize&); 73 Image* getImage(RenderObject*, const IntSize&); 74 void putImage(const IntSize&, PassRefPtr<Image>); 77 HashCountedSet<IntSize> m_sizes; // A count of how many times a given image size is in use. 78 RenderObjectSizeCountMap m_clients; // A map from RenderObjects (with entry count) to image sizes. 79 HashMap<IntSize, RefPtr<Image> > m_images; // A cache of Image objects by image size [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/cache/ |
ImageResource.h | 48 ImageResource(WebCore::Image*); 53 WebCore::Image* image(); // Returns the nullImage() if the image is not available yet. 54 WebCore::Image* imageForRenderer(const RenderObject*); // Returns the nullImage() if the image is not available yet. 56 bool currentFrameKnownToBeOpaque(const RenderObject*); // Side effect: ensures decoded image is in cache, therefore should only be called when about to draw the image. 58 std::pair<WebCore::Image*, float> brokenImage(float deviceScaleFactor) const; // Returns an image and the image's resolution scale factor [all...] |
/external/chromium_org/chrome/browser/favicon/ |
favicon_util.h | 17 class Image; 31 // Sets the color space used for converting |image| to an NSImage to the 34 static void SetFaviconColorSpace(gfx::Image* image); 38 static gfx::Image SelectFaviconFramesFromPNGs( 43 // Takes a vector of bitmaps and returns the index of the image that will best 44 // produce an image of size |desired_size| for the given |scale_factors|.
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasPattern.h | 38 class Image; 44 static PassRefPtr<CanvasPattern> create(PassRefPtr<Image> image, bool repeatX, bool repeatY, bool originClean) 46 return adoptRef(new CanvasPattern(image, repeatX, repeatY, originClean)); 54 CanvasPattern(PassRefPtr<Image>, bool repeatX, bool repeatY, bool originClean);
|
/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/jmonkeyengine/engine/src/android/com/jme3/texture/plugins/ |
AndroidImageLoader.java | 7 import com.jme3.texture.Image; 16 Image image = new Image(imageInfo.getFormat(), bitmap.getWidth(), bitmap.getHeight(), null); local 17 image.setEfficentData(imageInfo); 18 return image;
|
/external/chromium_org/chrome/browser/ui/autofill/ |
autocheckout_bubble_controller.h | 16 class Image; 50 gfx::Image NormalImage(); 51 gfx::Image HoverImage(); 52 gfx::Image PressedImage();
|
mock_autofill_dialog_view_delegate.cc | 26 DefaultValue<gfx::Image>::Set(gfx::Image()); 30 gfx::Image(), 32 gfx::Image())); 57 DefaultValue<gfx::Image>::Clear();
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
GeneratedImage.cpp | 41 Image::computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight, intrinsicRatio);
|
Image.cpp | 28 #include "core/platform/graphics/Image.h" 51 Image::Image(ImageObserver* observer) 56 Image::~Image() 60 Image* Image::nullImage() 63 DEFINE_STATIC_LOCAL(RefPtr<Image>, nullImage, (BitmapImage::create()));; 67 PassRefPtr<Image> Image::loadPlatformResource(const char *name [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>, const SVGPreserveAspectRatio&); 50 FEImage(Filter*, PassRefPtr<Image>, const SVGPreserveAspectRatio&); 56 RefPtr<Image> m_image;
|
/frameworks/base/libs/hwui/ |
Image.cpp | 22 #include "Image.h" 27 Image::Image(sp<GraphicBuffer> buffer) { 37 ALOGW("Error creating image (%#x)", eglGetError()); 47 ALOGW("Error creating image (%#x)", status); 52 Image::~Image() {
|
/external/chromium/chrome/browser/ui/webui/ |
fileicon_source.h | 18 class Image; 38 gfx::Image* icon);
|
/external/chromium_org/chrome/browser/ui/gtk/ |
nine_box.h | 11 class Image; 15 // non-corner images can be tiled to make a larger image. It's used to 16 // use bitmaps for constructing image-based resizable widgets like buttons. 18 // If you want just a vertical image that stretches in height but is fixed 20 // Similarly, for a horizontal image that stretches in width but is fixed in 25 // ids that will be passed to the resource bundle. Use 0 for no image. 29 // Construct a NineBox from a single image and insets indicating the sizes 31 NineBox(int image, int top_margin, int bottom_margin, int left_margin, 50 gfx::Image* images_[9];
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_edit_controller.h | 20 class Image; 61 virtual gfx::Image GetFavicon() 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/ui/views/corewm/ |
image_grid.h | 18 class Image; 24 // An ImageGrid is a 3x3 array of ui::Layers, each containing an image. 30 // - the center image is scaled in both directions 46 // below example, the top-left corner image is overlaid on top of the window's 112 void SetImages(const gfx::Image* top_left_image, 113 const gfx::Image* top_image, 114 const gfx::Image* top_right_image, 115 const gfx::Image* left_image, 116 const gfx::Image* center_image, 117 const gfx::Image* right_image [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderInputSpeech.cpp | 85 DEFINE_STATIC_LOCAL(RefPtr<Image>, imageStateNormal, (Image::loadPlatformResource("inputSpeech"))); 86 DEFINE_STATIC_LOCAL(RefPtr<Image>, imageStateRecording, (Image::loadPlatformResource("inputSpeechRecording"))); 87 DEFINE_STATIC_LOCAL(RefPtr<Image>, imageStateWaiting, (Image::loadPlatformResource("inputSpeechWaiting"))); 90 Image* image = imageStateNormal.get(); local 92 image = imageStateRecording.get(); 94 image = imageStateWaiting.get() [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 89 gfx::Image* result, 103 gfx::Image* LookupIconFromGroup(const IconGroupID& group, 106 typedef std::map<CacheKey, gfx::Image*> IconMap;
|
/external/chromium_org/chrome/browser/profiles/ |
profile_info_interface.h | 12 class Image; 33 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex( 46 virtual const gfx::Image* GetGAIAPictureOfProfileAtIndex(
|