Home
last modified time | relevance | path

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

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DThumbnailCacheTest.java70 Result result = mCache.getThumbnail(URI_1, MID_SIZE); in testMiss()
79 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Exact()
82 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Exact()
89 Result result = mCache.getThumbnail(URI_0, LARGE_SIZE); in testHit_Smaller()
92 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Smaller()
99 Result result = mCache.getThumbnail(URI_0, SMALL_SIZE); in testHit_Larger()
102 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Larger()
110 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Larger_HasBothSize()
113 assertSame(LARGE_BITMAP, result.getThumbnail()); in testHit_Larger_HasBothSize()
124 Result result = mCache.getThumbnail(URI_0, MID_SIZE); in testHit_Exact_MultiplePut()
[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/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()
DDesktopCustomCategory.java37 public Asset getThumbnail(Context context) { in getThumbnail() method in DesktopCustomCategory
DCategory.java115 public abstract Asset getThumbnail(Context context); in getThumbnail() method in Category
DWallpaperCategory.java78 public Asset getThumbnail(Context context) { in getThumbnail() method in WallpaperCategory
DThirdPartyAppCategory.java121 public Asset getThumbnail(Context unused) { in getThumbnail() method in ThirdPartyAppCategory
DLegacyPartnerWallpaperInfo.java126 public Drawable getThumbnail(Context context) { in getThumbnail() method in LegacyPartnerWallpaperInfo
/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/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java188 final Result result = mThumbnailCache.getThumbnail(uri, mCurrentSize); in loadThumbnail()
191 final Bitmap cachedThumbnail = result.getThumbnail(); in loadThumbnail()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java70 public Result getThumbnail(Uri uri, Point size) { in getThumbnail() method in ThumbnailCache
263 public @Nullable Bitmap getThumbnail() { in getThumbnail() method in ThumbnailCache.Result
/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/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/Messaging/src/com/android/messaging/datamodel/media/
DVideoThumbnailRequest.java64 bitmap = Thumbnails.getThumbnail(cr, mediaId, Thumbnails.MICRO_KIND, null); in getBitmapForResource()
DFileImageRequest.java54 thumbnail = exif.getThumbnail(); in loadBitmapInternal()
/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()
DImage.java156 bitmap = BitmapManager.instance().getThumbnail(mContentResolver, mId, in thumbBitmap()
DBaseImage.java172 b = BitmapManager.instance().getThumbnail(mContentResolver, id, in miniThumbBitmap()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DPickImageInfo.java67 thumb = MediaStore.Images.Thumbnails.getThumbnail(context.getContentResolver(), in getThumbnailOfLastPhoto()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java372 taskView.getThumbnail().setThumbnail(task, thumbnailData); in onTaskThumbnailChanged()
382 taskView.getThumbnail().setThumbnail(taskView.getTask(), thumbnailData); in updateThumbnail()
1499 int targetSysUiFlags = tv.getThumbnail().getSysUiStatusNavFlags(); in createTaskLauncherAnimation()
1524 clipAnimationHelper.fromTaskThumbnailView(tv.getThumbnail(), this); in createTaskLauncherAnimation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DQuickSwitchTouchController.java145 ? mTaskToLaunch.getThumbnail().getSysUiStatusNavFlags() in updateFullscreenProgress()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskViewUtils.java142 inOutHelper.fromTaskThumbnailView(v.getThumbnail(), (RecentsView) v.getParent(), in getRecentsWindowAnimator()

12