Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPersister.java103 public boolean setWallpaperInRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperInRotation() argument
109 mCurrentHomeWallpaper = wallpaperBitmap; in setWallpaperInRotation()
110 mCurrentLockWallpaper = wallpaperBitmap; in setWallpaperInRotation()
117 public int setWallpaperBitmapInNextRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperBitmapInNextRotation() argument
119 mCurrentHomeWallpaper = wallpaperBitmap; in setWallpaperBitmapInNextRotation()
120 mCurrentLockWallpaper = wallpaperBitmap; in setWallpaperBitmapInNextRotation()
236 public int setBitmapToWallpaperManager(Bitmap wallpaperBitmap, Rect cropHint, in setBitmapToWallpaperManager() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java211 public boolean setWallpaperInRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperInRotation() argument
213 final int wallpaperId = cropAndSetWallpaperBitmapInRotationStatic(wallpaperBitmap, in setWallpaperInRotation()
225 public int setWallpaperBitmapInNextRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperBitmapInNextRotation() argument
232 return cropAndSetWallpaperBitmapInRotationStatic(wallpaperBitmap, attributions, actionUrl, in setWallpaperBitmapInNextRotation()
301 private int cropAndSetWallpaperBitmapInRotationStatic(Bitmap wallpaperBitmap, in cropAndSetWallpaperBitmapInRotationStatic() argument
305 Point wallpaperSize = new Point(wallpaperBitmap.getWidth(), wallpaperBitmap.getHeight()); in cropAndSetWallpaperBitmapInRotationStatic()
337 wallpaperBitmap = Bitmap.createBitmap(wallpaperBitmap, in cropAndSetWallpaperBitmapInRotationStatic()
345 int wallpaperId = setBitmapToWallpaperManager(wallpaperBitmap, scaledCropRect, in cropAndSetWallpaperBitmapInRotationStatic()
350 wallpaperBitmap, WallpaperColors.fromBitmap(wallpaperBitmap)); in cropAndSetWallpaperBitmapInRotationStatic()
368 public int setBitmapToWallpaperManager(Bitmap wallpaperBitmap, Rect cropHint, in setBitmapToWallpaperManager() argument
[all …]
DDefaultWallpaperRefresher.java259 Bitmap wallpaperBitmap = wallpaperDrawable != null ? wallpaperDrawable.getBitmap() in getCurrentHomeWallpaperHashCode() local
262 wallpaperBitmap != null ? BitmapUtils.generateHashCode(wallpaperBitmap) : 0; in getCurrentHomeWallpaperHashCode()
275 Bitmap wallpaperBitmap = getLockWallpaperBitmap(); in getCurrentLockWallpaperHashCode() local
280 wallpaperBitmap != null ? BitmapUtils.generateHashCode(wallpaperBitmap) : 0; in getCurrentLockWallpaperHashCode()
DWallpaperPersister.java78 boolean setWallpaperInRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperInRotation() argument
95 int setWallpaperBitmapInNextRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperBitmapInNextRotation() argument
155 int setBitmapToWallpaperManager(Bitmap wallpaperBitmap, Rect cropHint, in setBitmapToWallpaperManager() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperColorsExtractor.kt43 wallpaperBitmap: Bitmap, in extractWallpaperColors()
51 var cropped = wallpaperBitmap in extractWallpaperColors()