Home
last modified time | relevance | path

Searched refs:getThumbnail (Results 1 – 25 of 42) 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()
DEmptyCategory.java44 public Asset getThumbnail(Context context) { in getThumbnail() method in EmptyCategory
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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskThumbnailView.java158 .setupActions((ViewGroup) getTaskView(), getThumbnail(), mActivity); in setThumbnail()
228 mOverviewScreenshotActionsPlugin.setupActions(getTaskView(), getThumbnail(), mActivity); in onPluginConnected()
451 public Bitmap getThumbnail() { in getThumbnail() method in TaskThumbnailView
DRecentsView.java375 taskView.getThumbnail().setThumbnail(task, thumbnailData); in onTaskThumbnailChanged()
385 taskView.getThumbnail().setThumbnail(taskView.getTask(), thumbnailData); in updateThumbnail()
1553 int targetSysUiFlags = tv.getThumbnail().getSysUiStatusNavFlags(); in createTaskLauncherAnimation()
1578 clipAnimationHelper.fromTaskThumbnailView(tv.getThumbnail(), this); in createTaskLauncherAnimation()
/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/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/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()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskViewUtils.java142 inOutHelper.fromTaskThumbnailView(v.getThumbnail(), (RecentsView) v.getParent(), in getRecentsWindowAnimator()

12