Home
last modified time | relevance | path

Searched refs:thumb (Results 1 – 21 of 21) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DDefaultWallpaperInfo.java36 public DefaultWallpaperInfo(Drawable thumb) { in DefaultWallpaperInfo() argument
37 super(thumb); in DefaultWallpaperInfo()
144 Bitmap thumb = null; in getDefaultWallpaper() local
149 thumb = BitmapFactory.decodeFile(defaultThumbFile.getAbsolutePath()); in getDefaultWallpaper()
156 thumb = Bitmap.createBitmap( in getDefaultWallpaper()
158 Canvas c = new Canvas(thumb); in getDefaultWallpaper()
163 if (thumb != null) { in getDefaultWallpaper()
164 defaultWallpaperExists = saveDefaultWallpaperThumb(context, thumb); in getDefaultWallpaper()
168 return new DefaultWallpaperInfo(new BitmapDrawable(res, thumb)); in getDefaultWallpaper()
180 Bitmap thumb = null; in getPreKKDefaultWallpaperInfo() local
[all …]
DDrawableThumbWallpaperInfo.java19 DrawableThumbWallpaperInfo(Drawable thumb) { in DrawableThumbWallpaperInfo() argument
20 mThumb = thumb; in DrawableThumbWallpaperInfo()
30 public void setThumb(Drawable thumb) { in setThumb() argument
31 if (mView != null && thumb != null) { in setThumb()
32 thumb.setDither(true); in setThumb()
34 image.setImageDrawable(thumb); in setThumb()
DUriWallpaperInfo.java60 Bitmap thumb = createThumbnail( in onSave()
62 a.getSavedImages().writeImage(thumb, imageBytes); in onSave()
102 protected void onPostExecute(Bitmap thumb) { in loadThumbnaleAsync() argument
103 if (!isCancelled() && thumb != null) { in loadThumbnaleAsync()
104 setThumb(new BitmapDrawable(activity.getResources(), thumb)); in loadThumbnaleAsync()
DPickImageInfo.java63 Bitmap thumb = null; in getThumbnailOfLastPhoto() local
67 thumb = MediaStore.Images.Thumbnails.getThumbnail(context.getContentResolver(), in getThumbnailOfLastPhoto()
72 return thumb; in getThumbnailOfLastPhoto()
DResourceWallpaperInfo.java18 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) { in ResourceWallpaperInfo() argument
19 super(thumb); in ResourceWallpaperInfo()
DFileWallpaperInfo.java28 public FileWallpaperInfo(File target, Drawable thumb) { in FileWallpaperInfo() argument
29 super(thumb); in FileWallpaperInfo()
DLiveWallpaperInfo.java109 Drawable thumb = info.loadThumbnail(pm); in doInBackground() local
112 result.add(new LiveWallpaperInfo(thumb, info, launchIntent)); in doInBackground()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DSavedWallpaperImages.java46 public SavedWallpaperInfo(int dbId, File target, Drawable thumb) { in SavedWallpaperInfo() argument
47 super(target, thumb); in SavedWallpaperInfo()
87 Bitmap thumb = BitmapFactory.decodeFile(file.getAbsolutePath()); in loadThumbnailsAndImageIdList() local
88 if (thumb != null) { in loadThumbnailsAndImageIdList()
91 new BitmapDrawable(mContext.getResources(), thumb))); in loadThumbnailsAndImageIdList()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailLoader.java51 public static final BiConsumer<View, View> ANIM_FADE_IN = (mime, thumb) -> {
54 thumb.setAlpha(0f);
55 thumb.animate().alpha(alpha).start();
57 public static final BiConsumer<View, View> ANIM_NO_OP = (mime, thumb) -> {};
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DLiveWallpaperThumbAsset.java161 Drawable thumb = mInfo.loadThumbnail(mContext.getPackageManager()); in doInBackground() local
164 if (thumb != null && thumb instanceof BitmapDrawable) { in doInBackground()
165 return ((BitmapDrawable) thumb).getBitmap(); in doInBackground()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DActivityPicker.java393 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail() local
395 canvas.setBitmap(thumb); in createIconThumbnail()
408 icon = new BitmapDrawable(thumb); in createIconThumbnail()
413 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail() local
415 canvas.setBitmap(thumb); in createIconThumbnail()
423 icon = new BitmapDrawable(thumb); in createIconThumbnail()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java393 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail() local
395 canvas.setBitmap(thumb); in createIconThumbnail()
408 icon = new BitmapDrawable(thumb); in createIconThumbnail()
413 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail() local
415 canvas.setBitmap(thumb); in createIconThumbnail()
423 icon = new BitmapDrawable(thumb); in createIconThumbnail()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java189 Drawable thumb = info.loadThumbnail(packageManager); in doInBackground() local
190 if (thumb == null) { in doInBackground()
217 thumb = new BitmapDrawable(res, thumbnail); in doInBackground()
219 wallpaper.thumbnail = thumb; in doInBackground()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java708 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight, in makeMiniThumbBitmap()
710 Canvas tempCanvas = new Canvas(thumb); in makeMiniThumbBitmap()
717 placeImage(thumb, c, pdpaint, imageWidth, padding, imageHeight, in makeMiniThumbBitmap()
720 thumb.recycle(); in makeMiniThumbBitmap()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail(); in getThumbnailBitmap()
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); in getThumbnailBitmap()
1817 public boolean setCompressedThumbnail(byte[] thumb) { in setCompressedThumbnail() argument
1819 mData.setCompressedThumbnail(thumb); in setCompressedThumbnail()
1830 public boolean setCompressedThumbnail(Bitmap thumb) { in setCompressedThumbnail() argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail(); in getThumbnailBitmap()
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); in getThumbnailBitmap()
1817 public boolean setCompressedThumbnail(byte[] thumb) { in setCompressedThumbnail() argument
1819 mData.setCompressedThumbnail(thumb); in setCompressedThumbnail()
1830 public boolean setCompressedThumbnail(Bitmap thumb) { in setCompressedThumbnail() argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java1735 byte[] thumb = mData.getCompressedThumbnail(); in getThumbnailBitmap()
1736 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); in getThumbnailBitmap()
1796 public boolean setCompressedThumbnail(byte[] thumb) { in setCompressedThumbnail() argument
1798 mData.setCompressedThumbnail(thumb); in setCompressedThumbnail()
1809 public boolean setCompressedThumbnail(Bitmap thumb) { in setCompressedThumbnail() argument
1811 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java436 ImageView thumb = view.findViewById(R.id.shape_thumbnail); in bindThumbnailTile() local
456 thumb.setImageDrawable(mShape); in bindThumbnailTile()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz