Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java62 WallpaperManager wallpaperManager) { in ColorExtractor() argument
76 if (wallpaperManager.isWallpaperSupported()) { in ColorExtractor()
77 wallpaperManager.addOnColorsChangedListener(this, null /* handler */); in ColorExtractor()
78 initExtractColors(wallpaperManager, immediately); in ColorExtractor()
82 private void initExtractColors(WallpaperManager wallpaperManager, boolean immediately) { in initExtractColors() argument
84 mSystemColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_SYSTEM); in initExtractColors()
85 mLockColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK); in initExtractColors()
89 AsyncTask.THREAD_POOL_EXECUTOR, wallpaperManager); in initExtractColors()
220 WallpaperManager wallpaperManager = mContext.getSystemService(WallpaperManager.class); in destroy() local
221 if (wallpaperManager != null) { in destroy()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java61 WallpaperManager wallpaperManager, boolean immediately) { in SysuiColorExtractor() argument
62 super(context, type, immediately, wallpaperManager); in SysuiColorExtractor()
71 if (wallpaperManager.isWallpaperSupported()) { in SysuiColorExtractor()
72 wallpaperManager.removeOnColorsChangedListener(this); in SysuiColorExtractor()
73 wallpaperManager.addOnColorsChangedListener(this, null /* handler */, in SysuiColorExtractor()
/frameworks/base/services/core/java/com/android/server/
DWallpaperUpdateReceiver.java52 WallpaperManager wallpaperManager = WallpaperManager.getInstance(uiContext); in updateWallpaper() local
56 wallpaperManager.setBitmap(blank); in updateWallpaper()
57 wallpaperManager.setResource(com.android.internal.R.drawable.default_wallpaper); in updateWallpaper()
/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.java499 WallpaperManager wallpaperManager = context.getSystemService(WallpaperManager.class);
500 WallpaperInfo info = wallpaperManager.getWallpaperInfo(UserHandle.USER_CURRENT);
757 IWallpaperManager wallpaperManager = IWallpaperManager.Stub.asInterface( in start() local
760 wallpaperManager.setInAmbientMode(false /* ambientMode */, 0L /* duration */); in start()