/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultCurrentWallpaperInfoFactory.java | 18 import android.app.WallpaperManager; 87 WallpaperManager.FLAG_SYSTEM)); in createCurrentWallpaperInfos() 98 WallpaperManager.FLAG_LOCK)); in createCurrentWallpaperInfos() 130 WallpaperManager.FLAG_SYSTEM); in createCurrentWallpaperInfos() 153 WallpaperManager.FLAG_LOCK); in createCurrentWallpaperInfos() 180 WallpaperManager manager = in isLockWallpaperBuiltIn() 181 (WallpaperManager) context.getSystemService(Context.WALLPAPER_SERVICE); in isLockWallpaperBuiltIn() 184 && manager.getWallpaperInfo(WallpaperManager.FLAG_LOCK) == null in isLockWallpaperBuiltIn() 185 && manager.getWallpaperFile(WallpaperManager.FLAG_LOCK) == null; in isLockWallpaperBuiltIn() 198 return wallpaperSynced(context, mHomeWallpaper, WallpaperManager.FLAG_SYSTEM); in homeWallpaperSynced() [all …]
|
D | DefaultWallpaperPersister.java | 18 import static android.app.WallpaperManager.FLAG_LOCK; 19 import static android.app.WallpaperManager.FLAG_SYSTEM; 23 import android.app.WallpaperManager; 74 private final WallpaperManager mWallpaperManager; 88 WallpaperManager wallpaperManager, in DefaultWallpaperPersister() 115 if (WallpaperManager.isMultiCropEnabled() && (!(asset instanceof StreamableAsset))) { in setIndividualWallpaper() 126 if ((cropRect == null || WallpaperManager.isMultiCropEnabled()) in setIndividualWallpaper() 231 int whichWallpaper = WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK; in setWallpaperBitmapInNextRotation() 336 if (!WallpaperManager.isMultiCropEnabled()) { in cropAndSetWallpaperBitmapInRotationStatic() 343 scaledCropRect = WallpaperManager.isMultiCropEnabled() ? scaledCropRect : null; in cropAndSetWallpaperBitmapInRotationStatic() [all …]
|
D | DefaultWallpaperStatusChecker.kt | 18 import android.app.WallpaperManager 24 private val wallpaperManager: WallpaperManager, 27 val systemWallpaperFile = wallpaperManager.getWallpaperFile(WallpaperManager.FLAG_SYSTEM) in isHomeStaticWallpaperSet() 41 return wallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK) >= 0 in isLockWallpaperSet()
|
D | WallpaperSetter.java | 8 import android.app.WallpaperManager; 169 WallpaperManager wallpaperManager = WallpaperManager.getInstance(activity); in setCurrentLiveWallpaper() 196 private void setWallpaperComponent(WallpaperManager wallpaperManager, in setWallpaperComponent() 224 WallpaperManager wallpaperManager = WallpaperManager.getInstance(context); in setCurrentLiveWallpaperFromRestore() 336 WallpaperManager wallpaperManager = WallpaperManager.getInstance(activity); in requestDestination()
|
D | DefaultWallpaperRefresher.java | 18 import static android.app.WallpaperManager.FLAG_LOCK; 19 import static android.app.WallpaperManager.FLAG_SYSTEM; 23 import android.app.WallpaperManager; 70 private final WallpaperManager mWallpaperManager; 94 mWallpaperManager = (WallpaperManager) context.getSystemService(Context.WALLPAPER_SERVICE); in DefaultWallpaperRefresher() 110 private final WallpaperManager mWallpaperManager; 119 mWallpaperManager = WallpaperManager.getInstance(mAppContext); in GetWallpaperMetadataAsyncTask() 389 @WallpaperManager.SetWallpaperFlags int which) { in getCurrentWallpaperCropHints()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/converter/ |
D | WallpaperModelFactory.kt | 19 import android.app.WallpaperManager 57 WallpaperManager.FLAG_SYSTEM -> Destination.APPLIED_TO_SYSTEM in getWallpaperModel() 58 WallpaperManager.FLAG_LOCK -> Destination.APPLIED_TO_LOCK in getWallpaperModel() 59 WallpaperManager.FLAG_LOCK and WallpaperManager.FLAG_SYSTEM -> in getWallpaperModel() 110 val wallpaperManager = WallpaperManager.getInstance(context) in getWallpaperModel() 112 wallpaperManager.getWallpaperInfo(WallpaperManager.FLAG_SYSTEM) in getWallpaperModel() 113 val currentLockWallpaper = wallpaperManager.getWallpaperInfo(WallpaperManager.FLAG_LOCK) in getWallpaperModel()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/ |
D | FallbackHomeActivityTest.java | 23 import android.app.WallpaperManager; 24 import android.app.WallpaperManager.OnColorsChangedListener; 62 WallpaperManager wallpaperManager = WallpaperManager.getInstance(application); in setUp() 75 .getSystemService(WallpaperManager.class)); in wallpaperColorsChangedListener_ensured_removed() 83 @Implements(WallpaperManager.class)
|
D | WallpaperSuggestionActivityTest.java | 24 import android.app.WallpaperManager; 66 WallpaperManager wallpaperManager = WallpaperManager.getInstance(application); in setUp() 133 @Implements(WallpaperManager.class)
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DeletableUtils.kt | 19 import android.app.WallpaperManager 20 import android.app.WallpaperManager.FLAG_LOCK 21 import android.app.WallpaperManager.FLAG_SYSTEM 63 val currentInfo = WallpaperManager.getInstance(context).getWallpaperInfo(FLAG_SYSTEM) in getDeleteAction() 64 val currentLockInfo = WallpaperManager.getInstance(context).getWallpaperInfo(FLAG_LOCK) in getDeleteAction()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | CurrentWallpaperAsset.java | 18 import static android.app.WallpaperManager.SetWallpaperFlags; 21 import android.app.WallpaperManager; 56 private final WallpaperManager mWallpaperManager; 64 mWallpaperManager = WallpaperManager.getInstance(context.getApplicationContext()); in CurrentWallpaperAsset() 164 private final WallpaperManager mWallpaperManager; 168 CurrentWallpaperKey(WallpaperManager wallpaperManager, in CurrentWallpaperKey()
|
D | BuiltInWallpaperAsset.java | 20 import android.app.WallpaperManager; 82 Drawable drawable = WallpaperManager.getInstance(mContext).getBuiltInDrawable( in decodeBitmapRegion() 106 final WallpaperManager wallpaperManager = WallpaperManager.getInstance(mContext); in decodeBitmap() 147 Drawable builtInDrawable = WallpaperManager.getInstance(mContext).getBuiltInDrawable(); in calculateRawDimensions()
|
D | WallpaperModel.java | 19 import android.app.WallpaperManager; 46 private WallpaperManager mWallpaperManager; 50 mWallpaperManager = WallpaperManager.getInstance(context); in WallpaperModel()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/fragment/ |
D | ColorPickerFragment.kt | 18 import android.app.WallpaperManager 80 val wallpaperManager = WallpaperManager.getInstance(requireContext()) in onCreateView() 149 wallpaperManager.getWallpaperInfo(WallpaperManager.FLAG_SYSTEM) != null && in onCreateView() 150 wallpaperManager.getWallpaperId(WallpaperManager.FLAG_LOCK) < 0 in onCreateView() 223 wallpaperManager: WallpaperManager, in loadInitialColors() 231 WallpaperManager.FLAG_LOCK in loadInitialColors() 233 WallpaperManager.FLAG_SYSTEM in loadInitialColors()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/util/ |
D | LiveWallpaperDeleteUtil.kt | 19 import android.app.WallpaperManager 20 import android.app.WallpaperManager.FLAG_LOCK 21 import android.app.WallpaperManager.FLAG_SYSTEM 31 class LiveWallpaperDeleteUtil @Inject constructor(private val wallpaperManager: WallpaperManager) {
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoWallpaperPermissionsTest.java | 20 import static android.app.WallpaperManager.FLAG_LOCK; 21 import static android.app.WallpaperManager.FLAG_SYSTEM; 25 import android.app.WallpaperManager; 43 private WallpaperManager mWM; 48 mWM = (WallpaperManager) mContext.getSystemService(Context.WALLPAPER_SERVICE); in setUp()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | Screen.kt | 19 import android.app.WallpaperManager 29 HOME_SCREEN -> WallpaperManager.FLAG_SYSTEM in toFlag() 30 LOCK_SCREEN -> WallpaperManager.FLAG_LOCK in toFlag()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | WallpaperColorHints.kt | 20 import android.app.WallpaperManager in <lambda>() 21 import android.app.WallpaperManager.FLAG_SYSTEM in <lambda>() 22 import android.app.WallpaperManager.OnColorsChangedListener in <lambda>() 38 get() = context.getSystemService(WallpaperManager::class.java)!! in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/wallpaper/ |
D | WallpaperSuggestionActivity.java | 19 import android.app.WallpaperManager; 65 final WallpaperManager manager = (WallpaperManager) context.getSystemService( in isSuggestionComplete() 67 return manager.getWallpaperId(WallpaperManager.FLAG_SYSTEM) > 0; in isSuggestionComplete()
|
/packages/apps/Settings/src/com/android/settings/ |
D | FallbackHome.java | 21 import android.app.WallpaperManager; 22 import android.app.WallpaperManager.OnColorsChangedListener; 48 private WallpaperManager mWallManager; 100 mWallManager = getSystemService(WallpaperManager.class); in onCreate() 146 mWallManager.getWallpaperColors(WallpaperManager.FLAG_SYSTEM); in loadWallpaperColors()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/shared/model/ |
D | WallpaperDestination.kt | 20 import android.app.WallpaperManager.FLAG_LOCK 21 import android.app.WallpaperManager.FLAG_SYSTEM 22 import android.app.WallpaperManager.SetWallpaperFlags
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/ |
D | MissingHashCodeGenerator.java | 19 import android.app.WallpaperManager; 46 WallpaperManager wallpaperManager = WallpaperManager.getInstance(context); in onReceive()
|
D | MissingHashCodeGeneratorJobService.java | 19 import android.app.WallpaperManager; 74 final WallpaperManager wallpaperManager = (WallpaperManager) context.getSystemService( in onStartJob() 110 WallpaperManager.FLAG_LOCK); in onStartJob()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | LivePreviewFragment.java | 19 import static android.app.WallpaperManager.FLAG_LOCK; 20 import static android.app.WallpaperManager.FLAG_SYSTEM; 32 import android.app.WallpaperManager; 171 WallpaperManager wallpaperManager = WallpaperManager.getInstance(getContext()); in getCreativeWallpaperPreviewResultCallback() 280 WallpaperManager.COMMAND_TAP, 285 WallpaperManager.COMMAND_SECONDARY_TAP, 308 WallpaperManager wallpaperManager = WallpaperManager.getInstance(getContext()); 475 WallpaperManager wallpaperManager = WallpaperManager.getInstance(context);
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersisterTest.java | 18 import static android.app.WallpaperManager.FLAG_LOCK; 19 import static android.app.WallpaperManager.FLAG_SYSTEM; 29 import android.app.WallpaperManager; 70 private WallpaperManager mManager; 80 mManager = spy(WallpaperManager.getInstance(mContext)); in setUp()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/data/ |
D | WallpaperDestination.kt | 3 import android.app.WallpaperManager.FLAG_LOCK 4 import android.app.WallpaperManager.FLAG_SYSTEM
|