/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | HeaderView.java | 49 private ImageView mThumbnail; field in HeaderView 66 mThumbnail = (ImageView) mHeader.findViewById(R.id.inspector_thumbnail); in HeaderView() 90 final ThumbnailLoader task = new ThumbnailLoader(doc.derivedUri, doc.userId, mThumbnail, in loadHeaderImage() 102 mThumbnail.setScaleType(ScaleType.CENTER_CROP); in showImage() 103 mThumbnail.setImageBitmap(thumbnail); in showImage() 106 mThumbnail.setScaleType(ScaleType.FIT_CENTER); in showImage() 107 mThumbnail.setImageDrawable(mimeIcon); in showImage() 109 mThumbnail.animate().alpha(1.0f).start(); in showImage()
|
/packages/apps/ThemePicker/src/com/android/customization/model/clock/ |
D | Clockface.java | 32 private final Asset mThumbnail; field in Clockface 38 mThumbnail = thumbnail; in Clockface() 49 mThumbnail.loadDrawableWithTransition(thumbView.getContext(), thumbView, 50, null, in bindThumbnailTile() 78 private Asset mThumbnail; field in Clockface.Builder 81 return new Clockface(mTitle, mId, mPreview, mThumbnail); in build() 100 mThumbnail = thumbnail; in setThumbnail()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailCache.java | 217 private @Nullable Bitmap mThumbnail; field in ThumbnailCache.Result 226 return obtain(status, entry.mThumbnail, size, entry.mLastModified); in obtain() 237 instance.mThumbnail = thumbnail; in obtain() 250 mThumbnail = null; in recycle() 268 return mThumbnail; in getThumbnail() 289 private final Bitmap mThumbnail; field in ThumbnailCache.Entry 293 mThumbnail = thumbnail; in Entry() 306 return value.mThumbnail.getByteCount(); in sizeOf()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifData.java | 47 private byte[] mThumbnail; field in ExifData 62 return mThumbnail; in getCompressedThumbnail() 69 mThumbnail = thumbnail; in setCompressedThumbnail() 76 return mThumbnail != null; in hasCompressedThumbnail() 189 mThumbnail = null; in clearThumbnailAndStrips() 324 !Arrays.equals(data.mThumbnail, mThumbnail)) { in equals()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifData.java | 48 private byte[] mThumbnail; field in ExifData 63 return mThumbnail; in getCompressedThumbnail() 70 mThumbnail = thumbnail; in setCompressedThumbnail() 77 return mThumbnail != null; in hasCompressedThumbnail() 190 mThumbnail = null; in clearThumbnailAndStrips() 329 !Arrays.equals(data.mThumbnail, mThumbnail)) { in equals()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifData.java | 47 private byte[] mThumbnail; field in ExifData 62 return mThumbnail; in getCompressedThumbnail() 69 mThumbnail = thumbnail; in setCompressedThumbnail() 76 return mThumbnail != null; in hasCompressedThumbnail() 189 mThumbnail = null; in clearThumbnailAndStrips() 328 !Arrays.equals(data.mThumbnail, mThumbnail)) { in equals()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 148 private Thumbnail mThumbnail; field in PanoramaActivity 810 if (mThumbnail == null) { in initThumbnailButton() 811 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton() 819 if ((mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), contentResolver))) { in updateThumbnailButton() 820 mThumbnail = Thumbnail.getLastThumbnail(contentResolver); in updateThumbnailButton() 822 if (mThumbnail != null) { in updateThumbnailButton() 823 mThumbnailView.setBitmap(mThumbnail.getBitmap()); in updateThumbnailButton() 830 if (mThumbnail != null && !mThumbnail.fromFile()) { in saveThumbnailToFile() 831 mThumbnail.saveTo(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in saveThumbnailToFile() 869 mThumbnail = Thumbnail.createThumbnail( in saveHighResMosaic() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | SharePopup.java | 59 private ImageView mThumbnail; field in SharePopup 121 mThumbnail = (ImageView) sharePopup.findViewById(R.id.thumbnail); in SharePopup() 122 mThumbnail.setImageBitmap(bitmap); in SharePopup() 184 mThumbnail.setScaleType(ImageView.ScaleType.CENTER_CROP); in setOrientation() 186 mThumbnail.setScaleType(ImageView.ScaleType.FIT_CENTER); in setOrientation() 189 LayoutParams params = mThumbnail.getLayoutParams(); in setOrientation() 197 mThumbnail.setLayoutParams(params); in setOrientation()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | LiveWallpaperInfo.java | 35 private Drawable mThumbnail; field in LiveWallpaperInfo 39 mThumbnail = thumbnail; in LiveWallpaperInfo() 58 if (mThumbnail != null) { in createView() 59 image.setImageDrawable(mThumbnail); in createView()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | VideoCamera.java | 165 private Thumbnail mThumbnail; field in VideoCamera 611 if (!mMediaRecorderRecording && mThumbnail != null) { in onThumbnailClicked() 1001 if (!mIsVideoCaptureIntent && mThumbnail != null && !mThumbnail.fromFile()) { in onPause() 1002 mThumbnail.saveTo(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in onPause() 1639 mThumbnail = new Thumbnail(mCurrentVideoUri, videoFrame, 0); in getThumbnail() 1640 mThumbnailView.setBitmap(mThumbnail.getBitmap()); in getThumbnail() 1760 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton() 1764 if (mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), mContentResolver)) { in updateThumbnailButton() 1765 mThumbnail = Thumbnail.getLastThumbnail(mContentResolver); in updateThumbnailButton() 1767 if (mThumbnail != null) { in updateThumbnailButton() [all …]
|
D | Camera.java | 160 private Thumbnail mThumbnail; field in Camera 418 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton() 424 if ((mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), mContentResolver)) in updateThumbnailButton() 426 mThumbnail = Thumbnail.getLastThumbnail(mContentResolver); in updateThumbnailButton() 428 if (mThumbnail != null) { in updateThumbnailButton() 429 mThumbnailView.setBitmap(mThumbnail.getBitmap()); in updateThumbnailButton() 983 mThumbnail = t; in updateThumbnail() 984 mThumbnailView.setBitmap(mThumbnail.getBitmap()); in updateThumbnail() 1361 if (isCameraIdle() && mThumbnail != null) { in onThumbnailClicked() 1613 if (!mIsImageCaptureIntent && mThumbnail != null && !mThumbnail.fromFile()) { in onPause() [all …]
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | PlaybackFragment.java | 136 private final ImageView mThumbnail; field in PlaybackFragment.QueueViewHolder 151 mThumbnail = itemView.findViewById(R.id.thumbnail); in QueueViewHolder() 161 mThumbnailBinder = new ImageViewBinder<>(maxArtSize, mThumbnail); in QueueViewHolder()
|