Searched refs:WallpaperResizer (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/ash/desktop_background/ |
D | wallpaper_resizer.cc | 96 uint32_t WallpaperResizer::GetImageId(const gfx::ImageSkia& image) { in GetImageId() 101 WallpaperResizer::WallpaperResizer(const gfx::ImageSkia& image, in WallpaperResizer() function in ash::WallpaperResizer 112 WallpaperResizer::~WallpaperResizer() { in ~WallpaperResizer() 115 void WallpaperResizer::StartResize() { in StartResize() 122 base::Bind(&WallpaperResizer::OnResizeFinished, in StartResize() 130 void WallpaperResizer::AddObserver(WallpaperResizerObserver* observer) { in AddObserver() 134 void WallpaperResizer::RemoveObserver(WallpaperResizerObserver* observer) { in RemoveObserver() 138 void WallpaperResizer::OnResizeFinished(SkBitmap* resized_bitmap) { in OnResizeFinished()
|
D | wallpaper_resizer.h | 22 class ASH_EXPORT WallpaperResizer { 29 WallpaperResizer(const gfx::ImageSkia& image, 33 ~WallpaperResizer(); 66 base::WeakPtrFactory<WallpaperResizer> weak_ptr_factory_; 68 DISALLOW_COPY_AND_ASSIGN(WallpaperResizer);
|
D | wallpaper_resizer_unittest.cc | 69 scoped_ptr<WallpaperResizer> resizer; in Resize() 70 resizer.reset(new WallpaperResizer(image, target_size, layout)); in Resize() 148 WallpaperResizer resizer(image, gfx::Size(10, 20), WALLPAPER_LAYOUT_STRETCH); in TEST_F() 149 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id()); in TEST_F() 154 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id()); in TEST_F()
|
D | desktop_background_controller.h | 46 class WallpaperResizer; variable 162 scoped_ptr<WallpaperResizer> current_wallpaper_;
|
D | desktop_background_controller.cc | 83 VLOG(1) << "SetWallpaper: image_id=" << WallpaperResizer::GetImageId(image) in SetWallpaperImage() 92 new WallpaperResizer(image, GetMaxDisplaySizeInNative(), layout)); in SetWallpaperImage() 188 return WallpaperResizer::GetImageId(image) == in WallpaperIsAlreadyLoaded()
|