/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ThumbnailCacheTest.java | 74 Result result = mCache.getThumbnail(URI_1, USER_ID_0, MID_SIZE); in testMiss() 82 Result result = mCache.getThumbnail(URI_0, USER_ID_1, MID_SIZE); in testMiss_DifferentUser() 90 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testHit_Exact() 93 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Exact() 100 Result result = mCache.getThumbnail(URI_0, USER_ID_0, LARGE_SIZE); in testHit_Smaller() 103 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Smaller() 110 Result result = mCache.getThumbnail(URI_0, USER_ID_0, SMALL_SIZE); in testHit_Larger() 113 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Larger() 121 Result result = mCache.getThumbnail(URI_0, USER_ID_0, MID_SIZE); in testHit_Larger_HasBothSize() 124 assertSame(LARGE_BITMAP, result.getThumbnail()); in testHit_Larger_HasBothSize() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskThumbnailViewDeprecated.java | 228 mThumbnailData = (thumbnailData != null && thumbnailData.getThumbnail() != null) in setThumbnail() 256 if (mThumbnailData != null && mThumbnailData.getThumbnail() != null) { in refresh() 257 Bitmap bm = mThumbnailData.getThumbnail(); in refresh() 316 mThumbnailData.getThumbnail().getWidth(), in getScaledInsets() 317 mThumbnailData.getThumbnail().getHeight()); in getScaledInsets() 515 if (mThumbnailData == null || mThumbnailData.getThumbnail() == null) { in isThumbnailAspectRatioDifferentFromThumbnailData() 520 float thumbnailDataAspect = mThumbnailData.getThumbnail().getWidth() in isThumbnailAspectRatioDifferentFromThumbnailData() 521 / (float) mThumbnailData.getThumbnail().getHeight(); in isThumbnailAspectRatioDifferentFromThumbnailData() 572 mPreviewRect.set(0, 0, mThumbnailData.getThumbnail().getWidth(), in updateThumbnailMatrix() 573 mThumbnailData.getThumbnail().getHeight()); in updateThumbnailMatrix() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskThumbnailCache.java | 159 if (task.thumbnail != null && task.thumbnail.getThumbnail() != null in updateThumbnailInBackground() 195 if (cachedThumbnail != null && cachedThumbnail.getThumbnail() != null in updateThumbnailInBackground() 206 return thumbnailData.getThumbnail() != null ? thumbnailData in updateThumbnailInBackground() 216 if (newCachedThumbnail != null && newCachedThumbnail.getThumbnail() != null in updateThumbnailInBackground()
|
D | TaskOverlayFactory.java | 137 mApplicationContext, mTaskContainer.getThumbnailViewDeprecated()::getThumbnail); in TaskOverlay() 189 mImageApi.saveScreenshot(mTaskContainer.getThumbnailViewDeprecated().getThumbnail(), in saveScreenshot()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | BitmapManager.java | 138 public Bitmap getThumbnail(ContentResolver cr, long origId, int kind, in getThumbnail() method in BitmapManager 153 return Video.Thumbnails.getThumbnail(cr, origId, t.getId(), in getThumbnail() 156 return Images.Thumbnails.getThumbnail(cr, origId, t.getId(), in getThumbnail()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ImageCategory.java | 66 public Asset getThumbnail(Context context) { in getThumbnail() method in ImageCategory 100 if (getThumbnail(context) == null && mOverlayIconResId > 0) { in getOverlayIcon()
|
D | PlaceholderCategory.java | 44 public Asset getThumbnail(Context context) { in getThumbnail() method in PlaceholderCategory
|
D | Category.java | 175 public abstract Asset getThumbnail(Context context); in getThumbnail() method in Category
|
D | ThirdPartyAppCategory.java | 121 public Asset getThumbnail(Context unused) { in getThumbnail() method in ThirdPartyAppCategory
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 44 public static Bitmap getThumbnail(MtpDevice device, IngestObjectInfo info) { in getThumbnail() method in MtpBitmapFetch 45 byte[] imageBytes = device.getThumbnail(info.getObjectHandle()); in getThumbnail()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
D | MostRecentImageSaver.java | 72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); in close() 152 private ImageProxy getThumbnail(long timestamp) { in getThumbnail() method in MostRecentImageSaver
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
D | DataUriThumbnailDrawable.java | 35 thumbnail = exif.getThumbnail(); in getPreferredImageBytes()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpManager.java | 179 byte[] getThumbnail(int deviceId, int objectHandle) throws IOException { in getThumbnail() method in MtpManager 183 device.getThumbnail(objectHandle), in getThumbnail()
|
D | PipeManager.java | 105 stream.write(mManager.getThumbnail( in run()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailCache.java | 73 public Result getThumbnail(Uri uri, UserId userId, Point size) { in getThumbnail() method in ThumbnailCache 267 public @Nullable Bitmap getThumbnail() { in getThumbnail() method in ThumbnailCache.Result
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MtpClient.java | 418 public byte[] getThumbnail(String deviceName, int objectHandle) { in getThumbnail() method in MtpClient 423 return device.getThumbnail(objectHandle); in getThumbnail()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | IconHelper.java | 209 final Result result = mThumbnailCache.getThumbnail(uri, userId, mCurrentSize); in loadThumbnail() 212 final Bitmap cachedThumbnail = result.getThumbnail(); in loadThumbnail()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Thumbnail.java | 165 bitmap = Images.Thumbnails.getThumbnail(resolver, image.id, in getLastThumbnail() 169 bitmap = Video.Thumbnails.getThumbnail(resolver, video.id, in getLastThumbnail()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpThumbnailTileView.java | 70 return MtpBitmapFetch.getThumbnail(device, info); in fetchMtpImageDataFromDevice()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | VideoObject.java | 112 return BitmapManager.instance().getThumbnail(mContentResolver, in miniThumbBitmap()
|
D | Image.java | 156 bitmap = BitmapManager.instance().getThumbnail(mContentResolver, mId, in thumbBitmap()
|
D | BaseImage.java | 172 b = BitmapManager.instance().getThumbnail(mContentResolver, id, in miniThumbBitmap()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | FileImageRequest.java | 54 thumbnail = exif.getThumbnail(); in loadBitmapInternal()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/converter/category/ |
D | DefaultCategoryFactory.kt | 69 thumbAsset = getThumbnail(context), in <lambda>()
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 2654 static @Nullable Bitmap getThumbnail(@NonNull ContentResolver cr, @NonNull Uri uri, in getThumbnail() method in MediaStore.InternalThumbnails 3061 public static Bitmap getThumbnail(ContentResolver cr, long imageId, int kind, in getThumbnail() method in MediaStore.Images.Thumbnails 3065 return InternalThumbnails.getThumbnail(cr, uri, kind, options); in getThumbnail() 3107 public static Bitmap getThumbnail(ContentResolver cr, long imageId, long groupId, in getThumbnail() method in MediaStore.Images.Thumbnails 3109 return getThumbnail(cr, imageId, kind, options); in getThumbnail() 4330 public static Bitmap getThumbnail(ContentResolver cr, long videoId, int kind, in getThumbnail() method in MediaStore.Video.Thumbnails 4334 return InternalThumbnails.getThumbnail(cr, uri, kind, options); in getThumbnail() 4372 public static Bitmap getThumbnail(ContentResolver cr, long videoId, long groupId, in getThumbnail() method in MediaStore.Video.Thumbnails 4374 return getThumbnail(cr, videoId, kind, options); in getThumbnail()
|