Searched refs:wallpaperManager (Results 1 – 3 of 3) sorted by relevance
79 WallpaperManager wallpaperManager = mContext.getSystemService(WallpaperManager.class); in ColorExtractor() local80 if (wallpaperManager == null) { in ColorExtractor()83 wallpaperManager.addOnColorsChangedListener(this, null /* handler */); in ColorExtractor()87 mSystemColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_SYSTEM); in ColorExtractor()88 mLockColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK); in ColorExtractor()199 WallpaperManager wallpaperManager = mContext.getSystemService(WallpaperManager.class); in destroy() local200 if (wallpaperManager != null) { in destroy()201 wallpaperManager.removeOnColorsChangedListener(this); in destroy()
82 WallpaperManager wallpaperManager = context.getSystemService(WallpaperManager.class); in SysuiColorExtractor() local83 if (wallpaperManager != null) { in SysuiColorExtractor()85 wallpaperManager.removeOnColorsChangedListener(this); in SysuiColorExtractor()86 wallpaperManager.addOnColorsChangedListener(this, null /* handler */, in SysuiColorExtractor()
577 WallpaperManager wallpaperManager = null;579 wallpaperManager = WallpaperManager.getInstance(mContext.getApplicationContext());587 wallpaperManager.setStream(is);780 if (mSetWallpaper && wallpaperManager != null) {783 wallpaperManager.setStream(new ByteArrayInputStream(outByteArray));