Home
last modified time | relevance | path

Searched refs:wallpaperManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java79 WallpaperManager wallpaperManager = mContext.getSystemService(WallpaperManager.class); in ColorExtractor() local
80 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() local
200 if (wallpaperManager != null) { in destroy()
201 wallpaperManager.removeOnColorsChangedListener(this); in destroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java82 WallpaperManager wallpaperManager = context.getSystemService(WallpaperManager.class); in SysuiColorExtractor() local
83 if (wallpaperManager != null) { in SysuiColorExtractor()
85 wallpaperManager.removeOnColorsChangedListener(this); in SysuiColorExtractor()
86 wallpaperManager.addOnColorsChangedListener(this, null /* handler */, in SysuiColorExtractor()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java577 WallpaperManager wallpaperManager = null;
579 wallpaperManager = WallpaperManager.getInstance(mContext.getApplicationContext());
587 wallpaperManager.setStream(is);
780 if (mSetWallpaper && wallpaperManager != null) {
783 wallpaperManager.setStream(new ByteArrayInputStream(outByteArray));