/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestWallpaperManagerCompat.java | 51 int whichWallpaper) throws IOException { in setStream() argument 58 int whichWallpaper) throws IOException { in setBitmap() argument 64 public ParcelFileDescriptor getWallpaperFile(int whichWallpaper) { in getWallpaperFile() argument 65 if (whichWallpaper == WallpaperManagerCompat.FLAG_SYSTEM) { in getWallpaperFile() 67 } else if (whichWallpaper == WallpaperManagerCompat.FLAG_LOCK) { in getWallpaperFile() 89 public int getWallpaperId(@WallpaperLocation int whichWallpaper) { in getWallpaperId() argument 90 switch (whichWallpaper) { in getWallpaperId() 98 + "FLAG_LOCK but the value " + whichWallpaper + " was provided."); in getWallpaperId() 102 public void setWallpaperFile(int whichWallpaper, ParcelFileDescriptor file) { in setWallpaperFile() argument 103 if (whichWallpaper == WallpaperManagerCompat.FLAG_SYSTEM) { in setWallpaperFile() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/compat/ |
D | WallpaperManagerCompatVN.java | 41 int whichWallpaper) throws IOException { in setStream() argument 42 return mWallpaperManager.setStream(data, visibleCropHint, allowBackup, whichWallpaper); in setStream() 47 int whichWallpaper) throws IOException { in setBitmap() argument 48 return mWallpaperManager.setBitmap(fullImage, visibleCropHint, allowBackup, whichWallpaper); in setBitmap() 52 public int getWallpaperId(@WallpaperLocation int whichWallpaper) { in getWallpaperId() argument 53 return mWallpaperManager.getWallpaperId(whichWallpaper); in getWallpaperId() 57 public ParcelFileDescriptor getWallpaperFile(int whichWallpaper) { in getWallpaperFile() argument 60 parcelFd = mWallpaperManager.getWallpaperFile(whichWallpaper); in getWallpaperFile()
|
D | WallpaperManagerCompat.java | 68 int whichWallpaper) throws IOException; in setStream() argument 74 int whichWallpaper) throws IOException; in setBitmap() argument 79 public abstract int getWallpaperId(@WallpaperLocation int whichWallpaper); in getWallpaperId() argument 86 public abstract ParcelFileDescriptor getWallpaperFile(int whichWallpaper); in getWallpaperFile() argument
|
D | WallpaperManagerCompatV16.java | 45 int whichWallpaper) throws IOException { in setStream() argument 53 int whichWallpaper) throws IOException { in setBitmap() argument 60 public int getWallpaperId(@WallpaperLocation int whichWallpaper) { in getWallpaperId() argument 66 public ParcelFileDescriptor getWallpaperFile(int whichWallpaper) { in getWallpaperFile() argument
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | WallpaperManagerCompatVN.java | 19 int whichWallpaper) throws IOException { in setStream() argument 25 setStream.invoke(mWallpaperManager, data, visibleCropHint, allowBackup, whichWallpaper); in setStream() 28 super.setStream(data, visibleCropHint, allowBackup, whichWallpaper); in setStream() 33 public void clear(int whichWallpaper) throws IOException { in clear() argument 37 clear.invoke(mWallpaperManager, whichWallpaper); in clear() 40 super.clear(whichWallpaper); in clear()
|
D | DialogUtils.java | 29 int whichWallpaper; in executeCropTaskAfterPrompt() 31 whichWallpaper = WallpaperManagerCompat.FLAG_SET_SYSTEM; in executeCropTaskAfterPrompt() 33 whichWallpaper = WallpaperManagerCompat.FLAG_SET_LOCK; in executeCropTaskAfterPrompt() 35 whichWallpaper = WallpaperManagerCompat.FLAG_SET_SYSTEM in executeCropTaskAfterPrompt() 38 cropTask.execute(whichWallpaper); in executeCropTaskAfterPrompt()
|
D | CropAndSetWallpaperTask.java | 71 public boolean cropBitmap(int whichWallpaper) { in cropBitmap() argument 87 null, true, whichWallpaper); in cropBitmap() 103 protected Boolean doInBackground(Integer... whichWallpaper) { in doInBackground() argument 104 return cropBitmap(whichWallpaper[0]); in doInBackground()
|
D | WallpaperManagerCompatV16.java | 19 int whichWallpaper) throws IOException { in setStream() argument 24 public void clear(int whichWallpaper) throws IOException { in clear() argument
|
D | WallpaperManagerCompat.java | 30 int whichWallpaper) throws IOException; in setStream() argument 32 public abstract void clear(int whichWallpaper) throws IOException; in clear() argument
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 469 int whichWallpaper = (isLockWallpaperSet) in cropAndSetWallpaperBitmapInRotationStatic() local 474 whichWallpaper); in cropAndSetWallpaperBitmapInRotationStatic() 485 int whichWallpaper) { in setBitmapToWallpaperManagerCompat() argument 494 whichWallpaper); in setBitmapToWallpaperManagerCompat() 506 whichWallpaper); in setBitmapToWallpaperManagerCompat() 515 int whichWallpaper) { in setStreamToWallpaperManagerCompat() argument 518 whichWallpaper); in setStreamToWallpaperManagerCompat() 654 int whichWallpaper; in doInBackground() local 656 whichWallpaper = WallpaperManagerCompat.FLAG_SYSTEM; in doInBackground() 658 whichWallpaper = WallpaperManagerCompat.FLAG_LOCK; in doInBackground() [all …]
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | DefaultWallpaperInfo.java | 72 int whichWallpaper = params[0]; in onSave() 74 if (whichWallpaper == WallpaperManagerCompat.FLAG_SET_LOCK) { in onSave() 77 succeeded = clearWallpaper(a, whichWallpaper); in onSave() 106 private boolean clearWallpaper(WallpaperPickerActivity a, int whichWallpaper) { in clearWallpaper() argument 109 WallpaperManagerCompat.getInstance(a.getApplicationContext()).clear(whichWallpaper); in clearWallpaper()
|