/external/chromium_org/ui/gfx/image/ |
D | image_skia_rep.cc | 11 ImageSkiaRep::ImageSkiaRep() : scale_(0.0f) { in ImageSkiaRep() function in gfx::ImageSkiaRep 14 ImageSkiaRep::~ImageSkiaRep() { in ~ImageSkiaRep() 17 ImageSkiaRep::ImageSkiaRep(const gfx::Size& size, float scale) : scale_(scale) { in ImageSkiaRep() function in gfx::ImageSkiaRep 23 ImageSkiaRep::ImageSkiaRep(const SkBitmap& src, float scale) in ImageSkiaRep() function in gfx::ImageSkiaRep 28 int ImageSkiaRep::GetWidth() const { in GetWidth() 32 int ImageSkiaRep::GetHeight() const { in GetHeight() 36 void ImageSkiaRep::SetScaled() { in SetScaled()
|
D | image_skia_operations.cc | 39 ImageSkiaRep GetErrorImageRep(float scale, const gfx::Size& pixel_size) { in GetErrorImageRep() 43 return gfx::ImageSkiaRep(bitmap, scale); in GetErrorImageRep() 61 virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { in GetImageForScale() 62 ImageSkiaRep first_rep = first_.GetRepresentation(scale); in GetImageForScale() 63 ImageSkiaRep second_rep = second_.GetRepresentation(scale); in GetImageForScale() 86 virtual ImageSkiaRep CreateImageSkiaRep( 87 const ImageSkiaRep& first_rep, 88 const ImageSkiaRep& second_rep) const = 0; 113 virtual ImageSkiaRep CreateImageSkiaRep( in CreateImageSkiaRep() 114 const ImageSkiaRep& first_rep, in CreateImageSkiaRep() [all …]
|
D | image_skia_unittest.cc | 31 FixedSource(const ImageSkiaRep& image) : image_(image) {} in FixedSource() 36 virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { in GetImageForScale() 41 ImageSkiaRep image_; 55 virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { in GetImageForScale() 57 return gfx::ImageSkiaRep(size_, scale); in GetImageForScale() 81 virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { in GetImageForScale() 82 return gfx::ImageSkiaRep(); in GetImageForScale() 150 ImageSkiaRep image(Size(100, 200), 1.0f); in TEST_F() 154 const ImageSkiaRep& result_100p = image_skia.GetRepresentation(1.0f); in TEST_F() 160 const ImageSkiaRep& result_200p = image_skia.GetRepresentation(2.0f); in TEST_F() [all …]
|
D | image_skia.cc | 27 gfx::ImageSkiaRep& NullImageRep() { in NullImageRep() 28 CR_DEFINE_STATIC_LOCAL(ImageSkiaRep, null_image_rep, ()); in NullImageRep() 50 bool operator()(const ImageSkiaRep& rep) const { in operator ()() 87 std::vector<gfx::ImageSkiaRep>& image_reps() { return image_reps_; } in image_reps() 118 void AddRepresentation(const ImageSkiaRep& image) { in AddRepresentation() 145 std::vector<ImageSkiaRep>::iterator FindRepresentation( in FindRepresentation() 176 ImageSkiaRep image; in FindRepresentation() 193 std::vector<ImageSkiaRep>::iterator iter = FindRepresentation( in FindRepresentation() 204 image = ImageSkiaRep(skia::ImageOperations::Resize( in FindRepresentation() 229 non_const->image_reps().push_back(ImageSkiaRep(SkBitmap(), scale)); in FindRepresentation() [all …]
|
D | image_skia_rep.h | 17 class GFX_EXPORT ImageSkiaRep { 20 ImageSkiaRep(); 21 ~ImageSkiaRep(); 29 ImageSkiaRep(const gfx::Size& size, float scale); 33 ImageSkiaRep(const SkBitmap& src, float scale);
|
D | image_skia.h | 39 typedef std::vector<ImageSkiaRep> ImageSkiaReps; 54 explicit ImageSkia(const gfx::ImageSkiaRep& image_rep); 99 void AddRepresentation(const gfx::ImageSkiaRep& image_rep); 110 const gfx::ImageSkiaRep& GetRepresentation(float scale) const; 146 std::vector<gfx::ImageSkiaRep> image_reps() const; 161 void Init(const gfx::ImageSkiaRep& image_rep);
|
D | image_skia_util_ios.mm | 20 gfx::ImageSkiaRep image_skia_rep = ImageSkiaRepOfScaleFromUIImage( 27 gfx::ImageSkiaRep ImageSkiaRepOfScaleFromUIImage(UIImage* image, float scale) { 29 return gfx::ImageSkiaRep(); 37 return gfx::ImageSkiaRep(bitmap, scale); 45 UIImage* UIImageFromImageSkiaRep(const gfx::ImageSkiaRep& image_skia_rep) {
|
D | image_skia_util_ios.h | 18 class ImageSkiaRep; variable 26 GFX_EXPORT gfx::ImageSkiaRep ImageSkiaRepOfScaleFromUIImage( 37 const gfx::ImageSkiaRep& image_skia_rep);
|
D | image.cc | 63 return new ImageSkia(ImageSkiaRep(bitmap, 1.0f)); in GetErrorImageSkia() 71 virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { in GetImageForScale() 73 return ImageSkiaRep(); in GetImageForScale() 75 const ImageSkiaRep* rep = NULL; in GetImageForScale() 90 return rep ? *rep : ImageSkiaRep(); in GetImageForScale() 98 const gfx::ImageSkiaRep rep = ToImageSkiaRep(png_rep); in AddPNGData() 107 static ImageSkiaRep ToImageSkiaRep(const ImagePNGRep& png_rep) { in ToImageSkiaRep() 114 return ImageSkiaRep(); in ToImageSkiaRep() 116 return ImageSkiaRep(bitmap, png_rep.scale); in ToImageSkiaRep() 121 bool operator()(const ImageSkiaRep& rep1, const ImageSkiaRep& rep2) { in operator ()() [all …]
|
D | image_skia_source.h | 14 class ImageSkiaRep; variable 24 virtual gfx::ImageSkiaRep GetImageForScale(float scale) = 0;
|
D | image_skia_util_mac.mm | 76 image_skia.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); 87 std::vector<gfx::ImageSkiaRep> image_reps = image_skia.image_reps(); 88 for (std::vector<gfx::ImageSkiaRep>::const_iterator it = image_reps.begin(); 105 std::vector<gfx::ImageSkiaRep> image_reps = image_skia.image_reps(); 106 for (std::vector<gfx::ImageSkiaRep>::const_iterator it = image_reps.begin();
|
D | canvas_image_source.h | 16 class ImageSkiaRep; variable 33 virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE;
|
D | image_util.cc | 30 const gfx::ImageSkiaRep& image_skia_rep = in JPEG1xEncodedDataFromImage() 56 const ImageSkiaRep& rep = image.GetRepresentation(1.0); in VisibleMargins()
|
D | image_unittest.cc | 173 image_skia.AddRepresentation(gfx::ImageSkiaRep(gt::CreateBitmap( in TEST_F() 219 image_skia.AddRepresentation(gfx::ImageSkiaRep(bitmap_1x, in TEST_F() 221 image_skia.AddRepresentation(gfx::ImageSkiaRep(gt::CreateBitmap( in TEST_F() 253 gfx::ImageSkiaRep rep_1_6x = image_skia.GetRepresentation(1.6f); in TEST_F() 258 gfx::ImageSkiaRep rep_0_8x = image_skia.GetRepresentation(0.8f); in TEST_F() 628 image_skia.AddRepresentation(gfx::ImageSkiaRep( in TEST_F() 631 image_skia.AddRepresentation(gfx::ImageSkiaRep( in TEST_F() 654 image_skia.AddRepresentation(gfx::ImageSkiaRep( in TEST_F() 673 gfx::ImageSkiaRep(bitmap, 1.0f))); in TEST_F()
|
/external/chromium_org/extensions/browser/ |
D | extension_icon_image.cc | 85 virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE; 110 gfx::ImageSkiaRep IconImage::Source::GetImageForScale(float scale) { in GetImageForScale() 111 gfx::ImageSkiaRep representation; in GetImageForScale() 157 gfx::ImageSkiaRep IconImage::LoadImageForScaleFactor( in LoadImageForScaleFactor() 161 return gfx::ImageSkiaRep(); in LoadImageForScaleFactor() 200 return gfx::ImageSkiaRep(); in LoadImageForScaleFactor() 211 gfx::ImageSkiaRep rep = image->GetRepresentation(scale); in OnImageLoaded()
|
D | extension_icon_image_unittest.cc | 60 virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { in GetImageForScale() 183 return gfx::ImageSkia(gfx::ImageSkiaRep(gfx::Size(16, 16), 1.0f)); in GetDefaultIcon() 243 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); in TEST_F() 305 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(2.0f); in TEST_F() 342 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); in TEST_F() 375 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); in TEST_F() 415 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); in TEST_F() 456 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); in TEST_F() 494 gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); in TEST_F() 536 gfx::ImageSkiaRep representation = in TEST_F()
|
D | image_loader_unittest.cc | 232 std::vector<gfx::ImageSkiaRep> image_reps = in TEST_F() 236 const gfx::ImageSkiaRep* img_rep1 = &image_reps[0]; in TEST_F() 237 const gfx::ImageSkiaRep* img_rep2 = &image_reps[1]; in TEST_F() 297 std::vector<gfx::ImageSkiaRep> image_reps = in TEST_F() 305 const gfx::ImageSkiaRep* img_rep1 = &image_reps[0]; in TEST_F() 306 const gfx::ImageSkiaRep* img_rep2 = &image_reps[1]; in TEST_F()
|
/external/chromium_org/components/favicon_base/ |
D | select_favicon_frames.cc | 176 virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { in GetImageForScale() 177 const gfx::ImageSkiaRep* rep = NULL; in GetImageForScale() 186 for (std::vector<gfx::ImageSkiaRep>::const_iterator iter = in GetImageForScale() 197 return rep ? *rep : gfx::ImageSkiaRep(); in GetImageForScale() 200 void AddImageSkiaRep(const gfx::ImageSkiaRep& rep) { in AddImageSkiaRep() 205 std::vector<gfx::ImageSkiaRep> image_skia_reps_; 241 return gfx::ImageSkia(gfx::ImageSkiaRep(bitmaps[index], 1.0f)); in CreateFaviconImageSkia() 249 gfx::ImageSkiaRep(GetResizedBitmap(bitmaps[index], in CreateFaviconImageSkia()
|
/external/chromium_org/ui/gfx/ |
D | skia_util.h | 22 class ImageSkiaRep; variable 46 const gfx::ImageSkiaRep& image_rep, 52 const gfx::ImageSkiaRep& image_rep,
|
D | canvas.cc | 46 Canvas::Canvas(const ImageSkiaRep& image_rep, bool is_opaque) in Canvas() 122 ImageSkiaRep Canvas::ExtractImageRep() const { in ExtractImageRep() 131 return ImageSkiaRep(result, image_scale_); in ExtractImageRep() 343 const ImageSkiaRep& image_rep = image.GetRepresentation(image_scale_); in DrawImageInt() 451 const ImageSkiaRep& image_rep = image.GetRepresentation(image_scale_); in DrawImageInPath() 514 const ImageSkiaRep& image_rep = image.GetRepresentation(image_scale_); in TileImageInt() 597 const ImageSkiaRep& image_rep = image.GetRepresentation(image_scale); in DrawImageIntHelper()
|
/external/chromium_org/chrome/browser/ |
D | image_holder.cc | 87 image_.AddRepresentation(gfx::ImageSkiaRep(*bitmap, 1.0)); in OnFetchComplete() 91 image_.AddRepresentation(gfx::ImageSkiaRep(*bitmap, 2.0)); in OnFetchComplete()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_action_icon_factory_unittest.cc | 39 bool ImageRepsAreEqual(const gfx::ImageSkiaRep& image_rep1, in ImageRepsAreEqual() 40 const gfx::ImageSkiaRep& image_rep2) { in ImageRepsAreEqual() 56 gfx::ImageSkiaRep CreateBlankRep(int size_dip, float scale) { in CreateBlankRep() 61 return gfx::ImageSkiaRep(bitmap, scale); in CreateBlankRep()
|
D | extension_action.cc | 45 virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { in GetImageForScale() 46 gfx::ImageSkiaRep icon_rep = icon_.GetRepresentation(scale); in GetImageForScale() 48 return gfx::ImageSkiaRep( in GetImageForScale() 179 icon->AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); in ParseIconFromCanvasDictionary()
|
/external/chromium_org/ui/base/cursor/ |
D | cursor_util.cc | 69 const gfx::ImageSkiaRep& image_rep = image->GetRepresentation(scale); in GetImageCursorBitmap() 86 const gfx::ImageSkiaRep& image_rep = image->GetRepresentation(scale); in GetAnimatedCursorBitmaps()
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | fast_show_pickler.cc | 79 std::vector<gfx::ImageSkiaRep> reps(image.image_reps()); in PickleImage() 81 for (std::vector<gfx::ImageSkiaRep>::const_iterator it = reps.begin(); in PickleImage() 140 result.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); in UnpickleImage()
|