Searched refs:imageLoader (Results 1 – 4 of 4) sorted by relevance
38 private val imageLoader = ImageLoader(context, testDispatcher) constant63 testScope.runTest { assertThat(imageLoader.loadDrawable(ImageLoader.Res(-1))).isNull() } in invalidResource_drawable_returnsNull()67 testScope.runTest { assertThat(imageLoader.loadBitmap(ImageLoader.Res(-1))).isNull() } in invalidResource_bitmap_returnsNull()72 assertThat(imageLoader.loadBitmap(ImageLoader.Uri("this.is/bogus"))).isNull() in invalidUri_returnsNull()78 assertThat(imageLoader.loadBitmap(ImageLoader.File("this is broken!"))).isNull() in invalidFile_returnsNull()84 assertThat(imageLoader.loadDrawable(Icon.createWithFilePath("this is broken"))).isNull() in invalidIcon_loadDrawable_returnsNull()90 assertThat(imageLoader.loadSize(Icon.createWithFilePath("this is broken"), context)) in invalidIcon_loadSize_returnsNull()98 imageLoader.loadDrawable( in invalidIS_returnsNull()116 imageLoader.loadDrawable( in validBitmapResource_loadDrawable_returnsBitmapDrawable()134 imageLoader.loadBitmap(ImageLoader.Res(R.drawable.dessert_zombiegingerbread)) in validBitmapResource_loadBitmap_returnsBitmapDrawable()[all …]
65 private val imageLoader: ImageLoader, in <lambda>() constant in com.android.systemui.statusbar.notification.row.BigPictureIconManager147 return imageLoader.loadDrawableSync(icon, context, maxWidth, maxHeight)?.let { drawable -> in <lambda>()173 return imageLoader in <lambda>()
59 private val imageLoader: ImageLoader = ImageLoader(context, testDispatcher) constant in com.android.systemui.statusbar.notification.row.BigPictureIconManagerTest90 imageLoader, in setUp()
182 ImageLoader imageLoader = new ImageLoader(getContentResolver()); in onCreate() local183 mCacheLoadFuture = imageLoader.load(mSavedImagePath); in onCreate()