Home
last modified time | relevance | path

Searched refs:InputStreamProvider (Results 1 – 8 of 8) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java29 public abstract class InputStreamProvider { class
236 public static InputStreamProvider fromUri(final Context context, final Uri uri) { in fromUri()
237 return new InputStreamProvider() { in fromUri()
245 public static InputStreamProvider fromResource(final Resources resources, final int resId) {
246 return new InputStreamProvider() {
254 public static InputStreamProvider fromBytes(final byte[] bytes) {
255 return new InputStreamProvider() {
DCropAndSetWallpaperTask.java45 private final InputStreamProvider mStreamProvider;
54 public CropAndSetWallpaperTask(InputStreamProvider streamProvider, Context context, in CropAndSetWallpaperTask()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DUriWallpaperInfo.java17 import com.android.wallpaperpicker.common.InputStreamProvider;
61 InputStreamProvider.fromBytes(imageBytes), a, 0, true); in onSave()
84 InputStreamProvider isp = InputStreamProvider.fromUri(activity, mUri); in loadThumbnaleAsync()
DFileWallpaperInfo.java16 import com.android.wallpaperpicker.common.InputStreamProvider;
51 final InputStreamProvider isp = InputStreamProvider.fromUri(a, Uri.fromFile(mFile)); in onSave()
DDefaultWallpaperInfo.java23 import com.android.wallpaperpicker.common.InputStreamProvider;
186 InputStreamProvider streamProvider = InputStreamProvider.fromResource(res, resId); in getPreKKDefaultWallpaperInfo()
DWallpaperTileInfo.java16 import com.android.wallpaperpicker.common.InputStreamProvider;
46 protected static Bitmap createThumbnail(InputStreamProvider streamProvider, Context context, in createThumbnail()
/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java38 import com.android.wallpaperpicker.common.InputStreamProvider;
224 private final InputStreamProvider mStreamProvider;
228 this(InputStreamProvider.fromUri(context, uri), context); in InputStreamSource()
232 this(InputStreamProvider.fromResource(res, resId), context); in InputStreamSource()
235 public InputStreamSource(InputStreamProvider streamProvider, Context context) { in InputStreamSource()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java50 import com.android.wallpaperpicker.common.InputStreamProvider;
336 InputStreamProvider streamProvider = InputStreamProvider.fromResource(res, resId); in cropImageAndSetWallpaper()
422 InputStreamProvider.fromUri(this, uri), this, in cropImageAndSetWallpaper()