/external/chromium_org/chrome/utility/importer/ |
favicon_reencode.h | 19 std::vector<unsigned char>* png_data);
|
favicon_reencode.cc | 17 std::vector<unsigned char>* png_data) { 37 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data);
|
/external/chromium_org/cc/test/ |
pixel_test_utils.cc | 19 std::vector<unsigned char> png_data; local 22 &png_data) && 24 char* data = reinterpret_cast<char*>(&png_data[0]); 25 int size = static_cast<int>(png_data.size()); 33 std::string png_data; local 34 return base::ReadFileToString(file_path, &png_data) && 35 gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(&png_data[0]), 36 png_data.length(),
|
/external/chromium_org/chrome/common/importer/ |
imported_favicon_usage.h | 22 std::vector<unsigned char> png_data; member in struct:ImportedFaviconUsage
|
profile_import_process_messages.h | 175 WriteParam(m, p.png_data); 181 ReadParam(m, iter, &p->png_data) && 188 LogParam(p.png_data, l);
|
/external/chromium_org/chrome/browser/favicon/ |
favicon_util.h | 39 const std::vector<chrome::FaviconBitmapResult>& png_data,
|
favicon_util.cc | 28 const std::vector<chrome::FaviconBitmapResult>& png_data, 32 if (png_data.empty()) 39 for (size_t i = 0; i < png_data.size(); ++i) { 40 int area = png_data[i].pixel_size.GetArea(); 43 best_candidate = png_data[i].bitmap_data; 60 for (size_t i = 0; i < png_data.size(); ++i) { 61 if (!png_data[i].is_valid()) 64 const gfx::Size& pixel_size = png_data[i].pixel_size; 74 gfx::ImagePNGRep(png_data[i].bitmap_data, 176 const std::vector<chrome::FaviconBitmapResult>& png_data, [all...] |
/external/chromium_org/ui/gfx/ozone/impl/ |
file_surface_factory.cc | 20 std::vector<unsigned char> png_data; local 21 gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, true, &png_data); 23 (char*)vector_as_array(&png_data), 24 png_data.size());
|
/external/chromium/chrome/browser/importer/ |
importer.cc | 31 std::vector<unsigned char>* png_data) { 48 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data);
|
importer.h | 56 std::vector<unsigned char>* png_data);
|
/external/chromium_org/chrome/browser/ui/ash/ |
screenshot_taker.cc | 70 void CopyScreenshotToClipboard(scoped_refptr<base::RefCountedString> png_data) { 74 base::Base64Encode(png_data->data(), &encoded); 93 scoped_refptr<base::RefCountedString> png_data(new base::RefCountedString()); 94 if (!base::ReadFileToString(screenshot_path, &(png_data->data()))) { 102 base::Bind(CopyScreenshotToClipboard, png_data)); 190 scoped_refptr<base::RefCountedBytes> png_data) { 197 reinterpret_cast<char*>(&(png_data->data()[0])), 198 png_data->size())) != png_data->size()) { 209 scoped_refptr<base::RefCountedBytes> png_data) { 446 png_data); local 489 png_data); local [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
gpu_state_tracer.cc | 79 std::vector<unsigned char> png_data; local 87 &png_data); 90 base::StringPiece base64_input(reinterpret_cast<const char*>(&png_data[0]), 91 png_data.size());
|
/external/chromium_org/content/browser/renderer_host/ |
clipboard_message_filter.cc | 211 std::vector<unsigned char> png_data; local 212 if (gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, false, &png_data)) { 214 if (buffer.CreateAndMapAnonymous(png_data.size())) { 215 memcpy(buffer.memory(), vector_as_array(&png_data), png_data.size()); 217 image_size = png_data.size();
|
/external/chromium/chrome/browser/ |
bug_report_util.h | 70 const char* png_data,
|
shell_integration_linux.cc | 83 std::vector<unsigned char> png_data; local 84 gfx::PNGCodec::EncodeBGRASkBitmap(shortcut_info.favicon, false, &png_data); 86 reinterpret_cast<char*>(png_data.data()), png_data.size()); 88 if (bytes_written != static_cast<int>(png_data.size()))
|
bug_report_util.cc | 259 const char* png_data, 316 if (png_data) { 324 screenshot.set_binary_content(std::string(png_data, png_data_length));
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
app_indicator_icon.cc | 128 scoped_refptr<base::RefCountedMemory> png_data = local 130 if (png_data->size() == 0) { 148 reinterpret_cast<const char*>(png_data->front()), 149 png_data->size()); 151 if (bytes_written != static_cast<int>(png_data->size()))
|
/external/chromium_org/chrome/browser/android/ |
favicon_helper.cc | 153 scoped_refptr<base::RefCountedMemory> png_data = local 159 png_data, min_darkness, max_brightness, &sampler);
|
/external/chromium_org/chrome/browser/ui/pdf/ |
pdf_browsertest.cc | 182 std::vector<unsigned char> png_data; local 183 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data); 186 reinterpret_cast<char*>(&png_data[0]), png_data.size());
|
/external/chromium/webkit/glue/ |
webclipboard_impl.cc | 139 std::string png_data; 140 ClipboardReadImage(buffer_type, &png_data); 141 return WebData(png_data);
|
/external/chromium_org/content/renderer/ |
webclipboard_impl.cc | 137 std::string png_data; 138 client_->ReadImage(clipboard_type, &png_data); 139 return WebData(png_data);
|
/external/chromium_org/content/browser/frame_host/ |
navigation_entry_impl.cc | 340 scoped_refptr<base::RefCountedBytes> png_data) { 341 screenshot_ = png_data;
|
/external/chromium_org/chrome/test/base/ |
ui_test_utils.cc | 476 std::vector<unsigned char> png_data; local 479 if (ui::GrabDesktopSnapshot(bounds, &png_data) && 480 png_data.size() <= INT_MAX) { 481 int bytes = static_cast<int>(png_data.size()); 483 out_path, reinterpret_cast<char*>(&png_data[0]), bytes);
|
/external/chromium_org/ui/gfx/ |
icon_util.cc | 284 void* png_data = NULL; local 287 &png_data, &png_size)) { 290 DCHECK(png_data); 294 reinterpret_cast<const unsigned char*>(png_data);
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
bitmap.py | 98 def FromPng(png_data): 99 width, height, pixels, meta = png.Reader(bytes=png_data).read_flat()
|