Home
last modified time | relevance | path

Searched refs:image_skia_rep (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/ui/gfx/image/
Dimage_skia_util_ios.mm20 gfx::ImageSkiaRep image_skia_rep = ImageSkiaRepOfScaleFromUIImage(
22 if (!image_skia_rep.is_null())
23 image_skia.AddRepresentation(image_skia_rep);
45 UIImage* UIImageFromImageSkiaRep(const gfx::ImageSkiaRep& image_skia_rep) {
46 if (image_skia_rep.is_null())
49 float scale = image_skia_rep.scale();
52 return gfx::SkBitmapToUIImageWithColorSpace(image_skia_rep.sk_bitmap(), scale,
Dimage_ios.mm103 const gfx::ImageSkiaRep& image_skia_rep = skia->GetRepresentation(1.0f);
104 if (image_skia_rep.scale() != 1.0f)
107 UIImage* image = UIImageFromImageSkiaRep(image_skia_rep);
119 gfx::ImageSkiaRep image_skia_rep = ImageSkiaRepOfScaleFromUIImage(
121 if (!image_skia_rep.is_null())
122 image_skia->AddRepresentation(image_skia_rep);
Dimage_util.cc30 const gfx::ImageSkiaRep& image_skia_rep = in JPEG1xEncodedDataFromImage() local
32 if (image_skia_rep.scale() != 1.0f) in JPEG1xEncodedDataFromImage()
35 const SkBitmap& bitmap = image_skia_rep.sk_bitmap(); in JPEG1xEncodedDataFromImage()
Dimage_skia_util_ios.h37 const gfx::ImageSkiaRep& image_skia_rep);
Dimage.cc152 ImageSkiaRep image_skia_rep = image_skia->GetRepresentation(1.0f); in Get1xPNGBytesFromImageSkia() local
155 if (image_skia_rep.scale() != 1.0f || in Get1xPNGBytesFromImageSkia()
156 !PNGCodec::EncodeBGRASkBitmap(image_skia_rep.sk_bitmap(), false, in Get1xPNGBytesFromImageSkia()
/external/chromium_org/components/pdf/renderer/
Dpepper_pdf_host.cc170 gfx::ImageSkiaRep image_skia_rep = res_image_skia->GetRepresentation(scale); in OnHostMsgGetResourceImage() local
172 if (image_skia_rep.is_null() || image_skia_rep.scale() != scale) in OnHostMsgGetResourceImage()
176 pp_size.width = image_skia_rep.pixel_width(); in OnHostMsgGetResourceImage()
177 pp_size.height = image_skia_rep.pixel_height(); in OnHostMsgGetResourceImage()
187 image_skia_rep.sk_bitmap(), in OnHostMsgGetResourceImage()
/external/chromium_org/ui/gfx/
Dgfx.gyp198 'image/image_skia_rep.cc',
199 'image/image_skia_rep.h',
DBUILD.gn125 "image/image_skia_rep.cc",
126 "image/image_skia_rep.h",
Dgfx.target.darwin-mips.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.linux-x86_64.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.linux-mips.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.darwin-arm64.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.darwin-mips64.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.darwin-x86.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.linux-x86.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.linux-arm64.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.darwin-x86_64.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.linux-mips64.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.darwin-arm.mk67 ui/gfx/image/image_skia_rep.cc \
Dgfx.target.linux-arm.mk67 ui/gfx/image/image_skia_rep.cc \
/external/chromium_org/content/renderer/pepper/
Dpepper_plugin_instance_impl.cc3080 gfx::ImageSkiaRep image_skia_rep = source_image->GetRepresentation(scale); in CreateImage() local
3082 if (image_skia_rep.is_null() || image_skia_rep.scale() != scale) in CreateImage()
3088 image_skia_rep.pixel_width(), in CreateImage()
3089 image_skia_rep.pixel_height(), in CreateImage()
3101 canvas->writePixels(image_skia_rep.sk_bitmap(), 0, 0); in CreateImage()
/external/chromium_org/chrome/browser/ui/cocoa/panels/
Dpanel_stack_window_cocoa.mm18 #include "ui/gfx/image/image_skia_rep.h"