Home
last modified time | relevance | path

Searched refs:WallpaperResizer (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/ash/desktop_background/
Dwallpaper_resizer.cc97 uint32_t WallpaperResizer::GetImageId(const gfx::ImageSkia& image) { in GetImageId()
102 WallpaperResizer::WallpaperResizer(const gfx::ImageSkia& image, in WallpaperResizer() function in ash::WallpaperResizer
113 WallpaperResizer::~WallpaperResizer() { in ~WallpaperResizer()
116 void WallpaperResizer::StartResize() { in StartResize()
123 base::Bind(&WallpaperResizer::OnResizeFinished, in StartResize()
131 void WallpaperResizer::AddObserver(WallpaperResizerObserver* observer) { in AddObserver()
135 void WallpaperResizer::RemoveObserver(WallpaperResizerObserver* observer) { in RemoveObserver()
139 void WallpaperResizer::OnResizeFinished(SkBitmap* resized_bitmap) { in OnResizeFinished()
Dwallpaper_resizer.h22 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);
Dwallpaper_resizer_unittest.cc70 scoped_ptr<WallpaperResizer> resizer; in Resize()
71 resizer.reset(new WallpaperResizer(image, target_size, layout)); in Resize()
149 WallpaperResizer resizer(image, gfx::Size(10, 20), WALLPAPER_LAYOUT_STRETCH); in TEST_F()
150 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id()); in TEST_F()
155 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id()); in TEST_F()
Ddesktop_background_controller.h46 class WallpaperResizer; variable
162 scoped_ptr<WallpaperResizer> current_wallpaper_;
Ddesktop_background_controller.cc83 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()