Home
last modified time | relevance | path

Searched refs:WallpaperManagerCompat (Results 1 – 22 of 22) sorted by relevance

/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperManagerCompat.java26 import com.android.wallpaper.compat.WallpaperManagerCompat;
32 public class TestWallpaperManagerCompat extends WallpaperManagerCompat {
65 if (whichWallpaper == WallpaperManagerCompat.FLAG_SYSTEM) { in getWallpaperFile()
67 } else if (whichWallpaper == WallpaperManagerCompat.FLAG_LOCK) { in getWallpaperFile()
91 case WallpaperManagerCompat.FLAG_SYSTEM: in getWallpaperId()
93 case WallpaperManagerCompat.FLAG_LOCK: in getWallpaperId()
103 if (whichWallpaper == WallpaperManagerCompat.FLAG_SYSTEM) { in setWallpaperFile()
105 } else if (whichWallpaper == WallpaperManagerCompat.FLAG_LOCK) { in setWallpaperFile()
114 case WallpaperManagerCompat.FLAG_SYSTEM: in setWallpaperId()
117 case WallpaperManagerCompat.FLAG_LOCK: in setWallpaperId()
DTestInjector.java24 import com.android.wallpaper.compat.WallpaperManagerCompat;
64 private WallpaperManagerCompat mWallpaperManagerCompat;
130 public WallpaperManagerCompat getWallpaperManagerCompat(Context context) { in getWallpaperManagerCompat()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DDialogUtils.java31 whichWallpaper = WallpaperManagerCompat.FLAG_SET_SYSTEM; in executeCropTaskAfterPrompt()
33 whichWallpaper = WallpaperManagerCompat.FLAG_SET_LOCK; in executeCropTaskAfterPrompt()
35 whichWallpaper = WallpaperManagerCompat.FLAG_SET_SYSTEM in executeCropTaskAfterPrompt()
36 | WallpaperManagerCompat.FLAG_SET_LOCK; in executeCropTaskAfterPrompt()
44 cropTask.execute(WallpaperManagerCompat.FLAG_SET_SYSTEM); in executeCropTaskAfterPrompt()
DWallpaperManagerCompat.java9 public abstract class WallpaperManagerCompat { class
13 private static WallpaperManagerCompat sInstance;
16 public static WallpaperManagerCompat getInstance(Context context) { in getInstance()
DWallpaperManagerCompatV16.java10 public class WallpaperManagerCompatV16 extends WallpaperManagerCompat {
DCropAndSetWallpaperTask.java85 WallpaperManagerCompat.getInstance(mContext).setStream( in cropBitmap()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperRefresher.java31 import com.android.wallpaper.compat.WallpaperManagerCompat;
79 private final WallpaperManagerCompat mWallpaperManagerCompat;
169 WallpaperManagerCompat.FLAG_SYSTEM)); in setFallbackHomeScreenWallpaperMetadata()
191 WallpaperManagerCompat.FLAG_LOCK)); in setFallbackLockScreenWallpaperMetadata()
244 WallpaperManagerCompat.FLAG_LOCK); in getLockWallpaperBitmap()
282 … == mWallpaperManagerCompat.getWallpaperId(WallpaperManagerCompat.FLAG_SYSTEM); in isHomeScreenImageWallpaperCurrent()
310 == mWallpaperManagerCompat.getWallpaperId(WallpaperManagerCompat.FLAG_LOCK) in isLockScreenMetadataCurrent()
DDefaultWallpaperPersister.java45 import com.android.wallpaper.compat.WallpaperManagerCompat;
71 private final WallpaperManagerCompat mWallpaperManagerCompat;
470 ? WallpaperManagerCompat.FLAG_SYSTEM in cropAndSetWallpaperBitmapInRotationStatic()
471 : WallpaperManagerCompat.FLAG_SYSTEM | WallpaperManagerCompat.FLAG_LOCK; in cropAndSetWallpaperBitmapInRotationStatic()
553 mWallpaperManagerCompat.getWallpaperFile(WallpaperManagerCompat.FLAG_LOCK); in isSeparateLockScreenWallpaperSet()
656 whichWallpaper = WallpaperManagerCompat.FLAG_SYSTEM; in doInBackground()
658 whichWallpaper = WallpaperManagerCompat.FLAG_LOCK; in doInBackground()
660 whichWallpaper = WallpaperManagerCompat.FLAG_SYSTEM in doInBackground()
661 | WallpaperManagerCompat.FLAG_LOCK; in doInBackground()
753 mWallpaperManagerCompat.getWallpaperId(WallpaperManagerCompat.FLAG_LOCK)); in copyRotatingWallpaperToLock()
[all …]
DBaseWallpaperInjector.java20 import com.android.wallpaper.compat.WallpaperManagerCompat;
35 private WallpaperManagerCompat mWallpaperManagerCompat;
96 public synchronized WallpaperManagerCompat getWallpaperManagerCompat(Context context) { in getWallpaperManagerCompat()
98 mWallpaperManagerCompat = WallpaperManagerCompat.getInstance(context); in getWallpaperManagerCompat()
DLockWallpaperStatusChecker.java23 import com.android.wallpaper.compat.WallpaperManagerCompat;
44 WallpaperManagerCompat wallpaperManagerCompat = InjectorProvider.getInjector() in isLockWallpaperSet()
47 wallpaperManagerCompat.getWallpaperFile(WallpaperManagerCompat.FLAG_LOCK); in isLockWallpaperSet()
DDefaultCurrentWallpaperInfoFactory.java22 import com.android.wallpaper.compat.WallpaperManagerCompat;
78 WallpaperManagerCompat.FLAG_SYSTEM); in createCurrentWallpaperInfos()
93 WallpaperManagerCompat.FLAG_LOCK); in createCurrentWallpaperInfos()
DInjector.java24 import com.android.wallpaper.compat.WallpaperManagerCompat;
63 WallpaperManagerCompat getWallpaperManagerCompat(Context context); in getWallpaperManagerCompat()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/compat/
DWallpaperManagerCompat.java35 public abstract class WallpaperManagerCompat { class
39 private static WallpaperManagerCompat sInstance;
41 public static WallpaperManagerCompat getInstance(Context context) { in getInstance()
58 public static void setInstance(WallpaperManagerCompat wallpaperManagerCompat) { in setInstance()
DWallpaperManagerCompatV16.java33 public class WallpaperManagerCompatV16 extends WallpaperManagerCompat {
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DCurrentWallpaperInfoVN.java30 import com.android.wallpaper.compat.WallpaperManagerCompat;
31 import com.android.wallpaper.compat.WallpaperManagerCompat.WallpaperLocation;
143 WallpaperManagerCompat wallpaperManagerCompat = InjectorProvider.getInjector() in createCurrentWallpaperAssetVN()
147 WallpaperManagerCompat.FLAG_SYSTEM); in createCurrentWallpaperAssetVN()
150 boolean isSystemBuiltIn = mWallpaperManagerFlag == WallpaperManagerCompat.FLAG_SYSTEM in createCurrentWallpaperAssetVN()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DDefaultWallpaperInfo.java24 import com.android.wallpaperpicker.common.WallpaperManagerCompat;
74 if (whichWallpaper == WallpaperManagerCompat.FLAG_SET_LOCK) { in onSave()
95 WallpaperManagerCompat.getInstance(a.getApplicationContext()) in setDefaultOnLock()
97 true, WallpaperManagerCompat.FLAG_SET_LOCK); in setDefaultOnLock()
109 WallpaperManagerCompat.getInstance(a.getApplicationContext()).clear(whichWallpaper); in clearWallpaper()
DFileWallpaperInfo.java17 import com.android.wallpaperpicker.common.WallpaperManagerCompat;
64 WallpaperManagerCompat.getInstance(a).setStream(is, null, true, params[0]); in onSave()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DCurrentWallpaperAssetVN.java32 import com.android.wallpaper.compat.WallpaperManagerCompat;
33 import com.android.wallpaper.compat.WallpaperManagerCompat.WallpaperLocation;
57 private WallpaperManagerCompat mWallpaperManagerCompat;
63 mWallpaperManagerCompat = WallpaperManagerCompat.getInstance(context); in CurrentWallpaperAssetVN()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java34 import com.android.wallpaper.compat.WallpaperManagerCompat;
85WallpaperManagerCompat wallpaperManagerCompat = injector.getWallpaperManagerCompat(context); in onStartJob()
115 … wallpaperManagerCompat.getWallpaperFile(WallpaperManagerCompat.FLAG_LOCK); in onStartJob()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/
DDepthController.java44 import com.android.systemui.shared.system.WallpaperManagerCompat;
117 private WallpaperManagerCompat mWallpaperManager;
141 mWallpaperManager = new WallpaperManagerCompat(mLauncher); in ensureDependencies()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java28 import com.android.systemui.shared.system.WallpaperManagerCompat;
343 return WallpaperManagerCompat.getWallpaperZoomOutMaxScale(context); in getSystemWallpaperMaximumScale()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java33 import com.android.wallpaper.compat.WallpaperManagerCompat;
388 WallpaperManagerCompat wallpaperManagerCompat = in getWallpaperSupportLevel()