/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/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/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskMenuView.java | 150 mTaskView.getThumbnail(), overscrollShift)); 152 adjustedY, mTaskView.getThumbnail(), overscrollShift)); 249 params.width = orientationHandler.getTaskMenuWidth(taskView.getThumbnail()) - (2 * padding); 287 mTaskView.getThumbnail(), DIM_ALPHA,
|
D | TaskThumbnailView.java | 178 mOverviewScreenshotActionsPlugin.setupActions(getTaskView(), getThumbnail(), mActivity); in refresh() 276 mOverviewScreenshotActionsPlugin.setupActions(getTaskView(), getThumbnail(), mActivity); in onPluginConnected() 411 public Bitmap getThumbnail() { in getThumbnail() method in TaskThumbnailView
|
D | TaskView.java | 531 public TaskThumbnailView getThumbnail() { in getThumbnail() method in TaskView 803 getThumbnail().getTaskOverlay().updateOrientationState(orientationState); in setOrientationState() 1315 getThumbnail().getTaskOverlay().setFullscreenProgress(progress); in setFullscreenProgress() 1321 TaskThumbnailView thumbnail = getThumbnail(); in setFullscreenProgress()
|
/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 | DesktopCustomCategory.java | 37 public Asset getThumbnail(Context context) { in getThumbnail() method in DesktopCustomCategory
|
D | Category.java | 136 public abstract Asset getThumbnail(Context context); in getThumbnail() method in Category
|
/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/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskShortcutFactory.java | 132 mThumbnailView = taskView.getThumbnail(); in MultiWindowSystemShortcut() 331 TaskShortcutFactory SCREENSHOT = (activity, tv) -> tv.getThumbnail().getTaskOverlay() 336 return tv.getThumbnail().getTaskOverlay().getModalStateSystemShortcut(tv.getItemInfo());
|
D | TaskOverlayFactory.java | 161 mApplicationContext, mThumbnailView::getThumbnail); in TaskOverlay() 208 mImageApi.saveScreenshot(mThumbnailView.getThumbnail(), in saveScreenshot()
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 2125 static @Nullable Bitmap getThumbnail(@NonNull ContentResolver cr, @NonNull Uri uri, in getThumbnail() method in MediaStore.InternalThumbnails 2532 public static Bitmap getThumbnail(ContentResolver cr, long imageId, int kind, in getThumbnail() method in MediaStore.Images.Thumbnails 2536 return InternalThumbnails.getThumbnail(cr, uri, kind, options); in getThumbnail() 2578 public static Bitmap getThumbnail(ContentResolver cr, long imageId, long groupId, in getThumbnail() method in MediaStore.Images.Thumbnails 2580 return getThumbnail(cr, imageId, kind, options); in getThumbnail() 3851 public static Bitmap getThumbnail(ContentResolver cr, long videoId, int kind, in getThumbnail() method in MediaStore.Video.Thumbnails 3855 return InternalThumbnails.getThumbnail(cr, uri, kind, options); in getThumbnail() 3893 public static Bitmap getThumbnail(ContentResolver cr, long videoId, long groupId, in getThumbnail() method in MediaStore.Video.Thumbnails 3895 return getThumbnail(cr, videoId, kind, options); in getThumbnail()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | IconHelper.java | 203 final Result result = mThumbnailCache.getThumbnail(uri, userId, mCurrentSize); in loadThumbnail() 206 final Bitmap cachedThumbnail = result.getThumbnail(); in loadThumbnail()
|
/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/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/ |
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/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/photos/drawables/ |
D | DataUriThumbnailDrawable.java | 35 thumbnail = exif.getThumbnail(); in getPreferredImageBytes()
|
/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()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | FileImageRequest.java | 54 thumbnail = exif.getThumbnail(); in loadBitmapInternal()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | PickImageInfo.java | 67 thumb = MediaStore.Images.Thumbnails.getThumbnail(context.getContentResolver(), in getThumbnailOfLastPhoto()
|