Searched refs:InputStreamProvider (Results 1 – 8 of 8) sorted by relevance
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | InputStreamProvider.java | 29 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() {
|
D | CropAndSetWallpaperTask.java | 45 private final InputStreamProvider mStreamProvider; 54 public CropAndSetWallpaperTask(InputStreamProvider streamProvider, Context context, in CropAndSetWallpaperTask()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | UriWallpaperInfo.java | 17 import com.android.wallpaperpicker.common.InputStreamProvider; 61 InputStreamProvider.fromBytes(imageBytes), a, 0, true); in onSave() 84 InputStreamProvider isp = InputStreamProvider.fromUri(activity, mUri); in loadThumbnaleAsync()
|
D | FileWallpaperInfo.java | 16 import com.android.wallpaperpicker.common.InputStreamProvider; 51 final InputStreamProvider isp = InputStreamProvider.fromUri(a, Uri.fromFile(mFile)); in onSave()
|
D | DefaultWallpaperInfo.java | 23 import com.android.wallpaperpicker.common.InputStreamProvider; 186 InputStreamProvider streamProvider = InputStreamProvider.fromResource(res, resId); in getPreKKDefaultWallpaperInfo()
|
D | WallpaperTileInfo.java | 16 import com.android.wallpaperpicker.common.InputStreamProvider; 46 protected static Bitmap createThumbnail(InputStreamProvider streamProvider, Context context, in createThumbnail()
|
/packages/apps/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 38 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/ |
D | WallpaperCropActivity.java | 50 import com.android.wallpaperpicker.common.InputStreamProvider; 336 InputStreamProvider streamProvider = InputStreamProvider.fromResource(res, resId); in cropImageAndSetWallpaper() 422 InputStreamProvider.fromUri(this, uri), this, in cropImageAndSetWallpaper()
|