Lines Matching defs:image_skia
10 #include "ui/gfx/image/image_skia.h"
84 gfx::ImageSkia image_skia;
85 EXPECT_TRUE(image_skia.isNull());
86 gfx::Image image2(image_skia);
173 gfx::ImageSkia image_skia;
174 image_skia.AddRepresentation(gfx::ImageSkiaRep(gt::CreateBitmap(
176 gfx::Image image1(image_skia);
219 gfx::ImageSkia image_skia;
220 image_skia.AddRepresentation(gfx::ImageSkiaRep(bitmap_1x,
222 image_skia.AddRepresentation(gfx::ImageSkiaRep(gt::CreateBitmap(
224 gfx::Image image(image_skia);
245 gfx::ImageSkia image_skia = image.AsImageSkia();
247 image_skia.GetRepresentation(1.0f).sk_bitmap()));
249 image_skia.GetRepresentation(2.0f).sk_bitmap()));
250 EXPECT_TRUE(gt::ImageSkiaStructureMatches(image_skia, kSize1x, kSize1x,
254 gfx::ImageSkiaRep rep_1_6x = image_skia.GetRepresentation(1.6f);
259 gfx::ImageSkiaRep rep_0_8x = image_skia.GetRepresentation(0.8f);
428 const gfx::ImageSkia* image_skia = NULL;
431 image_skia = image.CopyImageSkia();
433 EXPECT_TRUE(image_skia);
434 EXPECT_FALSE(image_skia->isNull());
435 delete image_skia;
628 gfx::ImageSkia image_skia;
629 image_skia.AddRepresentation(gfx::ImageSkiaRep(
632 image_skia.AddRepresentation(gfx::ImageSkiaRep(
639 EXPECT_TRUE(gt::ImageSkiaStructureMatches(image_skia, kWidth1x, kHeight1x,
643 gfx::Image image(image_skia);
653 gfx::ImageSkia image_skia;
655 image_skia.AddRepresentation(gfx::ImageSkiaRep(
657 EXPECT_EQ(1u, image_skia.image_reps().size());
659 image_skia.RemoveRepresentation(1.0f);
660 EXPECT_EQ(1u, image_skia.image_reps().size());
662 image_skia.RemoveRepresentation(2.0f);
663 EXPECT_EQ(0u, image_skia.image_reps().size());