Home
last modified time | relevance | path

Searched refs:whichWallpaper (Results 1 – 11 of 11) sorted by relevance

/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperManagerCompat.java51 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/
DWallpaperManagerCompatVN.java41 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()
DWallpaperManagerCompat.java68 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
DWallpaperManagerCompatV16.java45 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/
DWallpaperManagerCompatVN.java19 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()
DDialogUtils.java29 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()
DCropAndSetWallpaperTask.java71 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()
DWallpaperManagerCompatV16.java19 int whichWallpaper) throws IOException { in setStream() argument
24 public void clear(int whichWallpaper) throws IOException { in clear() argument
DWallpaperManagerCompat.java30 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/
DDefaultWallpaperPersister.java469 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/
DDefaultWallpaperInfo.java72 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()