/external/chromium_org/ui/gfx/image/ |
D | image_skia.cc | 77 std::vector<gfx::ImageSkiaRep>& image_reps() { return image_reps_; } in image_reps() function in gfx::internal::ImageSkiaStorage 116 non_const->image_reps().end(); in FindRepresentation() 118 non_const->image_reps().end(); in FindRepresentation() 121 non_const->image_reps().begin(); in FindRepresentation() 148 non_const->image_reps().push_back(image); in FindRepresentation() 155 non_const->image_reps().push_back(ImageSkiaRep(SkBitmap(), scale)); in FindRepresentation() 253 std::vector<gfx::ImageSkiaRep>& reps = storage_->image_reps(); in DeepCopy() 281 storage_->image_reps().push_back(image_rep); in AddRepresentation() 290 ImageSkiaReps& image_reps = storage_->image_reps(); in RemoveRepresentation() local 293 if (it != image_reps.end() && it->scale() == scale) in RemoveRepresentation() [all …]
|
D | image_skia_unittest.cc | 93 image_skia_->image_reps(); in Run() 119 EXPECT_EQ(0U, image_skia.image_reps().size()); in TEST() 125 EXPECT_EQ(1U, image_skia.image_reps().size()); in TEST() 134 EXPECT_EQ(1U, image_skia.image_reps().size()); in TEST() 140 EXPECT_EQ(1U, image_skia.image_reps().size()); in TEST() 145 EXPECT_EQ(0U, image_skia.image_reps().size()); in TEST() 150 EXPECT_EQ(1U, image_skia.image_reps().size()); in TEST() 159 EXPECT_EQ(2U, image_skia.image_reps().size()); in TEST() 164 EXPECT_EQ(2U, image_skia.image_reps().size()); in TEST() 166 EXPECT_EQ(2U, image_skia.image_reps().size()); in TEST() [all …]
|
D | image_skia_util_mac.mm | 93 std::vector<gfx::ImageSkiaRep> image_reps = image_skia.image_reps(); 94 for (std::vector<gfx::ImageSkiaRep>::const_iterator it = image_reps.begin(); 95 it != image_reps.end(); ++it) { 111 std::vector<gfx::ImageSkiaRep> image_reps = image_skia.image_reps(); 112 for (std::vector<gfx::ImageSkiaRep>::const_iterator it = image_reps.begin(); 113 it != image_reps.end(); ++it) {
|
D | image.cc | 274 for (std::vector<ImagePNGRep>::const_iterator it = image_reps().begin(); in Size() 275 it != image_reps().end(); ++it) { in Size() 287 const std::vector<ImagePNGRep>& image_reps() const { return image_png_reps_; } in image_reps() function in gfx::internal::ImageRepPNG 528 Image::Image(const std::vector<ImagePNGRep>& image_reps) { in Image() argument 531 for (size_t i = 0; i < image_reps.size(); ++i) { in Image() 532 if (image_reps[i].raw_data.get() && image_reps[i].raw_data->size()) in Image() 533 filtered.push_back(image_reps[i]); in Image() 605 std::vector<gfx::ImagePNGRep> image_reps; in CreateFrom1xPNGBytes() local 606 image_reps.push_back(ImagePNGRep(raw_data, 1.0f)); in CreateFrom1xPNGBytes() 607 return gfx::Image(image_reps); in CreateFrom1xPNGBytes() [all …]
|
D | image_unittest_util.cc | 86 std::vector<gfx::ImageSkiaRep> img1_reps = img1.AsImageSkia().image_reps(); in IsEqual() 88 if (image_skia2.image_reps().size() != img1_reps.size()) in IsEqual() 156 image_skia.image_reps().size() != scales.size()) { in ImageSkiaStructureMatches()
|
D | image_skia.h | 142 std::vector<gfx::ImageSkiaRep> image_reps() const;
|
D | image.h | 74 explicit Image(const std::vector<ImagePNGRep>& image_reps);
|
D | image_unittest.cc | 672 EXPECT_EQ(1u, image_skia.image_reps().size()); in TEST_F() 675 EXPECT_EQ(1u, image_skia.image_reps().size()); in TEST_F() 678 EXPECT_EQ(0u, image_skia.image_reps().size()); in TEST_F()
|
D | image_mac_unittest.mm | 167 EXPECT_EQ(2u, image.ToImageSkia()->image_reps().size());
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_icon_image_unittest.cc | 242 gfx::ImageSkia::ImageSkiaReps image_reps = image.image_skia().image_reps(); in TEST_F() local 243 ASSERT_EQ(0u, image_reps.size()); in TEST_F() 256 ASSERT_EQ(1u, image.image_skia().image_reps().size()); in TEST_F() 273 ASSERT_EQ(2u, image.image_skia().image_reps().size()); in TEST_F() 313 ASSERT_EQ(1u, image.image_skia().image_reps().size()); in TEST_F() 352 ASSERT_EQ(1u, image.image_skia().image_reps().size()); in TEST_F() 391 ASSERT_EQ(1u, image.image_skia().image_reps().size()); in TEST_F() 431 ASSERT_EQ(1u, image.image_skia().image_reps().size()); in TEST_F() 476 ASSERT_EQ(1u, image.image_skia().image_reps().size()); in TEST_F() 509 ASSERT_EQ(1u, image.image_skia().image_reps().size()); in TEST_F() [all …]
|
D | image_loader_unittest.cc | 228 std::vector<gfx::ImageSkiaRep> image_reps = in TEST_F() local 229 image_.ToImageSkia()->image_reps(); in TEST_F() 230 ASSERT_EQ(2u, image_reps.size()); in TEST_F() 231 const gfx::ImageSkiaRep* img_rep1 = &image_reps[0]; in TEST_F() 232 const gfx::ImageSkiaRep* img_rep2 = &image_reps[1]; in TEST_F()
|
D | extension_web_ui.cc | 93 const std::vector<gfx::ImageSkiaRep>& image_reps = in RunFaviconCallbackAsync() local 94 image.AsImageSkia().image_reps(); in RunFaviconCallbackAsync() 95 for (size_t i = 0; i < image_reps.size(); ++i) { in RunFaviconCallbackAsync() 96 const gfx::ImageSkiaRep& image_rep = image_reps[i]; in RunFaviconCallbackAsync()
|
/external/chromium_org/chrome/browser/ui/app_list/search/people/ |
D | people_result.cc | 117 const std::vector<gfx::ImageSkiaRep>& image_reps = image_.image_reps(); in OnIconLoaded() local 118 for (size_t i = 0; i < image_reps.size(); ++i) in OnIconLoaded() 119 image_.RemoveRepresentation(image_reps[i].scale()); in OnIconLoaded()
|
/external/chromium_org/chrome/browser/history/ |
D | select_favicon_frames_unittest.cc | 74 EXPECT_EQ(1u, image.image_reps().size()); in TEST() 90 EXPECT_EQ(1u, image.image_reps().size()); in TEST() 105 EXPECT_EQ(1u, image.image_reps().size()); in TEST() 121 EXPECT_EQ(1u, image.image_reps().size()); in TEST() 134 EXPECT_EQ(2u, image.image_reps().size()); in TEST() 150 EXPECT_EQ(2u, image.image_reps().size()); in TEST()
|
/external/chromium_org/chrome/browser/speech/ |
D | speech_recognition_bubble.cc | 100 std::vector<gfx::ImageSkiaRep> image_reps = frame.image_reps(); in SpeechRecognitionBubbleImages() local 102 for (size_t i = 0; i < image_reps.size(); ++i) { in SpeechRecognitionBubbleImages() 103 const SkBitmap& copy_src = image_reps[i].sk_bitmap(); in SpeechRecognitionBubbleImages() 107 copy_dst, image_reps[i].scale())); in SpeechRecognitionBubbleImages()
|
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
D | webstore_result.cc | 168 const std::vector<gfx::ImageSkiaRep>& image_reps = icon_.image_reps(); in OnIconLoaded() local 169 for (size_t i = 0; i < image_reps.size(); ++i) in OnIconLoaded() 170 icon_.RemoveRepresentation(image_reps[i].scale()); in OnIconLoaded()
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_service.cc | 283 const std::vector<gfx::ImageSkiaRep>& image_reps = image_skia.image_reps(); in SetFavicons() local 285 for (size_t i = 0; i < image_reps.size(); ++i) { in SetFavicons() 288 if (gfx::PNGCodec::EncodeBGRASkBitmap(image_reps[i].sk_bitmap(), in SetFavicons() 291 gfx::Size pixel_size(image_reps[i].pixel_width(), in SetFavicons() 292 image_reps[i].pixel_height()); in SetFavicons()
|
D | favicon_util.cc | 244 resized_image_skia.image_reps(); in SelectFaviconFramesFromPNGs()
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
D | fast_show_pickler_unittest.cc | 35 std::vector<gfx::ImageSkiaRep> reps1(image1.image_reps()); in CompareImages() 36 std::vector<gfx::ImageSkiaRep> reps2(image2.image_reps()); in CompareImages()
|
/external/chromium_org/chrome/browser/ui/web_applications/ |
D | web_app_ui.cc | 370 std::vector<gfx::ImageSkiaRep> image_reps = in OnImageLoaded() local 371 multires_image_skia.image_reps(); in OnImageLoaded() 372 for (std::vector<gfx::ImageSkiaRep>::const_iterator it = image_reps.begin(); in OnImageLoaded() 373 it != image_reps.end(); ++it) { in OnImageLoaded()
|
/external/chromium_org/ui/base/resource/ |
D | resource_bundle_unittest.cc | 465 GetSupportedScaleFactor(image_skia->image_reps()[0].scale())); in TEST_F() 468 GetSupportedScaleFactor(image_skia->image_reps()[0].scale())); in TEST_F() 575 EXPECT_EQ(1u, image_skia->image_reps().size()); in TEST_F() 577 GetSupportedScaleFactor(image_skia->image_reps()[0].scale())); in TEST_F()
|
/external/chromium_org/content/browser/web_contents/ |
D | web_contents_view_aura.cc | 131 std::vector<gfx::ImagePNGRep> image_reps; in OverscrollWindowDelegate() local 132 image_reps.push_back(gfx::ImagePNGRep(entry->screenshot(), in OverscrollWindowDelegate() 135 image = gfx::Image(image_reps); in OverscrollWindowDelegate() 589 std::vector<gfx::ImagePNGRep> image_reps; in CreateSlideLayer() local 590 image_reps.push_back(gfx::ImagePNGRep(entry->screenshot(), in CreateSlideLayer() 593 image = gfx::Image(image_reps); in CreateSlideLayer()
|
/external/chromium_org/chrome/browser/themes/ |
D | browser_theme_pack.cc | 1463 ImageSkiaReps image_reps = image_skia.image_reps(); local 1464 if (image_reps.empty()) { 1467 for (ImageSkiaReps::iterator rep_it = image_reps.begin(); 1468 rep_it != image_reps.end(); ++rep_it) {
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | fast_show_pickler.cc | 79 std::vector<gfx::ImageSkiaRep> reps(image.image_reps()); in PickleImage()
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | site_chip_view.cc | 89 if (!icon_image_->image_skia().image_reps().empty()) in SiteChipExtensionIcon()
|