HomeSort by relevance Sort by last modified time
    Searched refs:WallpaperResizer (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/ash/desktop_background/
wallpaper_resizer.h 22 class ASH_EXPORT WallpaperResizer {
29 WallpaperResizer(int image_resource_id,
33 WallpaperResizer(const gfx::ImageSkia& image,
37 ~WallpaperResizer();
70 base::WeakPtrFactory<WallpaperResizer> weak_ptr_factory_;
72 DISALLOW_COPY_AND_ASSIGN(WallpaperResizer);
wallpaper_resizer.cc 97 uint32_t WallpaperResizer::GetImageId(const gfx::ImageSkia& image) {
102 WallpaperResizer::WallpaperResizer(int image_resource_id,
114 WallpaperResizer::WallpaperResizer(const gfx::ImageSkia& image,
125 WallpaperResizer::~WallpaperResizer() {
128 void WallpaperResizer::StartResize() {
135 base::Bind(&WallpaperResizer::OnResizeFinished,
143 void WallpaperResizer::AddObserver(WallpaperResizerObserver* observer)
    [all...]
wallpaper_resizer_unittest.cc 72 scoped_ptr<WallpaperResizer> resizer;
73 resizer.reset(new WallpaperResizer(image, target_size, layout));
149 // Create a WallpaperResizer and check that it reports an original image ID
151 WallpaperResizer resizer(image, gfx::Size(10, 20), WALLPAPER_LAYOUT_STRETCH);
152 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id());
157 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id());
desktop_background_controller.h 65 class WallpaperResizer;
204 scoped_ptr<WallpaperResizer> current_wallpaper_;
desktop_background_controller.cc 85 WallpaperResizer* ReleaseWallpaperResizer() {
123 wallpaper_resizer_.reset(new WallpaperResizer(
126 wallpaper_resizer_.reset(new WallpaperResizer(
138 scoped_ptr<WallpaperResizer> wallpaper_resizer_;
255 current_wallpaper_.reset(new WallpaperResizer(
333 (WallpaperResizer::GetImageId(image) ==

Completed in 190 milliseconds