Home
last modified time | relevance | path

Searched refs:image_png_reps (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/ui/gfx/image/
Dimage_unittest.cc91 std::vector<gfx::ImagePNGRep> image_png_reps; in TEST_F() local
92 gfx::Image image3(image_png_reps); in TEST_F()
180 std::vector<gfx::ImagePNGRep> image_png_reps; in TEST_F() local
181 image_png_reps.push_back(gfx::ImagePNGRep( in TEST_F()
183 gfx::Image image2(image_png_reps); in TEST_F()
199 std::vector<gfx::ImagePNGRep> image_png_reps; in TEST_F() local
200 image_png_reps.push_back(gfx::ImagePNGRep(bytes1x, 1.0f)); in TEST_F()
201 image_png_reps.push_back(gfx::ImagePNGRep( in TEST_F()
204 gfx::Image image(image_png_reps); in TEST_F()
236 std::vector<gfx::ImagePNGRep> image_png_reps; in TEST_F() local
[all …]
Dimage_ios.mm75 const std::vector<gfx::ImagePNGRep>& image_png_reps) {
78 if (image_png_reps.empty())
84 for (size_t i = 0; i < image_png_reps.size(); ++i) {
85 float scale = image_png_reps[i].scale;
93 return CreateUIImageFromImagePNGRep(image_png_reps[closest_index]);
112 const std::vector<gfx::ImagePNGRep>& image_png_reps) {
116 for (size_t i = 0; i < image_png_reps.size(); ++i) {
118 CreateUIImageFromImagePNGRep(image_png_reps[i]));
120 uiimage, image_png_reps[i].scale);
Dimage.cc40 const std::vector<ImagePNGRep>& image_png_reps);
46 NSImage* NSImageFromPNG(const std::vector<ImagePNGRep>& image_png_reps,
53 const std::vector<ImagePNGRep>& image_png_reps);
134 const std::vector<ImagePNGRep>& image_png_reps) { in ImageSkiaFromPNG() argument
135 if (image_png_reps.empty()) in ImageSkiaFromPNG()
139 for (size_t i = 0; i < image_png_reps.size(); ++i) { in ImageSkiaFromPNG()
140 if (!image_source->AddPNGData(image_png_reps[i])) in ImageSkiaFromPNG()
219 ImageRepPNG(const std::vector<ImagePNGRep>& image_png_reps) in ImageRepPNG() argument
221 image_png_reps_(image_png_reps) { in ImageRepPNG()
614 const std::vector<ImagePNGRep>& image_png_reps = in As1xPNGBytes() local
[all …]
Dimage_mac.mm51 NSImage* NSImageFromPNG(const std::vector<gfx::ImagePNGRep>& image_png_reps,
53 if (image_png_reps.empty()) {
59 for (size_t i = 0; i < image_png_reps.size(); ++i) {
60 scoped_refptr<base::RefCountedMemory> png = image_png_reps[i].raw_data;
68 << image_png_reps[i].scale
91 float scale = image_png_reps[i].scale;
Dimage_mac_unittest.mm186 std::vector<gfx::ImagePNGRep> image_png_reps;
187 image_png_reps.push_back(gfx::ImagePNGRep(bytes1x, 1.0f));
188 image_png_reps.push_back(gfx::ImagePNGRep(bytes2x, 2.0f));
190 gfx::Image image(image_png_reps);