Searched refs:whichWallpaper (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | NycWallpaperUtils.java | 31 int whichWallpaper; in executeCropTaskAfterPrompt() 33 whichWallpaper = WallpaperManager.FLAG_SYSTEM; in executeCropTaskAfterPrompt() 35 whichWallpaper = WallpaperManager.FLAG_LOCK; in executeCropTaskAfterPrompt() 37 whichWallpaper = WallpaperManager.FLAG_SYSTEM in executeCropTaskAfterPrompt() 40 cropTask.execute(whichWallpaper); in executeCropTaskAfterPrompt() 51 boolean allowBackup, int whichWallpaper) throws IOException { in setStream() argument 54 wallpaperManager.setStream(data, visibleCropHint, allowBackup, whichWallpaper); in setStream() 61 public static void clear(Context context, int whichWallpaper) throws IOException { in clear() argument 64 wallpaperManager.clear(whichWallpaper); in clear()
|
D | WallpaperPickerActivity.java | 393 int whichWallpaper = params[0]; in getDefaultWallpaperCropTask() 396 if (whichWallpaper == WallpaperManager.FLAG_LOCK) { in getDefaultWallpaperCropTask() 409 NycWallpaperUtils.clear(a, whichWallpaper); in getDefaultWallpaperCropTask()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
D | BitmapCropTask.java | 171 public boolean cropBitmap(int whichWallpaper) { in cropBitmap() argument 177 setWallpaper(is, null, whichWallpaper); in cropBitmap() 198 setWallpaper(is, hint, whichWallpaper); in cropBitmap() 387 setWallpaper(new ByteArrayInputStream(outByteArray), null, whichWallpaper); in cropBitmap() 420 private void setWallpaper(InputStream in, Rect crop, int whichWallpaper) throws IOException { in setWallpaper() argument 424 NycWallpaperUtils.setStream(mContext, in, crop, true, whichWallpaper); in setWallpaper()
|