Home
last modified time | relevance | path

Searched refs:imageLoader (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/
DImageLoaderTest.kt38 private val imageLoader = ImageLoader(context, testDispatcher) constant in com.android.systemui.graphics.ImageLoaderTest
63 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DBigPictureIconManager.kt65 private val imageLoader: ImageLoader, in <lambda>() constant in com.android.systemui.statusbar.notification.row.BigPictureIconManager
147 return imageLoader.loadDrawableSync(icon, context, maxWidth, maxHeight)?.let { drawable -> in <lambda>()
173 return imageLoader in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DBigPictureIconManagerTest.kt59 private val imageLoader: ImageLoader = ImageLoader(context, testDispatcher) constant in com.android.systemui.statusbar.notification.row.BigPictureIconManagerTest
90 imageLoader, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java182 ImageLoader imageLoader = new ImageLoader(getContentResolver()); in onCreate() local
183 mCacheLoadFuture = imageLoader.load(mSavedImagePath); in onCreate()