/external/chromium_org/chrome/common/importer/ |
H A D | imported_favicon_usage.h | 22 std::vector<unsigned char> png_data; member in struct:ImportedFaviconUsage
|
/external/chromium_org/chrome/utility/importer/ |
H A D | favicon_reencode.cc | 17 std::vector<unsigned char>* png_data) { 37 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data); 15 ReencodeFavicon(const unsigned char* src_data, size_t src_len, std::vector<unsigned char>* png_data) argument
|
/external/chromium/chrome/browser/importer/ |
H A D | importer.cc | 31 std::vector<unsigned char>* png_data) { 48 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data); 29 ReencodeFavicon(const unsigned char* src_data, size_t src_len, std::vector<unsigned char>* png_data) argument
|
/external/chromium_org/cc/test/ |
H A D | 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 file_util::ReadFileToString(file_path, &png_data) && 35 gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(&png_data[0]), 36 png_data.length(),
|
/external/chromium_org/chrome/browser/favicon/ |
H A D | favicon_util.cc | 27 const std::vector<chrome::FaviconBitmapResult>& png_data, 31 if (png_data.empty()) 38 for (size_t i = 0; i < png_data.size(); ++i) { 39 int area = png_data[i].pixel_size.GetArea(); 42 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; 73 png_reps.push_back(gfx::ImagePNGRep(png_data[i].bitmap_data, it->second)); 118 const std::vector<chrome::FaviconBitmapResult>& png_data, 26 SelectFaviconFramesFromPNGsWithoutResizing( const std::vector<chrome::FaviconBitmapResult>& png_data, const std::vector<ui::ScaleFactor>& scale_factors, int favicon_size) argument 117 SelectFaviconFramesFromPNGs( const std::vector<chrome::FaviconBitmapResult>& png_data, const std::vector<ui::ScaleFactor>& scale_factors, int favicon_size) argument [all...] |
/external/chromium/chrome/browser/ |
H A D | 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()))
|
H A D | 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)); 255 SendReport(Profile* profile, int problem_type, const std::string& page_url_text, const std::string& description, const char* png_data, int png_data_length, int png_width, int png_height, const std::string& user_email_text, const char* zipped_logs_data, int zipped_logs_length, const chromeos::LogDictionaryType* const sys_info) argument
|
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | screenshot_taker.cc | 102 scoped_refptr<base::RefCountedBytes> png_data) { 109 reinterpret_cast<char*>(&(png_data->data()[0])), 110 png_data->size())) != png_data->size()) { 121 scoped_refptr<base::RefCountedBytes> png_data) { 135 SaveScreenshotInternal(callback, screenshot_path, screenshot_path, png_data); 142 scoped_refptr<base::RefCountedBytes> png_data, 157 SaveScreenshotInternal(callback, screenshot_path, local_path, png_data); 164 scoped_refptr<base::RefCountedBytes> png_data, 176 png_data)); 99 SaveScreenshotInternal(const ShowNotificationCallback& callback, const base::FilePath& screenshot_path, const base::FilePath& local_path, scoped_refptr<base::RefCountedBytes> png_data) argument 119 SaveScreenshot(const ShowNotificationCallback& callback, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data) argument 140 SaveScreenshotToDrive(const ShowNotificationCallback& callback, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data, drive::FileError error, const base::FilePath& local_path) argument 160 EnsureDirectoryExistsCallback( const ShowNotificationCallback& callback, Profile* profile, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data, drive::FileError error) argument 185 PostSaveScreenshotTask(const ShowNotificationCallback& callback, Profile* profile, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data) argument 207 PostSaveScreenshotTask(const ShowNotificationCallback& callback, Profile* profile, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data) argument 219 GrabWindowSnapshot(aura::Window* window, const gfx::Rect& snapshot_bounds, std::vector<unsigned char>* png_data) argument 270 png_data); local 307 png_data); local [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | app_indicator_icon.cc | 302 scoped_refptr<base::RefCountedMemory> png_data = local 304 if (png_data->size() == 0) { 322 reinterpret_cast<const char*>(png_data->front()), 323 png_data->size()); 325 if (bytes_written != static_cast<int>(png_data->size())) {
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | clipboard_message_filter.cc | 203 std::vector<unsigned char> png_data; local 213 &png_data)) { 215 if (buffer.CreateAndMapAnonymous(png_data.size())) { 216 memcpy(buffer.memory(), vector_as_array(&png_data), png_data.size()); 218 image_size = png_data.size();
|
/external/chromium_org/ui/gfx/image/ |
H A D | image_unittest.cc | 278 scoped_refptr<base::RefCountedMemory> png_data = image.As1xPNGBytes(); local 279 EXPECT_TRUE(png_data.get()); 280 EXPECT_TRUE(png_data->size()); 284 image_png_reps.push_back(gfx::ImagePNGRep(png_data, ui::SCALE_FACTOR_100P));
|
/external/chromium_org/chrome/browser/ui/pdf/ |
H A D | pdf_browsertest.cc | 184 std::vector<unsigned char> png_data; local 185 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data); 188 reinterpret_cast<char*>(&png_data[0]), png_data.size());
|
/external/chromium_org/content/browser/gpu/ |
H A D | gpu_pixel_browsertest.cc | 61 std::string png_data; 62 return file_util::ReadFileToString(abs_path, &png_data) && 63 gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(&png_data[0]), 64 png_data.length(), 71 std::vector<unsigned char> png_data; local 72 if (gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &png_data) && 75 file_path, reinterpret_cast<char*>(&png_data[0]), png_data.size()); 76 if (bytes_written == static_cast<int>(png_data.size()))
|
/external/chromium_org/content/browser/web_contents/ |
H A D | navigation_entry_impl.cc | 315 scoped_refptr<base::RefCountedBytes> png_data) { 316 screenshot_ = png_data; 314 SetScreenshotPNGData( scoped_refptr<base::RefCountedBytes> png_data) argument
|
/external/chromium_org/chrome/browser/ |
H A D | shell_integration_linux.cc | 96 scoped_refptr<base::RefCountedMemory> png_data = it->As1xPNGBytes(); local 97 if (png_data->size() == 0) { 104 reinterpret_cast<const char*>(png_data->front()), png_data->size()); 106 if (bytes_written != static_cast<int>(png_data->size()))
|
/external/chromium_org/chrome/test/base/ |
H A D | ui_test_utils.cc | 496 std::vector<unsigned char> png_data; local 499 if (ui::GrabDesktopSnapshot(bounds, &png_data) && 500 png_data.size() <= INT_MAX) { 501 int bytes = static_cast<int>(png_data.size()); 503 out_path, reinterpret_cast<char*>(&png_data[0]), bytes);
|
/external/chromium_org/ui/gfx/ |
H A D | 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/ui/surface/ |
H A D | accelerated_surface_transformer_win_unittest.cc | 73 std::vector<unsigned char> png_data; local 77 &png_data) && 79 char* data = reinterpret_cast<char*>(&png_data[0]); 80 int size = static_cast<int>(png_data.size());
|
/external/chromium/chrome/browser/history/ |
H A D | history_types.h | 245 std::vector<unsigned char> png_data; member in struct:history::ImportedFaviconUsage
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_info_cache.cc | 598 scoped_refptr<base::RefCountedMemory> png_data = image->As1xPNGBytes(); local 599 data->assign(png_data->front(), png_data->front() + png_data->size());
|
/external/chromium/chrome/browser/automation/ |
H A D | automation_provider_observers.cc | 1807 std::vector<unsigned char> png_data; local 1808 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &png_data); 1810 reinterpret_cast<char*>(&png_data[0]), png_data.size()); 1811 SendMessage(bytes_written == static_cast<int>(png_data.size()));
|