Searched refs:WallpaperResizer (Results 1 - 5 of 5) sorted by relevance
/external/chromium_org/ash/desktop_background/ |
H A D | wallpaper_resizer.h | 22 class ASH_EXPORT WallpaperResizer { class in namespace:ash 29 WallpaperResizer(const gfx::ImageSkia& image, 33 ~WallpaperResizer(); 66 base::WeakPtrFactory<WallpaperResizer> weak_ptr_factory_; 68 DISALLOW_COPY_AND_ASSIGN(WallpaperResizer);
|
H A D | wallpaper_resizer.cc | 97 uint32_t WallpaperResizer::GetImageId(const gfx::ImageSkia& image) { 102 WallpaperResizer::WallpaperResizer(const gfx::ImageSkia& image, function in class:ash::WallpaperResizer 113 WallpaperResizer::~WallpaperResizer() { 116 void WallpaperResizer::StartResize() { 123 base::Bind(&WallpaperResizer::OnResizeFinished, 131 void WallpaperResizer::AddObserver(WallpaperResizerObserver* observer) { 135 void WallpaperResizer::RemoveObserver(WallpaperResizerObserver* observer) { 139 void WallpaperResizer [all...] |
H A D | desktop_background_controller.h | 46 class WallpaperResizer; 162 scoped_ptr<WallpaperResizer> current_wallpaper_;
|
H A D | wallpaper_resizer_unittest.cc | 70 scoped_ptr<WallpaperResizer> resizer; 71 resizer.reset(new WallpaperResizer(image, target_size, layout)); 147 // Create a WallpaperResizer and check that it reports an original image ID 149 WallpaperResizer resizer(image, gfx::Size(10, 20), WALLPAPER_LAYOUT_STRETCH); 150 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id()); 155 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id());
|
H A D | desktop_background_controller.cc | 83 VLOG(1) << "SetWallpaper: image_id=" << WallpaperResizer::GetImageId(image) 92 new WallpaperResizer(image, GetMaxDisplaySizeInNative(), layout)); 188 return WallpaperResizer::GetImageId(image) ==
|
Completed in 171 milliseconds