Home
last modified time | relevance | path

Searched refs:thumbnail (Results 1 – 25 of 36) sorted by relevance

12

/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java105 holder.thumbnail = (ImageView) convertView.findViewById(R.id.thumbnail); in getView()
112 if (holder.thumbnail != null) { in getView()
113 holder.thumbnail.setImageDrawable(wallpaperInfo.thumbnail); in getView()
118 if (holder.thumbnail == null) { in getView()
119 holder.title.setCompoundDrawablesWithIntrinsicBounds(null, wallpaperInfo.thumbnail, in getView()
128 public Drawable thumbnail; field in LiveWallpaperListAdapter.LiveWallpaperInfo
134 ImageView thumbnail; field in LiveWallpaperListAdapter.ViewHolder
196 Bitmap thumbnail = Bitmap.createBitmap(thumbWidth, thumbHeight, in doInBackground() local
200 canvas.setBitmap(thumbnail); in doInBackground()
217 thumb = new BitmapDrawable(res, thumbnail); in doInBackground()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DFileImageRequest.java50 byte[] thumbnail = null; in loadBitmapInternal()
54 thumbnail = exif.getThumbnail(); in loadBitmapInternal()
60 if (thumbnail != null) { in loadBitmapInternal()
65 BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length, options); in loadBitmapInternal()
88 return BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length, in loadBitmapInternal()
93 return bitmapPool.decodeByteArray(thumbnail, options, sampledWidth, in loadBitmapInternal()
/packages/apps/Gallery2/src/com/android/photos/drawables/
DDataUriThumbnailDrawable.java31 byte[] thumbnail = null; in getPreferredImageBytes()
35 thumbnail = exif.getThumbnail(); in getPreferredImageBytes()
38 return thumbnail; in getPreferredImageBytes()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); in close() local
73 if (thumbnail != null) { in close()
76 mThumbnails.remove(thumbnail.getTimestamp()); in close()
79 mSingleImageSaver.saveAndCloseImage(fullSize, Optional.fromNullable(thumbnail), in close()
DJpegImageBackendImageSaver.java75 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, in saveAndCloseImage() argument
79 if (thumbnail.isPresent()) { in saveAndCloseImage()
80 thumbnail.get().close(); in saveAndCloseImage()
DYuvImageBackendImageSaver.java74 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, in saveAndCloseImage() argument
78 if (thumbnail.isPresent()) { in saveAndCloseImage()
79 thumbnail.get().close(); in saveAndCloseImage()
DSingleImageSaver.java34 public void saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail, in saveAndCloseImage() argument
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DSavedWallpaperImages.java207 public void writeImage(Bitmap thumbnail, byte[] imageBytes) {
209 writeImage(thumbnail, new ByteArrayInputStream(imageBytes), null);
215 public void writeImage(Bitmap thumbnail, Uri uri, Float[] extras) {
217 writeImage(thumbnail, mContext.getContentResolver().openInputStream(uri), extras);
223 private void writeImage(Bitmap thumbnail, InputStream in, Float[] extras) throws IOException {
238 thumbnail.compress(Bitmap.CompressFormat.JPEG, 95, thumbFileStream);
DWallpaperPickerActivity.java856 FrameLayout thumbnail = (FrameLayout) adapter.getView(i, null, parent);
857 parent.addView(thumbnail, i);
859 thumbnail.setTag(info);
860 info.setView(thumbnail);
862 addLongPressHandler(thumbnail);
864 thumbnail.setOnClickListener(mThumbnailOnClickListener);
959 FrameLayout thumbnail = (FrameLayout) mWallpapersView.getChildAt(indexOfExistingTile);
960 Object tag = thumbnail.getTag();
962 existingImageThumbnail = thumbnail;
1089 File thumbnail = new File(systemDir, name + "_small" + extension);
[all …]
DLiveWallpaperListAdapter.java115 public LiveWallpaperTile(Drawable thumbnail, WallpaperInfo info, Intent intent) { in LiveWallpaperTile() argument
116 mThumbnail = thumbnail; in LiveWallpaperTile()
/packages/apps/Email/provider_src/com/android/email/provider/
DAttachmentProvider.java198 Bitmap thumbnail = createThumbnail(type, in); in openFile() local
199 if (thumbnail == null) { in openFile()
202 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true); in openFile()
204 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out); in openFile()
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java150 Thumbnail thumbnail = createThumbnail(uri, bitmap, 0); in loadFrom() local
151 if (thumbnail != null) thumbnail.setFromFile(true); in loadFrom()
152 return thumbnail; in loadFrom()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaThumbRequest.java108 Uri updateDatabase(Bitmap thumbnail) {
123 values.put(Images.Thumbnails.WIDTH, thumbnail.getWidth());
124 values.put(Images.Thumbnails.HEIGHT, thumbnail.getHeight());
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifData.java69 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
70 mThumbnail = thumbnail; in setCompressedThumbnail()
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java214 public void notifySessionThumbnailAvailable(final Bitmap thumbnail) { in notifySessionThumbnailAvailable() argument
220 listener.onSessionThumbnailUpdate(thumbnail); in notifySessionThumbnailAvailable()
DSessionNotifier.java54 public void notifySessionThumbnailAvailable(final Bitmap thumbnail); in notifySessionThumbnailAvailable() argument
/packages/apps/Camera2/src/com/android/camera/exif/
DExifData.java68 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
69 mThumbnail = thumbnail; in setCompressedThumbnail()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifData.java68 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
69 mThumbnail = thumbnail; in setCompressedThumbnail()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifData.java68 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
69 mThumbnail = thumbnail; in setCompressedThumbnail()
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordedProgram.java332 public Builder setThumbnail(Uri thumbnail) { in setThumbnail() argument
333 mThumbnail = thumbnail; in setThumbnail()
490 Uri posterArt, Uri thumbnail, boolean searchable, Uri dataUri, long dataBytes, in RecordedProgram() argument
514 mThumbnail = thumbnail; in RecordedProgram()
/packages/apps/Camera2/src/com/android/camera/data/
DPhotoItem.java210 .thumbnail(renderTinySize(uri)); in renderScreenSize()
216 .thumbnail(renderScreenSize(uri)); in renderFullSize()
DVideoItem.java196 .thumbnail(mGlideManager.loadMediaStoreThumb(mData.getUri(), in renderThumbnail()
/packages/apps/Gallery2/src/com/android/photos/adapters/
DPhotoThumbnailAdapter.java49 ImageView iv = (ImageView) view.findViewById(R.id.thumbnail); in bindView()
/packages/apps/Camera2/src/com/android/camera/app/
DAppController.java314 public void startPostCaptureAnimation(Bitmap thumbnail); in startPostCaptureAnimation() argument
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java121 mThumbnail = (ImageView) sharePopup.findViewById(R.id.thumbnail); in SharePopup()

12