Home
last modified time | relevance | path

Searched refs:toBitmap (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/deviceinfo/regulatory/
DRegulatoryInfoTest.kt23 import androidx.core.graphics.drawable.toBitmap
118 val expected = context.getDrawable(resId)!!.toBitmap() in assertDrawableSameAs()
119 assertThat(drawable!!.toBitmap().sameAs(expected)).isTrue() in assertDrawableSameAs()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/
DGetContributorAppInfoUseCaseTest.kt25 import androidx.core.graphics.drawable.toBitmap in <lambda>()
78 AppCompatResources.getDrawable(context, R.drawable.health_connect_logo)!!.toBitmap() in <lambda>()
107 AppCompatResources.getDrawable(context, R.drawable.health_connect_logo)!!.toBitmap() in <lambda>()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/
DCoverArtTest.java84 private Bitmap toBitmap(byte[] imageBytes) { in toBitmap() method in CoverArtTest
192 Bitmap image = toBitmap(imageBytes); in testGetThumbnailImage()
234 Bitmap image = toBitmap(imageBytes); in testGetImageWithThumbnailDescriptor()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/holder/
DProgressAppCardViewHolder.kt27 import androidx.core.graphics.drawable.toBitmap in <lambda>()
95 } ?: packageManager?.getApplicationIcon(appCardContainer.appId.packageName)?.toBitmap()?.let { in <lambda>()
DImageAppCardViewHolder.kt26 import androidx.core.graphics.drawable.toBitmap in <lambda>()
92 } ?: packageManager?.getApplicationIcon(appCardContainer.appId.packageName)?.toBitmap()?.let { in <lambda>()
/packages/modules/Uwb/generic_ranging/src/com/android/ranging/generic/
DRangingTechnology.java54 public static byte toBitmap(List<RangingTechnology> technologies) { in toBitmap() method in RangingTechnology
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/user/
DUserMonitor.kt32 import androidx.core.graphics.drawable.toBitmap in <lambda>()
382 Pair(getUserBadge().toBitmap().asImageBitmap(), getProfileLabel()) in <lambda>()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialActivity.java26 import static com.android.systemui.biometrics.Utils.toBitmap;
223 final Bitmap iconBitmap = toBitmap(mContext.getDrawable(iconResId)); in onCreate()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/bubbles/animation/
DBubbleBarViewAnimatorTest.kt27 import androidx.core.graphics.drawable.toBitmap
389 val bitmap = ColorDrawable(Color.WHITE).toBitmap(width = 20, height = 20) in setUpBubbleBar()