/external/chromium_org/chrome/browser/thumbnails/ |
simple_thumbnail_crop.cc | 31 gfx::Rect* clipping_rect, 35 *clipping_rect = GetClippingRect(source_size, target_size_, &clip_result); 77 gfx::Rect clipping_rect = local 81 SkIRect src_rect = { clipping_rect.x(), clipping_rect.y(), 82 clipping_rect.right(), clipping_rect.bottom() }; 150 gfx::Rect clipping_rect; local 156 clipping_rect = gfx::Rect(desired_size); 166 clipping_rect.SetRect(x_offset, 0, new_width, source_size.height()) [all...] |
thumbnailing_algorithm.h | 28 // |clipping_rect| (cropping rectangle for the source canvas) and 33 gfx::Rect* clipping_rect,
|
content_based_thumbnailing_algorithm.cc | 46 gfx::Rect* clipping_rect, 53 *clipping_rect = GetClippingRect( 117 gfx::Rect clipping_rect = GetClippingRect( local 124 gfx::RectToSkIRect(clipping_rect)); 173 gfx::Rect clipping_rect = SimpleThumbnailCrop::GetClippingRect( local 177 source_bitmap.extractSubset(&thumbnail, gfx::RectToSkIRect(clipping_rect)); 217 gfx::Rect clipping_rect; local 220 clipping_rect = gfx::Rect(thumbnail_size); 225 clipping_rect = gfx::Rect(source_size); 229 clipping_rect = gfx::Rect(source_size) [all...] |
content_based_thumbnailing_algorithm_unittest.cc | 66 gfx::Rect clipping_rect; local 71 source_size, ui::SCALE_FACTOR_100P, &clipping_rect, &target_size); 73 EXPECT_EQ(source_size.ToString(), clipping_rect.size().ToString()); 74 EXPECT_EQ(gfx::Point(0, 0).ToString(), clipping_rect.origin().ToString()); 79 source_size, ui::SCALE_FACTOR_100P, &clipping_rect, &target_size); 81 EXPECT_EQ(source_size.ToString(), clipping_rect.size().ToString()); 82 EXPECT_EQ(gfx::Point(0, 0).ToString(), clipping_rect.origin().ToString()); 90 source_size, ui::SCALE_FACTOR_100P, &clipping_rect, &target_size); 92 EXPECT_EQ(clipping_rect.size().ToString(), 95 EXPECT_EQ(gfx::Point(0, 0).ToString(), clipping_rect.origin().ToString()) [all...] |
content_based_thumbnailing_algorithm.h | 22 gfx::Rect* clipping_rect,
|
simple_thumbnail_crop.h | 23 gfx::Rect* clipping_rect,
|
/external/chromium_org/cc/trees/ |
layer_tree_host_impl_unittest.cc | [all...] |