Home
last modified time | relevance | path

Searched refs:wallpaperManager (Results 1 – 4 of 4) 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.java83 WallpaperManager wallpaperManager = context.getSystemService(WallpaperManager.class); in SysuiColorExtractor() local
84 if (wallpaperManager != null) { in SysuiColorExtractor()
86 wallpaperManager.removeOnColorsChangedListener(this); in SysuiColorExtractor()
87 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));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java515 WallpaperManager wallpaperManager = context.getSystemService(WallpaperManager.class);
516 if (wallpaperManager == null) {
520 WallpaperInfo info = wallpaperManager.getWallpaperInfo();
761 IWallpaperManager wallpaperManager = IWallpaperManager.Stub.asInterface( in start() local
764 wallpaperManager.setInAmbientMode(false /* ambientMode */, false /* animated */); in start()