/external/chromium_org/chrome/browser/thumbnails/ |
simple_thumbnail_crop_unittest.cc | 68 thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; local 70 bitmap, 10, 10, &clip_result); 75 EXPECT_EQ(thumbnails::CLIP_RESULT_TALLER_THAN_WIDE, clip_result); 85 thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; local 87 bitmap, 10, 10, &clip_result); 92 EXPECT_EQ(thumbnails::CLIP_RESULT_WIDER_THAN_TALL, clip_result); 102 thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; local 104 bitmap, 10, 10, &clip_result); 109 EXPECT_EQ(thumbnails::CLIP_RESULT_MUCH_WIDER_THAN_TALL, clip_result); 119 thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED local 136 thumbnails::ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; local 155 thumbnails::ClipResult clip_result = algorithm->GetCanvasCopyInfo( local 202 thumbnails::ClipResult clip_result; local [all...] |
thumbnailing_context.cc | 16 clip_result(CLIP_RESULT_UNPROCESSED) { 23 : clip_result(CLIP_RESULT_UNPROCESSED) {
|
content_based_thumbnailing_algorithm.cc | 81 (context->clip_result == CLIP_RESULT_WIDER_THAN_TALL || 82 context->clip_result == CLIP_RESULT_TALLER_THAN_WIDE || 83 context->clip_result == CLIP_RESULT_NOT_CLIPPED || 84 context->clip_result == CLIP_RESULT_SOURCE_SAME_AS_TARGET); 110 if (context->clip_result == CLIP_RESULT_UNPROCESSED) { 121 &context->clip_result); 161 context->clip_result == CLIP_RESULT_SOURCE_SAME_AS_TARGET ? 5.0f : 2.5f; 172 ClipResult clip_result; local 176 &clip_result); 190 (context->clip_result == CLIP_RESULT_WIDER_THAN_TALL | [all...] |
simple_thumbnail_crop.cc | 34 ClipResult clip_result = thumbnails::CLIP_RESULT_NOT_CLIPPED; local 35 *clipping_rect = GetClippingRect(source_size, target_size_, &clip_result); 37 return clip_result; 51 &context->clip_result); 55 (context->clip_result == CLIP_RESULT_WIDER_THAN_TALL || 56 context->clip_result == CLIP_RESULT_TALLER_THAN_WIDE || 57 context->clip_result == CLIP_RESULT_NOT_CLIPPED); 76 ClipResult* clip_result) { 80 clip_result); 142 ClipResult* clip_result) { [all...] |
simple_thumbnail_crop.h | 46 thumbnails::ClipResult* clip_result); 51 ClipResult* clip_result); 65 ClipResult* clip_result);
|
content_based_thumbnailing_algorithm_unittest.cc | 29 clip_result_ = context.clip_result; 41 ClipResult clip_result() const { function in class:thumbnails::ConsumerCallbackCatcher 70 ClipResult clip_result = algorithm->GetCanvasCopyInfo( local 72 EXPECT_EQ(CLIP_RESULT_SOURCE_SAME_AS_TARGET, clip_result); 78 clip_result = algorithm->GetCanvasCopyInfo( 80 EXPECT_EQ(CLIP_RESULT_NOT_CLIPPED, clip_result); 89 clip_result = algorithm->GetCanvasCopyInfo( 91 EXPECT_EQ(CLIP_RESULT_SOURCE_IS_SMALLER, clip_result); 113 EXPECT_EQ(CLIP_RESULT_SOURCE_SAME_AS_TARGET, context->clip_result); 126 EXPECT_EQ(CLIP_RESULT_SOURCE_SAME_AS_TARGET, context->clip_result); [all...] |
thumbnailing_context.h | 49 ClipResult clip_result; member in struct:thumbnails::ThumbnailingContext
|
content_based_thumbnailing_algorithm.h | 52 ClipResult* clip_result);
|
thumbnail_tab_helper.cc | 114 context->clip_result = algorithm->GetCanvasCopyInfo(
|
/external/chromium/chrome/browser/tab_contents/ |
thumbnail_generator.cc | 80 ThumbnailGenerator::ClipResult* clip_result) { 97 bmp, desired_width, desired_height, clip_result); 254 ClipResult* clip_result) const { 266 clip_result); 392 ClipResult* clip_result) { 408 if (clip_result) 409 *clip_result = ThumbnailGenerator::kSourceIsSmaller; 419 if (clip_result) 420 *clip_result = ThumbnailGenerator::kWiderThanTall; 424 if (clip_result) 447 ThumbnailGenerator::ClipResult clip_result = ThumbnailGenerator::kNotClipped; local [all...] |
thumbnail_generator_unittest.cc | 226 ThumbnailGenerator::ClipResult clip_result = ThumbnailGenerator::kNotClipped; local 228 bitmap, 10, 10, &clip_result); 233 EXPECT_EQ(ThumbnailGenerator::kTallerThanWide, clip_result); 242 ThumbnailGenerator::ClipResult clip_result = ThumbnailGenerator::kNotClipped; local 244 bitmap, 10, 10, &clip_result); 249 EXPECT_EQ(ThumbnailGenerator::kWiderThanTall, clip_result); 258 ThumbnailGenerator::ClipResult clip_result = ThumbnailGenerator::kNotClipped; local 260 bitmap, 10, 10, &clip_result); 265 EXPECT_EQ(ThumbnailGenerator::kNotClipped, clip_result); 274 ThumbnailGenerator::ClipResult clip_result = ThumbnailGenerator::kNotClipped local [all...] |
thumbnail_generator.h | 92 // |clip_result| is non-NULL, the result of clipping will be written. 95 ClipResult* clip_result) const; 115 ClipResult* clip_result);
|