Searched defs:thumb (Results 1 - 8 of 8) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
H A DDrawableThumbWallpaperInfo.java19 DrawableThumbWallpaperInfo(Drawable thumb) { argument
20 mThumb = thumb;
30 public void setThumb(Drawable thumb) { argument
31 if (mView != null && thumb != null) {
32 thumb.setDither(true);
34 image.setImageDrawable(thumb);
H A DFileWallpaperInfo.java28 public FileWallpaperInfo(File target, Drawable thumb) { argument
29 super(thumb);
H A DResourceWallpaperInfo.java18 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) { argument
19 super(thumb);
H A DDefaultWallpaperInfo.java36 public DefaultWallpaperInfo(Drawable thumb) { argument
37 super(thumb);
144 Bitmap thumb = null;
149 thumb = BitmapFactory.decodeFile(defaultThumbFile.getAbsolutePath());
156 thumb = Bitmap.createBitmap(
158 Canvas c = new Canvas(thumb);
163 if (thumb != null) {
164 defaultWallpaperExists = saveDefaultWallpaperThumb(context, thumb);
168 return new DefaultWallpaperInfo(new BitmapDrawable(res, thumb));
180 Bitmap thumb
[all...]
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DSavedWallpaperImages.java46 public SavedWallpaperInfo(int dbId, File target, Drawable thumb) { argument
47 super(target, thumb);
87 Bitmap thumb = BitmapFactory.decodeFile(file.getAbsolutePath());
88 if (thumb != null) {
91 new BitmapDrawable(mContext.getResources(), thumb)));
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java1735 byte[] thumb = mData.getCompressedThumbnail();
1736 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length);
1793 * @param thumb a byte array containing a jpeg compressed image.
1796 public boolean setCompressedThumbnail(byte[] thumb) { argument
1798 mData.setCompressedThumbnail(thumb);
1806 * @param thumb a bitmap to compress to a jpeg thumbnail.
1809 public boolean setCompressedThumbnail(Bitmap thumb) { argument
1811 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail();
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length);
1814 * @param thumb a byte array containing a jpeg compressed image.
1817 public boolean setCompressedThumbnail(byte[] thumb) { argument
1819 mData.setCompressedThumbnail(thumb);
1827 * @param thumb a bitmap to compress to a jpeg thumbnail.
1830 public boolean setCompressedThumbnail(Bitmap thumb) { argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail();
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length);
1814 * @param thumb a byte array containing a jpeg compressed image.
1817 public boolean setCompressedThumbnail(byte[] thumb) { argument
1819 mData.setCompressedThumbnail(thumb);
1827 * @param thumb a bitmap to compress to a jpeg thumbnail.
1830 public boolean setCompressedThumbnail(Bitmap thumb) { argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {

Completed in 230 milliseconds