Searched refs:png_bytes (Results 1 - 8 of 8) sorted by relevance
/external/chromium_org/ui/gfx/ |
H A D | icon_util.cc | 95 // PNG format and stored in |png_bytes|. Images with width or height larger than 103 scoped_refptr<base::RefCountedMemory>* png_bytes) { 130 *png_bytes = image.As1xPNGBytes(); 464 scoped_refptr<base::RefCountedMemory> png_bytes; local 465 if (!ConvertImageFamilyToBitmaps(resized_image_family, &bitmaps, &png_bytes)) 473 size_t image_count = bitmap_count + (png_bytes.get() ? 1 : 0); 479 if (png_bytes.get()) 480 buffer_size += sizeof(ICONDIRENTRY) + png_bytes->size(); 505 if (png_bytes.get()) { 511 entry->dwBytesInRes = static_cast<DWORD>(png_bytes 100 ConvertImageFamilyToBitmaps( const gfx::ImageFamily& image_family, std::vector<SkBitmap>* bitmaps, scoped_refptr<base::RefCountedMemory>* png_bytes) argument [all...] |
H A D | icon_util_unittest.cc | 130 const unsigned char* png_bytes = reinterpret_cast<const unsigned char*>( local 133 png_bytes, png_entry->dwBytesInRes);
|
/external/chromium_org/ui/gfx/image/ |
H A D | image.cc | 154 scoped_refptr<base::RefCountedBytes> png_bytes(new base::RefCountedBytes()); 157 &png_bytes->data())) { 160 return png_bytes; 623 scoped_refptr<base::RefCountedMemory> png_bytes(NULL); 630 png_bytes = internal::Get1xPNGBytesFromUIImage( 638 png_bytes = internal::Get1xPNGBytesFromNSImage(cocoa_rep->image()); 645 png_bytes = internal::Get1xPNGBytesFromImageSkia(skia_rep->image()); 651 if (!png_bytes.get() || !png_bytes->size()) { 665 image_png_reps.push_back(ImagePNGRep(png_bytes, 1. [all...] |
H A D | image_unittest.cc | 162 scoped_refptr<base::RefCountedMemory> png_bytes = image.As1xPNGBytes(); local 163 EXPECT_TRUE(png_bytes.get()); 164 EXPECT_FALSE(png_bytes->size()); 314 scoped_refptr<base::RefCountedMemory> png_bytes = local 318 image_png_reps.push_back(gfx::ImagePNGRep(png_bytes, 1.0f)); 324 EXPECT_TRUE(gt::IsEqual(png_bytes, from_platform.AsBitmap())); 330 scoped_refptr<base::RefCountedMemory> png_bytes = local 333 image_png_reps.push_back(gfx::ImagePNGRep(png_bytes, 1.0f));
|
/external/chromium_org/content/browser/web_contents/aura/ |
H A D | overscroll_navigation_overlay_unittest.cc | 40 scoped_refptr<base::RefCountedBytes> png_bytes = local 44 entry_impl->SetScreenshotPNGData(png_bytes);
|
/external/chromium_org/components/favicon_base/ |
H A D | favicon_util.cc | 229 scoped_refptr<base::RefCountedBytes> png_bytes(new base::RefCountedBytes()); 233 &png_bytes->data())) { 235 gfx::ImagePNGRep(png_bytes, resized_image_skia_reps[i].scale()));
|
/external/chromium_org/components/search_provider_logos/ |
H A D | logo_tracker_unittest.cc | 53 scoped_refptr<base::RefCountedMemory> png_bytes = local 56 str->data().assign(png_bytes->front_as<char>(), png_bytes->size()); 61 scoped_refptr<base::RefCountedString> png_bytes = EncodeBitmapAsPNG(bitmap); local 63 base::Base64Encode(png_bytes->data(), &encoded_image_base64);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/ |
H A D | PrettyPatch.rb | 673 def self.read_checksum_from_png(png_bytes) 677 png_bytes.force_encoding('binary') 679 match = png_bytes && png_bytes.match(/tEXtchecksum\0([a-fA-F0-9]{32})/)
|
Completed in 4338 milliseconds