Searched refs:UIImage (Results 1 – 21 of 21) sorted by relevance
24 // Returns a 16x16 red UIImage to visually show when a UIImage cannot be26 // Caller takes ownership of returned UIImage.27 UIImage* CreateErrorUIImage(float scale) {28 LOG(ERROR) << "Unable to decode PNG into UIImage.";43 return [[UIImage imageWithCGImage:cg_image.get()48 // Converts from ImagePNGRep to UIImage.49 UIImage* CreateUIImageFromImagePNGRep(const gfx::ImagePNGRep& image_png_rep) {54 UIImage* image = [[UIImage alloc] initWithData:data scale:scale];61 UIImage* uiimage) {74 UIImage* CreateUIImageFromPNG([all …]
11 @class UIImage;13 class UIImage; variable21 GFX_EXPORT gfx::ImageSkia ImageSkiaFromUIImage(UIImage* image);27 UIImage* image,33 GFX_EXPORT UIImage* UIImageFromImageSkia(const gfx::ImageSkia& image_skia);36 GFX_EXPORT UIImage* UIImageFromImageSkiaRep(
16 // Helper function to return a UIImage with the given size and scale.17 UIImage* UIImageWithSizeAndScale(CGFloat width, CGFloat height, CGFloat scale) {20 // Create a UIImage directly from a CGImage in order to control the exact40 return [UIImage imageWithCGImage:cg_image83 // Create an UIImage with the appropriate source_scale.84 UIImage* ui_image =103 // TODO(rohitrao): Convert from ImageSkia back to UIImage. This should
17 gfx::ImageSkia ImageSkiaFromUIImage(UIImage* image) {27 gfx::ImageSkiaRep ImageSkiaRepOfScaleFromUIImage(UIImage* image, float scale) {40 UIImage* UIImageFromImageSkia(const gfx::ImageSkia& image_skia) {45 UIImage* UIImageFromImageSkiaRep(const gfx::ImageSkiaRep& image_skia_rep) {
76 explicit Image(UIImage* image);117 UIImage* ToUIImage() const;150 UIImage* CopyUIImage() const;
37 UIImage* uiimage);39 UIImage* CreateUIImageFromPNG(41 gfx::Size UIImageSize(UIImage* image);296 explicit ImageRepCocoaTouch(UIImage* image) in ImageRepCocoaTouch()319 UIImage* image() const { return image_; } in image()322 UIImage* image_;447 Image::Image(UIImage* image) in Image()546 UIImage* Image::ToUIImage() const { in ToUIImage()560 UIImage* image = UIImageFromImageSkia(*skia_rep->image()); in ToUIImage()701 UIImage* Image::CopyUIImage() const { in CopyUIImage()[all …]
18 typedef UIImage* PlatformImage;
185 UIImage* image = in CreatePlatformImage()
449 UIImage* ui_image; in TEST_F()
14 @class UIImage;17 class UIImage; variable29 SK_API UIImage* SkBitmapToUIImageWithColorSpace(const SkBitmap& skia_bitmap,
59 UIImage* SkBitmapToUIImageWithColorSpace(const SkBitmap& skia_bitmap,69 // Now convert to UIImage.70 return [UIImage imageWithCGImage:cg_image.get()
65 @class UIImage;72 class UIImage; variable180 typedef UIImage NativeImageType;
28 UIImage* uimage = [UIImage imageWithData:data];
37 // Encodes the UIImage representation of a gfx::Image.44 // Decodes the UIImage in the bytes and returns a gfx::Image.
21 // Generates a gfx::Image with a random UIImage representation. Uses off-center56 UIImage* image = UIGraphicsGetImageFromCurrentImageContext();
147 base::scoped_nsobject<UIImage> ui_image(148 [[UIImage alloc] initWithData:ns_data scale:source_scale]);173 ui_image.reset([[UIImage alloc] initWithCGImage:cg_image
93 @interface UIImage interface
92 @interface UIImage interface
93 @interface UIImage
92 @interface UIImage