Home
last modified time | relevance | path

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

/external/chromium_org/content/renderer/
Dimage_loading_helper.cc33 SkBitmap ResizeImage(const SkBitmap& image, uint32_t max_image_size) { in ResizeImage() argument
34 if (max_image_size == 0) in ResizeImage()
37 if (max_dimension <= max_image_size) in ResizeImage()
44 static_cast<uint64_t>(image.width()) * max_image_size / max_dimension, in ResizeImage()
45 static_cast<uint64_t>(image.height()) * max_image_size / max_dimension); in ResizeImage()
55 uint32_t max_image_size, in FilterAndResizeImagesForMaximalSize() argument
64 if (max_image_size == 0) in FilterAndResizeImagesForMaximalSize()
65 max_image_size = std::numeric_limits<uint32_t>::max(); in FilterAndResizeImagesForMaximalSize()
80 if (static_cast<uint32_t>(image.width()) <= max_image_size && in FilterAndResizeImagesForMaximalSize()
81 static_cast<uint32_t>(image.height()) <= max_image_size) { in FilterAndResizeImagesForMaximalSize()
[all …]
Dimage_loading_helper.h34 uint32_t max_image_size);
49 uint32_t max_image_size);
55 uint32_t max_image_size,
/external/chromium_org/chrome/browser/favicon/
Dfavicon_tab_helper.cc139 int FaviconTabHelper::StartDownload(const GURL& url, int max_image_size) { in StartDownload() argument
150 max_image_size, in StartDownload()
Dfavicon_handler_unittest.cc96 int max_image_size) { in AddDownload() argument
98 download_id, image_url, image_sizes, max_image_size, false)); in AddDownload()
120 max_image_size(max_size) {} in Download()
125 int max_image_size; member
386 if (download_->max_image_size != 0 && in InvokeCallback()
387 downloaded_size > download_->max_image_size) { in InvokeCallback()
388 downloaded_size = download_->max_image_size; in InvokeCallback()
/external/chromium_org/chrome/browser/ui/
Dmetro_pin_tab_helper_win.cc394 int max_image_size = 0; // Do not resize images. in TogglePinnedToStartScreen() local
402 max_image_size, in TogglePinnedToStartScreen()