Home
last modified time | relevance | path

Searched refs:best_bitmap (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/favicon/
Dfavicon_util.cc92 SkBitmap best_bitmap; in ResizeBitmapByDownsamplingIfPossible() local
98 } else if (best_bitmap.isNull()) { in ResizeBitmapByDownsamplingIfPossible()
99 best_bitmap = input_bitmap; in ResizeBitmapByDownsamplingIfPossible()
100 } else if (input_bitmap.width() >= best_bitmap.width() && in ResizeBitmapByDownsamplingIfPossible()
101 input_bitmap.height() >= best_bitmap.height()) { in ResizeBitmapByDownsamplingIfPossible()
102 if (best_bitmap.width() < desired_size_in_pixel || in ResizeBitmapByDownsamplingIfPossible()
103 best_bitmap.height() < desired_size_in_pixel) { in ResizeBitmapByDownsamplingIfPossible()
104 best_bitmap = input_bitmap; in ResizeBitmapByDownsamplingIfPossible()
109 best_bitmap = input_bitmap; in ResizeBitmapByDownsamplingIfPossible()
114 if (desired_size_in_pixel % best_bitmap.width() == 0 && in ResizeBitmapByDownsamplingIfPossible()
[all …]
/external/chromium_org/ui/gfx/
Dicon_util.cc77 SkBitmap best_bitmap = best->AsBitmap(); in BuildResizedImageFamily() local
80 if (best_bitmap.config() != SkBitmap::kARGB_8888_Config) in BuildResizedImageFamily()
83 best_bitmap, skia::ImageOperations::RESIZE_LANCZOS3, in BuildResizedImageFamily()