Home
last modified time | relevance | path

Searched refs:loadThumbnail (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/
DImagePreviewImageLoaderTest.kt69 mock<ContentResolver> { on { loadThumbnail(any(), any(), anyOrNull()) } doReturn bitmap } in <lambda>()
86 verify(contentResolver, times(1)).loadThumbnail(uriOne, imageSize, null) in prePopulate_cachesImagesUpToTheCacheSize()
87 verify(contentResolver, never()).loadThumbnail(uriTwo, imageSize, null) in prePopulate_cachesImagesUpToTheCacheSize()
90 verify(contentResolver, times(1)).loadThumbnail(uriOne, imageSize, null) in prePopulate_cachesImagesUpToTheCacheSize()
99 verify(contentResolver, times(1)).loadThumbnail(any(), any(), anyOrNull()) in invoke_returnCachedImageWhenCalledTwice()
108 verify(contentResolver, times(2)).loadThumbnail(any(), any(), anyOrNull()) in invoke_whenInstructed_doesNotCache()
128 verify(contentResolver, times(1)).loadThumbnail(any(), any(), anyOrNull()) in invoke_overlappedRequests_Deduplicate()
139 verify(contentResolver, times(2)).loadThumbnail(uriOne, imageSize, null) in invoke_oldRecordsEvictedFromTheCache()
140 verify(contentResolver, times(1)).loadThumbnail(uriTwo, imageSize, null) in invoke_oldRecordsEvictedFromTheCache()
146 whenever(contentResolver.loadThumbnail(any(), any(), anyOrNull())).thenReturn(null) in invoke_doNotCacheNulls()
[all …]
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java210 public abstract void loadThumbnail( in loadThumbnail() method in ContactPhotoManager
222 public final void loadThumbnail( in loadThumbnail() method in ContactPhotoManager
228 loadThumbnail(view, photoId, darkTheme, isCircular, defaultImageRequest, DEFAULT_AVATAR); in loadThumbnail()
251 loadThumbnail(badge, photoId, false /* darkTheme */, true /* isCircular */, request); in loadDialerThumbnailOrPhoto()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/
DWallpaperInteractor.kt115 suspend fun loadThumbnail( in loadThumbnail() method in com.android.wallpaper.picker.customization.domain.interactor.WallpaperInteractor
120 return repository.loadThumbnail( in loadThumbnail()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/
DWallpaperRepository.kt107 suspend fun loadThumbnail( in <lambda>() method in com.android.wallpaper.picker.customization.data.repository.WallpaperRepository
115 val thumbnail = client.loadThumbnail(wallpaperId, destination) in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DThumbnailLoader.kt39 contentResolver.loadThumbnail(uri, size, /* signal = */ null)
DImagePreviewImageLoader.kt156 contentResolver.loadThumbnail(uri, thumbnailSize, null) in <lambda>()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContactPhotoManager.java32 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, boolean isCircular, in loadThumbnail() method in MockContactPhotoManager
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java189 loadThumbnail(uri, userId, docAuthority, docLastModified, iconThumb, iconMime); in load()
207 private boolean loadThumbnail(Uri uri, UserId userId, String docAuthority, long docLastModified, in loadThumbnail() method in IconHelper
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClient.kt95 suspend fun loadThumbnail(wallpaperId: String, destination: WallpaperDestination): Bitmap? method
DWallpaperClientImpl.kt536 override suspend fun loadThumbnail( in <lambda>() method in com.android.wallpaper.picker.customization.data.content.WallpaperClientImpl
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionView.java68 ContactPhotoManager.getInstance(getContext()).loadThumbnail(photoView, in bindSuggestion()
DPickRawContactDialogFragment.java136 ContactPhotoManager.getInstance(mContext).loadThumbnail(holder.photo, in getView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DScreenPreviewViewModel.kt64 wallpaperInteractor.loadThumbnail( in wallpaperThumbnail()
DWallpaperQuickSwitchViewModel.kt96 interactor.loadThumbnail( in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DLiveWallpaperThumbAsset.java166 Drawable thumb = mInfo.loadThumbnail(mContext.getPackageManager()); in decodeRawDimensions()
308 return mInfo.loadThumbnail(mContext.getPackageManager()); in loadThumbnailFromInfo()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectEntryContactListAdapter.java175 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(), in bindPhoto()
DPostalAddressListAdapter.java172 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(), in bindPhoto()
DEmailAddressListAdapter.java179 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(), in bindPhoto()
DContactListAdapter.java257 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, in bindPhoto()
DPhoneNumberListAdapter.java545 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, in bindPhoto()
DContactEntryListAdapter.java725 getPhotoLoader().loadThumbnail(quickContact, photoId, mDarkTheme, mCircularPhotos, in bindQuickContact()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DFakeWallpaperClient.kt152 override suspend fun loadThumbnail( in <lambda>() method in com.android.wallpaper.testing.FakeWallpaperClient
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java463 public abstract void loadThumbnail(ImageView view, long photoId, boolean darkTheme, in loadThumbnail() method in ContactPhotoManager
471 public final void loadThumbnail(ImageView view, long photoId, boolean darkTheme, in loadThumbnail() method in ContactPhotoManager
473 loadThumbnail(view, photoId, darkTheme, isCircular, defaultImageRequest, DEFAULT_AVATAR); in loadThumbnail()
824 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, boolean isCircular, in loadThumbnail() method in ContactPhotoManagerImpl
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java189 Drawable thumb = info.loadThumbnail(packageManager); in doInBackground()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java418 ContactPhotoManager.getInstance(this).loadThumbnail(mContactPhoto, photoId, in setPhoto()

12