Searched refs:toBitmap (Results 1 – 9 of 9) sorted by relevance
23 import androidx.core.graphics.drawable.toBitmap118 val expected = context.getDrawable(resId)!!.toBitmap() in assertDrawableSameAs()119 assertThat(drawable!!.toBitmap().sameAs(expected)).isTrue() in assertDrawableSameAs()
25 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>()
84 private Bitmap toBitmap(byte[] imageBytes) { in toBitmap() method in CoverArtTest192 Bitmap image = toBitmap(imageBytes); in testGetThumbnailImage()234 Bitmap image = toBitmap(imageBytes); in testGetImageWithThumbnailDescriptor()
27 import androidx.core.graphics.drawable.toBitmap in <lambda>()95 } ?: packageManager?.getApplicationIcon(appCardContainer.appId.packageName)?.toBitmap()?.let { in <lambda>()
26 import androidx.core.graphics.drawable.toBitmap in <lambda>()92 } ?: packageManager?.getApplicationIcon(appCardContainer.appId.packageName)?.toBitmap()?.let { in <lambda>()
54 public static byte toBitmap(List<RangingTechnology> technologies) { in toBitmap() method in RangingTechnology
32 import androidx.core.graphics.drawable.toBitmap in <lambda>()382 Pair(getUserBadge().toBitmap().asImageBitmap(), getProfileLabel()) in <lambda>()
26 import static com.android.systemui.biometrics.Utils.toBitmap;223 final Bitmap iconBitmap = toBitmap(mContext.getDrawable(iconResId)); in onCreate()
27 import androidx.core.graphics.drawable.toBitmap389 val bitmap = ColorDrawable(Color.WHITE).toBitmap(width = 20, height = 20) in setUpBubbleBar()