OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SimpleThumbnailCrop
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/chrome/browser/thumbnails/
simple_thumbnail_crop.h
17
class
SimpleThumbnailCrop
: public ThumbnailingAlgorithm {
19
explicit
SimpleThumbnailCrop
(const gfx::Size& target_size);
60
virtual ~
SimpleThumbnailCrop
();
69
DISALLOW_COPY_AND_ASSIGN(
SimpleThumbnailCrop
);
simple_thumbnail_crop.cc
23
SimpleThumbnailCrop
::
SimpleThumbnailCrop
(const gfx::Size& target_size)
28
ClipResult
SimpleThumbnailCrop
::GetCanvasCopyInfo(
40
void
SimpleThumbnailCrop
::ProcessBitmap(
62
double
SimpleThumbnailCrop
::CalculateBoringScore(const SkBitmap& bitmap) {
73
SkBitmap
SimpleThumbnailCrop
::GetClippedBitmap(const SkBitmap& bitmap,
118
gfx::Size
SimpleThumbnailCrop
::GetCopySizeForThumbnail(
140
gfx::Rect
SimpleThumbnailCrop
::GetClippingRect(const gfx::Size& source_size,
183
gfx::Size
SimpleThumbnailCrop
::ComputeTargetSizeAtMaximumScale(
191
SimpleThumbnailCrop
::~SimpleThumbnailCrop()
[
all
...]
simple_thumbnail_crop_unittest.cc
22
using thumbnails::
SimpleThumbnailCrop
;
28
EXPECT_DOUBLE_EQ(1.0,
SimpleThumbnailCrop
::CalculateBoringScore(bitmap));
40
EXPECT_DOUBLE_EQ(1.0,
SimpleThumbnailCrop
::CalculateBoringScore(bitmap));
58
EXPECT_DOUBLE_EQ(0.5,
SimpleThumbnailCrop
::CalculateBoringScore(bitmap));
69
SkBitmap clipped_bitmap =
SimpleThumbnailCrop
::GetClippedBitmap(
86
SkBitmap clipped_bitmap =
SimpleThumbnailCrop
::GetClippedBitmap(
103
SkBitmap clipped_bitmap =
SimpleThumbnailCrop
::GetClippedBitmap(
120
SkBitmap clipped_bitmap =
SimpleThumbnailCrop
::GetClippedBitmap(
137
SkBitmap clipped_bitmap =
SimpleThumbnailCrop
::GetClippedBitmap(
151
new
SimpleThumbnailCrop
(thumbnail_size))
[
all
...]
content_based_thumbnailing_algorithm.cc
50
SimpleThumbnailCrop
::GetCopySizeForThumbnail(scale_factor, target_size_);
68
SimpleThumbnailCrop
::ComputeTargetSizeAtMaximumScale(target_size_);
79
SimpleThumbnailCrop
::CalculateBoringScore(source_bitmap);
166
// Log and apply the method very much like in
SimpleThumbnailCrop
(except
173
gfx::Rect clipping_rect =
SimpleThumbnailCrop
::GetClippingRect(
186
SimpleThumbnailCrop
::CalculateBoringScore(source_bitmap);
thumbnail_service_impl.cc
90
return new
SimpleThumbnailCrop
(thumbnail_size);
content_based_thumbnailing_algorithm_unittest.cc
93
SimpleThumbnailCrop
::GetCopySizeForThumbnail(
Completed in 44 milliseconds