/external/chromium_org/chrome/browser/thumbnails/ |
content_based_thumbnailing_algorithm.cc | 27 const SkBitmap& source_bitmap) { 28 callback.Run(*context.get(), source_bitmap); 70 SkBitmap source_bitmap = local 76 if (source_bitmap.width() <= target_thumbnail_size.width() || 77 source_bitmap.height() <= target_thumbnail_size.height()) { 79 SimpleThumbnailCrop::CalculateBoringScore(source_bitmap); 86 callback.Run(*context.get(), source_bitmap); 93 source_bitmap, 155 const SkBitmap& source_bitmap, 163 source_bitmap, thumbnail_size, kernel_sigma) [all...] |
content_analysis.h | 74 // |source_bitmap|. The |target_size| is used to estimate some computation 79 SkBitmap CreateRetargetedThumbnailImage(const SkBitmap& source_bitmap,
|
content_based_thumbnailing_algorithm.h | 36 // The function processes |source_bitmap| into a thumbnail of |thumbnail_size| 40 const SkBitmap& source_bitmap,
|
content_analysis.cc | 721 const SkBitmap& source_bitmap, 724 // First thing we need for this method is to color-reduce the source_bitmap. 726 reduced_color.allocPixels(SkImageInfo::MakeA8(source_bitmap.width(), 727 source_bitmap.height())); 729 if (!color_utils::ComputePrincipalComponentImage(source_bitmap, 734 source_bitmap, transform, true, &reduced_color)) { 766 return ComputeDecimatedImage(source_bitmap, included_rows, included_columns);
|
/external/chromium_org/ui/gfx/ |
color_analysis.h | 114 // |source_bitmap|. The result is put into |target_bitmap|, which is expected 119 GFX_EXPORT bool ApplyColorReduction(const SkBitmap& source_bitmap, 125 // the |source_bitmap|. The result is stored in |target_bitmap|, which must be 130 GFX_EXPORT bool ComputePrincipalComponentImage(const SkBitmap& source_bitmap,
|
color_analysis.cc | 492 bool ApplyColorReduction(const SkBitmap& source_bitmap, 497 SkAutoLockPixels source_lock(source_bitmap); 500 DCHECK(source_bitmap.getPixels()); 502 DCHECK_EQ(kN32_SkColorType, source_bitmap.colorType()); 504 DCHECK_EQ(source_bitmap.height(), target_bitmap->height()); 505 DCHECK_EQ(source_bitmap.width(), target_bitmap->width()); 506 DCHECK(!source_bitmap.empty()); 521 for (int y = 0; y < source_bitmap.height(); ++y) { 523 source_bitmap.getAddr32(0, y)); 524 for (int x = 0; x < source_bitmap.width(); ++x) [all...] |
/external/chromium_org/chrome/browser/profiles/ |
profile_avatar_icon_util.cc | 268 SkBitmap GetAvatarIconAsSquare(const SkBitmap& source_bitmap, 271 if ((source_bitmap.width() == scale_factor * profiles::kAvatarIconWidth) && 272 (source_bitmap.height() == scale_factor * profiles::kAvatarIconHeight)) { 273 // Shave a couple of columns so the |source_bitmap| is more square. So when 278 source_bitmap.extractSubset(&square_bitmap, gfx::RectToSkIRect(frame)); 281 DCHECK(source_bitmap.width() == source_bitmap.height()); 282 square_bitmap = source_bitmap;
|
profile_avatar_icon_util.h | 93 SkBitmap GetAvatarIconAsSquare(const SkBitmap& source_bitmap, int scale_factor);
|
profile_shortcut_manager_win.cc | 113 SkBitmap source_bitmap = local 121 source_bitmap, skia::ImageOperations::RESIZE_LANCZOS3, avatar_badge_size, 122 source_bitmap.height() * avatar_badge_size / source_bitmap.width()); [all...] |
/external/chromium_org/components/favicon_base/ |
select_favicon_frames.cc | 151 // Resize |source_bitmap| 152 SkBitmap GetResizedBitmap(const SkBitmap& source_bitmap, 158 return source_bitmap; 162 return SampleNearestNeighbor(source_bitmap, desired_size_in_pixel); 164 return skia::ImageOperations::Resize(source_bitmap,
|
/art/runtime/gc/accounting/ |
space_bitmap.cc | 98 void SpaceBitmap<kAlignment>::CopyFrom(SpaceBitmap* source_bitmap) { 99 DCHECK_EQ(Size(), source_bitmap->Size()); 100 std::copy(source_bitmap->Begin(), source_bitmap->Begin() + source_bitmap->Size() / kWordSize, Begin());
|
space_bitmap.h | 146 void CopyFrom(SpaceBitmap* source_bitmap);
|
/external/chromium_org/chrome/browser/themes/ |
browser_theme_pack.cc | 471 SkBitmap CreateLowQualityResizedBitmap(const SkBitmap& source_bitmap, 475 gfx::ScaleSize(gfx::Size(source_bitmap.width(), 476 source_bitmap.height()), 486 canvas.drawBitmapRect(source_bitmap, NULL, scaled_bounds); [all...] |