/frameworks/base/core/java/com/android/internal/colorextraction/ |
D | ColorExtractor.java | 22 import android.app.WallpaperManager; 38 public class ColorExtractor implements WallpaperManager.OnColorsChangedListener { 57 context.getSystemService(WallpaperManager.class)); in ColorExtractor() 62 WallpaperManager wallpaperManager) { in ColorExtractor() 67 for (int which : new int[] { WallpaperManager.FLAG_LOCK, WallpaperManager.FLAG_SYSTEM}) { in ColorExtractor() 85 private void initExtractColors(WallpaperManager wallpaperManager, boolean immediately) { in initExtractColors() 87 mSystemColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_SYSTEM); in initExtractColors() 88 mLockColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK); in initExtractColors() 96 private class LoadWallpaperColors extends AsyncTask<WallpaperManager, Void, Void> { 100 protected Void doInBackground(WallpaperManager... params) { in doInBackground() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/ |
D | SysuiColorExtractor.java | 20 import android.app.WallpaperManager; 55 context.getSystemService(WallpaperManager.class), false /* immediately */); in SysuiColorExtractor() 61 WallpaperManager wallpaperManager, boolean immediately) { in SysuiColorExtractor() 94 if ((which & WallpaperManager.FLAG_LOCK) != 0) { in onColorsChanged() 103 triggerColorsChanged(WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in onUiModeChanged() 108 if (mHasMediaArtwork && (which & WallpaperManager.FLAG_LOCK) != 0) { in getColors() 129 triggerColorsChanged(WallpaperManager.FLAG_LOCK); in setHasMediaArtwork() 141 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in dump() 142 GradientColors[] lock = mGradientColors.get(WallpaperManager.FLAG_LOCK); in dump()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/ |
D | SysuiColorExtractorTests.java | 29 import android.app.WallpaperManager; 54 WallpaperManager.FLAG_SYSTEM, 55 WallpaperManager.FLAG_LOCK}; 62 private WallpaperManager mWallpaperManager; 104 mColorExtractor.getColors(WallpaperManager.FLAG_LOCK, type), fallbackColors); in getColors_fallbackWhenMediaIsVisible() 106 mColorExtractor.getColors(WallpaperManager.FLAG_SYSTEM, type), fallbackColors); in getColors_fallbackWhenMediaIsVisible() 135 WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in simulateEvent()
|
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
D | ColorExtractorTest.java | 27 import android.app.WallpaperManager; 54 WallpaperManager mWallpaperManager; 94 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, in getColors_usesExtractedColors() 97 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); in getColors_usesExtractedColors() 99 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_EXTRA_DARK); in getColors_usesExtractedColors() 112 WallpaperManager.FLAG_LOCK); in addOnColorsChangedListener_invokesListener() 114 eq(WallpaperManager.FLAG_LOCK)); in addOnColorsChangedListener_invokesListener() 118 WallpaperManager.FLAG_LOCK); in addOnColorsChangedListener_invokesListener()
|
/frameworks/base/services/core/java/com/android/server/ |
D | WallpaperUpdateReceiver.java | 20 import android.app.WallpaperManager; 52 WallpaperManager wallpaperManager = WallpaperManager.getInstance(uiContext); in updateWallpaper()
|
/frameworks/base/core/java/android/app/backup/ |
D | WallpaperBackupHelper.java | 19 import android.app.WallpaperManager; 53 private final WallpaperManager mWpm; 68 mWpm = (WallpaperManager) context.getSystemService(Context.WALLPAPER_SERVICE); in WallpaperBackupHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenWallpaper.java | 24 import android.app.WallpaperManager; 61 private final WallpaperManager mWallpaperManager; 76 mWallpaperManager = (WallpaperManager) ctx.getSystemService(Context.WALLPAPER_SERVICE); in LockscreenWallpaper() 116 WallpaperManager.FLAG_LOCK, lockWallpaperUserId); in loadBitmap()
|
D | StatusBar.java | 62 import android.app.WallpaperManager; 477 WallpaperManager wallpaperManager = context.getSystemService(WallpaperManager.class);
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 19 import static android.app.WallpaperManager.FLAG_LOCK; 20 import static android.app.WallpaperManager.FLAG_SYSTEM; 23 import android.app.WallpaperManager; 84 private WallpaperManager mWm; 96 mWm = (WallpaperManager) getSystemService(Context.WALLPAPER_SERVICE); in onCreate()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | MainActivity.java | 20 import android.app.WallpaperManager; 36 WallpaperManager mWallpaperManager; 58 mWallpaperManager = (WallpaperManager)getSystemService(Context.WALLPAPER_SERVICE); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | DefaultClockController.java | 18 import android.app.WallpaperManager; 127 WallpaperManager.FLAG_LOCK); in getPreview()
|
D | AnalogClockController.java | 18 import android.app.WallpaperManager; 133 WallpaperManager.FLAG_LOCK); in getPreview()
|
D | BubbleClockController.java | 18 import android.app.WallpaperManager; 133 WallpaperManager.FLAG_LOCK); in getPreview()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageWallpaperRenderer.java | 25 import android.app.WallpaperManager; 50 private final WallpaperManager mWallpaperManager; 66 mWallpaperManager = context.getSystemService(WallpaperManager.class); in ImageWallpaperRenderer()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 8 import android.app.WallpaperManager; 148 if ((which & WallpaperManager.FLAG_LOCK) != 0) { 382 WallpaperManager.FLAG_LOCK); in updateColors()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 21 import android.app.WallpaperManager; 577 WallpaperManager wallpaperManager = null; 579 wallpaperManager = WallpaperManager.getInstance(mContext.getApplicationContext());
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsActivity.java | 24 import android.app.WallpaperManager; 326 WallpaperManager.FLAG_SYSTEM).supportsDarkText(); in onCreate() 396 if ((which & WallpaperManager.FLAG_SYSTEM) != 0) { in onColorsChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 29 import android.app.WallpaperManager; 1781 if ((WallpaperManager.FLAG_LOCK & which) != 0) { 1782 updateColors(extractor.getColors(WallpaperManager.FLAG_LOCK), 1786 if ((WallpaperManager.FLAG_SYSTEM & which) != 0) { 1787 updateColors(extractor.getColors(WallpaperManager.FLAG_SYSTEM),
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 93 public class WallpaperManager { class 511 /*package*/ WallpaperManager(IWallpaperManager service, Context context, Handler handler) { in WallpaperManager() method in WallpaperManager 519 public static WallpaperManager getInstance(Context context) { in getInstance() 520 return (WallpaperManager)context.getSystemService( in getInstance()
|
D | SystemServiceRegistry.java | 692 registerService(Context.WALLPAPER_SERVICE, WallpaperManager.class, in registerService() 693 new CachedServiceFetcher<WallpaperManager>() { in registerService() 695 public WallpaperManager createService(ContextImpl ctx) in registerService() 704 return new WallpaperManager(service, ctx.getOuterContext(), in registerService()
|
D | ContextImpl.java | 921 private WallpaperManager getWallpaperManager() { in getWallpaperManager() 922 return getSystemService(WallpaperManager.class); in getWallpaperManager()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 19 import static android.app.WallpaperManager.FLAG_LOCK; 20 import static android.app.WallpaperManager.FLAG_SYSTEM; 39 import android.app.WallpaperManager; 537 try (InputStream is = WallpaperManager.openDefaultWallpaper(mContext, FLAG_SYSTEM)) { in extractDefaultImageWallpaperColors() 1571 mDefaultWallpaperComponent = WallpaperManager.getDefaultWallpaperComponent(context); in WallpaperManagerService() 2424 extras.putInt(WallpaperManager.EXTRA_NEW_WALLPAPER_ID, wallpaper.wallpaperId); in updateWallpaperBitmapLocked()
|
/frameworks/base/config/ |
D | dirty-image-objects | 55 android.app.WallpaperManager
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 27 import android.app.WallpaperManager;
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 48 import android.app.WallpaperManager;
|