HomeSort by relevance Sort by last modified time
    Searched refs:source_bitmap (Results 1 - 12 of 12) sorted by null

  /external/chromium_org/chrome/browser/ui/views/frame/
taskbar_decorator_win.cc 46 const SkBitmap* source_bitmap = NULL; local
55 source_bitmap = &squarer_bitmap;
58 source_bitmap = bitmap.get();
65 source_bitmap->height() * kOverlayIconSize / source_bitmap->width();
69 *source_bitmap,
  /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 724 const SkBitmap& source_bitmap,
727 // First thing we need for this method is to color-reduce the source_bitmap.
730 SkBitmap::kA8_Config, source_bitmap.width(), source_bitmap.height());
733 if (!color_utils::ComputePrincipalComponentImage(source_bitmap,
738 source_bitmap, transform, true, &reduced_color)) {
770 return ComputeDecimatedImage(source_bitmap, included_rows, included_columns);
  /external/chromium_org/ui/gfx/
color_analysis.h 106 // |source_bitmap|. The result is put into |target_bitmap|, which is expected
111 GFX_EXPORT bool ApplyColorReduction(const SkBitmap& source_bitmap,
117 // the |source_bitmap|. The result is stored in |target_bitmap|, which must be
122 GFX_EXPORT bool ComputePrincipalComponentImage(const SkBitmap& source_bitmap,
color_analysis.cc 471 bool ApplyColorReduction(const SkBitmap& source_bitmap,
476 SkAutoLockPixels source_lock(source_bitmap);
479 DCHECK(source_bitmap.getPixels());
481 DCHECK_EQ(SkBitmap::kARGB_8888_Config, source_bitmap.config());
483 DCHECK_EQ(source_bitmap.height(), target_bitmap->height());
484 DCHECK_EQ(source_bitmap.width(), target_bitmap->width());
485 DCHECK(!source_bitmap.empty());
500 for (int y = 0; y < source_bitmap.height(); ++y) {
502 source_bitmap.getAddr32(0, y));
503 for (int x = 0; x < source_bitmap.width(); ++x)
    [all...]
  /external/chromium_org/chrome/browser/history/
select_favicon_frames.cc 177 // Resize |source_bitmap| using |resize_method|.
178 SkBitmap GetResizedBitmap(const SkBitmap& source_bitmap,
188 return source_bitmap;
190 return SampleNearestNeighbor(source_bitmap, desired_size_in_pixel);
193 source_bitmap, skia::ImageOperations::RESIZE_LANCZOS3,
196 return source_bitmap;
  /art/runtime/gc/accounting/
space_bitmap.cc 96 void SpaceBitmap::CopyFrom(SpaceBitmap* source_bitmap) {
97 DCHECK_EQ(Size(), source_bitmap->Size());
98 std::copy(source_bitmap->Begin(), source_bitmap->Begin() + source_bitmap->Size() / kWordSize, Begin());
space_bitmap.h 141 void CopyFrom(SpaceBitmap* source_bitmap);
  /external/chromium_org/chrome/browser/profiles/
profile_shortcut_manager_win.cc 115 SkBitmap source_bitmap = avatar_bitmap; local
123 avatar_bitmap.extractSubset(&source_bitmap, gfx::RectToSkIRect(frame));
133 source_bitmap, skia::ImageOperations::RESIZE_LANCZOS3, avatar_badge_size,
134 source_bitmap.height() * avatar_badge_size / source_bitmap.width());
    [all...]
  /external/chromium_org/chrome/browser/themes/
browser_theme_pack.cc 449 SkBitmap CreateLowQualityResizedBitmap(const SkBitmap& source_bitmap,
453 gfx::ScaleSize(gfx::Size(source_bitmap.width(),
454 source_bitmap.height()),
468 canvas.drawBitmapRect(source_bitmap, NULL, scaled_bounds);
    [all...]

Completed in 801 milliseconds