Home
last modified time | relevance | path

Searched refs:getThumbnail (Results 1 – 25 of 50) sorted by relevance

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DThumbnailCacheTest.java74 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/
DBitmapManager.java138 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/
DTaskMenuView.java150 mTaskView.getThumbnail(), overscrollShift));
152 adjustedY, mTaskView.getThumbnail(), overscrollShift));
249 params.width = orientationHandler.getTaskMenuWidth(taskView.getThumbnail()) - (2 * padding);
287 mTaskView.getThumbnail(), DIM_ALPHA,
DTaskThumbnailView.java178 mOverviewScreenshotActionsPlugin.setupActions(getTaskView(), getThumbnail(), mActivity); in refresh()
276 mOverviewScreenshotActionsPlugin.setupActions(getTaskView(), getThumbnail(), mActivity); in onPluginConnected()
411 public Bitmap getThumbnail() { in getThumbnail() method in TaskThumbnailView
DTaskView.java531 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/
DImageCategory.java66 public Asset getThumbnail(Context context) { in getThumbnail() method in ImageCategory
100 if (getThumbnail(context) == null && mOverlayIconResId > 0) { in getOverlayIcon()
DPlaceholderCategory.java44 public Asset getThumbnail(Context context) { in getThumbnail() method in PlaceholderCategory
DDesktopCustomCategory.java37 public Asset getThumbnail(Context context) { in getThumbnail() method in DesktopCustomCategory
DCategory.java136 public abstract Asset getThumbnail(Context context); in getThumbnail() method in Category
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java44 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/
DMostRecentImageSaver.java72 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/
DTaskShortcutFactory.java132 mThumbnailView = taskView.getThumbnail(); in MultiWindowSystemShortcut()
331 TaskShortcutFactory SCREENSHOT = (activity, tv) -> tv.getThumbnail().getTaskOverlay()
336 return tv.getThumbnail().getTaskOverlay().getModalStateSystemShortcut(tv.getItemInfo());
DTaskOverlayFactory.java161 mApplicationContext, mThumbnailView::getThumbnail); in TaskOverlay()
208 mImageApi.saveScreenshot(mThumbnailView.getThumbnail(), in saveScreenshot()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java2125 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/
DIconHelper.java203 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/
DMtpManager.java179 byte[] getThumbnail(int deviceId, int objectHandle) throws IOException { in getThumbnail() method in MtpManager
183 device.getThumbnail(objectHandle), in getThumbnail()
DPipeManager.java105 stream.write(mManager.getThumbnail( in run()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java418 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/
DThumbnailCache.java73 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/
DThumbnail.java165 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/
DDataUriThumbnailDrawable.java35 thumbnail = exif.getThumbnail(); in getPreferredImageBytes()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpThumbnailTileView.java70 return MtpBitmapFetch.getThumbnail(device, info); in fetchMtpImageDataFromDevice()
/packages/apps/Gallery/src/com/android/camera/gallery/
DVideoObject.java112 return BitmapManager.instance().getThumbnail(mContentResolver, in miniThumbBitmap()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DFileImageRequest.java54 thumbnail = exif.getThumbnail(); in loadBitmapInternal()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DPickImageInfo.java67 thumb = MediaStore.Images.Thumbnails.getThumbnail(context.getContentResolver(), in getThumbnailOfLastPhoto()

12