Searched refs:desired_size_in_pixel (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/components/favicon_base/ |
D | favicon_util.cc | 88 int desired_size_in_pixel) { in ResizeBitmapByDownsamplingIfPossible() argument 90 DCHECK_NE(desired_size_in_pixel, 0); in ResizeBitmapByDownsamplingIfPossible() 95 if (input_bitmap.width() == desired_size_in_pixel && in ResizeBitmapByDownsamplingIfPossible() 96 input_bitmap.height() == desired_size_in_pixel) { in ResizeBitmapByDownsamplingIfPossible() 102 if (best_bitmap.width() < desired_size_in_pixel || in ResizeBitmapByDownsamplingIfPossible() 103 best_bitmap.height() < desired_size_in_pixel) { in ResizeBitmapByDownsamplingIfPossible() 107 if (input_bitmap.width() >= desired_size_in_pixel && in ResizeBitmapByDownsamplingIfPossible() 108 input_bitmap.height() >= desired_size_in_pixel) { in ResizeBitmapByDownsamplingIfPossible() 114 if (desired_size_in_pixel % best_bitmap.width() == 0 && in ResizeBitmapByDownsamplingIfPossible() 115 desired_size_in_pixel % best_bitmap.height() == 0) { in ResizeBitmapByDownsamplingIfPossible() [all …]
|
D | select_favicon_frames.cc | 154 int desired_size_in_pixel) { in GetResizedBitmap() argument 155 if (desired_size_in_pixel == 0 || in GetResizedBitmap() 156 (original_size.width() == desired_size_in_pixel && in GetResizedBitmap() 157 original_size.height() == desired_size_in_pixel)) { in GetResizedBitmap() 160 if (desired_size_in_pixel % original_size.width() == 0 && in GetResizedBitmap() 161 desired_size_in_pixel % original_size.height() == 0) { in GetResizedBitmap() 162 return SampleNearestNeighbor(source_bitmap, desired_size_in_pixel); in GetResizedBitmap() 166 desired_size_in_pixel, in GetResizedBitmap() 167 desired_size_in_pixel); in GetResizedBitmap()
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_service.cc | 118 int desired_size_in_pixel, in GetRawFavicon() argument 125 desired_size_in_pixel); in GetRawFavicon() 131 desired_sizes_in_pixel.push_back(desired_size_in_pixel); in GetRawFavicon() 176 int desired_size_in_pixel, in GetRawFaviconForPageURL() argument 180 desired_sizes_in_pixel.push_back(desired_size_in_pixel); in GetRawFaviconForPageURL() 188 desired_size_in_pixel), in GetRawFaviconForPageURL() 384 int desired_size_in_pixel, in RunFaviconRawBitmapCallbackWithBitmapResults() argument 398 if (desired_size_in_pixel == 0) { in RunFaviconRawBitmapCallbackWithBitmapResults() 404 if (bitmap_result.pixel_size.width() == desired_size_in_pixel && in RunFaviconRawBitmapCallbackWithBitmapResults() 405 bitmap_result.pixel_size.height() == desired_size_in_pixel) { in RunFaviconRawBitmapCallbackWithBitmapResults() [all …]
|
D | favicon_service.h | 64 int desired_size_in_pixel, 110 int desired_size_in_pixel, 245 int desired_size_in_pixel,
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | favicon_source.cc | 82 int desired_size_in_pixel = in StartDataRequest() local 91 desired_size_in_pixel, in StartDataRequest() 116 desired_size_in_pixel, in StartDataRequest()
|
/external/chromium_org/chrome/browser/android/provider/ |
D | chrome_browser_provider.cc | 678 int desired_size_in_pixel = std::ceil(gfx::kFaviconSize * max_scale); in Run() local 688 desired_size_in_pixel, in Run()
|