Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 22 of 22) sorted by relevance

/core/core-ktx/src/androidTest/java/androidx/core/graphics/drawable/
DDrawableTest.kt40 val bitmap = drawable.toBitmap() in bitmapDrawableNoSizeNoConfig() constant
52 val bitmap = drawable.toBitmap(config = Config.ARGB_8888) in bitmapDrawableNoSizeRetainedConfig() constant
64 val bitmap = drawable.toBitmap(config = Config.ARGB_8888) in bitmapDrawableNoSizeDifferentConfig() constant
76 val bitmap = drawable.toBitmap(20, 20) in bitmapDrawableDifferentSizeNoConfig() constant
88 val bitmap = drawable.toBitmap(20, 20, Config.ARGB_8888) in bitmapDrawableDifferentSizeDifferentConfig() constant
104 val bitmap = drawable.toBitmap() in drawableNoConfig() constant
115 val bitmap = drawable.toBitmapOrNull() in drawableOrNullEmptyBitmap() constant
123 val bitmap = drawable.toBitmap() in drawableEmptyBitmapThrowsIAE() constant
136 val bitmap = drawable.toBitmap(config = Config.RGB_565) in drawableConfig() constant
152 val bitmap = drawable.toBitmap(20, 20) in drawableSize() constant
[all …]
DIconTest.kt43 val bitmap = Bitmap.createBitmap(edge, edge, ARGB_8888).apply { eraseColor(Color.RED) } in fromBitmapAdaptive() constant
56 val bitmap = createBitmap(1, 1).apply { eraseColor(Color.RED) } in fromBitmap() constant
93 val bitmap = createBitmap(drawable.intrinsicWidth, drawable.intrinsicHeight) in toIntrinsicBitmap() constant
/core/core-ktx/src/androidTest/java/androidx/core/graphics/
DBitmapTest.kt34 val bitmap = createBitmap(7, 9) in create() constant
42 val bitmap = createBitmap(7, 9, config = Bitmap.Config.RGB_565) in createWithConfig() constant
50 val bitmap = createBitmap(7, 9, colorSpace = colorSpace) in createWithColorSpace() constant
/core/core/src/androidTest/java/androidx/core/graphics/drawable/
DIconCompatTest.java67 private static void verifyClippedCircle(Bitmap bitmap, int fillColor, int size) { in verifyClippedCircle()
82 Bitmap bitmap = intent.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON); in verifyBadgeBitmap() local
102 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testCreateWithBitmap_legacy() local
112 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testAddBitmapToShortcutIntent_badged() local
147 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testCreateWithBitmap() local
158 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testCreateWithAdaptiveBitmap_legacy() local
170 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testCreateWithAdaptiveBitmap() local
178 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testFileIconCompatAdaptiveBitmap() local
194 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testCreateWithContentUriForAdaptiveBitmap() local
210 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in testCreateWithData() local
[all …]
/core/core-telecom/integration-tests/testapp/src/main/java/androidx/core/telecom/test/
DCallIconGenerator.kt50 val bitmap = Bitmap.createBitmap(ICON_WIDTH, ICON_HEIGHT, Bitmap.Config.ARGB_8888) in numberToBitmap() constant
77 val bitmap = numberToBitmap(mNextCallIcon++) in generateNextBitmap() constant
/core/core/src/main/java/androidx/core/app/
DSharedElementCallback.java173 Bitmap bitmap = createDrawableBitmap(d); in onCaptureSharedElementSnapshot() local
191 Bitmap bitmap = null; in onCaptureSharedElementSnapshot() local
226 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createDrawableBitmap() local
261 Bitmap bitmap = (Bitmap) bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP); in onCreateSnapshotView() local
277 Bitmap bitmap = (Bitmap) snapshot; in onCreateSnapshotView() local
/core/core-ktx/src/main/java/androidx/core/graphics/drawable/
DDrawable.kt68 val bitmap = Bitmap.createBitmap(width, height, config ?: Config.ARGB_8888) in toBitmap() constant
/core/core/src/main/java/androidx/core/graphics/drawable/
DRoundedBitmapDrawableFactory.java43 DefaultRoundedBitmapDrawable(Resources res, Bitmap bitmap) { in DefaultRoundedBitmapDrawable()
73 @Nullable Bitmap bitmap) { in create()
DRoundedBitmapDrawable21.java32 protected RoundedBitmapDrawable21(Resources res, Bitmap bitmap) { in RoundedBitmapDrawable21()
DRoundedBitmapDrawable.java258 final Bitmap bitmap = mBitmap; in draw() local
380 RoundedBitmapDrawable(Resources res, Bitmap bitmap) { in RoundedBitmapDrawable()
DIconCompat.java827 Bitmap bitmap = (Bitmap) mObj1; in onPreParceling() local
/core/core-telecom/integration-tests/testicsapp/src/main/java/androidx/core/telecom/test/ui/calling/
DCallIconExtensionUiState.kt21 data class CallIconExtensionUiState(val bitmap: Bitmap?) constant in androidx.core.telecom.test.ui.calling.CallIconExtensionUiState
DCallsScreen.kt182 val bitmap: Bitmap by remember { in CallerCard() constant
/core/core/src/main/java/androidx/core/graphics/
DBitmapCompat.java59 public static boolean hasMipMap(@NonNull Bitmap bitmap) { in hasMipMap()
86 public static void setHasMipMap(@NonNull Bitmap bitmap, boolean hasMipMap) { in setHasMipMap()
100 public static int getAllocationByteCount(@NonNull Bitmap bitmap) { in getAllocationByteCount()
/core/core/src/androidTest/java/androidx/core/view/
DPointerIconCompatTest.java105 Bitmap bitmap = Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888); in testBitmapIcon() local
/core/core/src/main/java/androidx/core/view/
DPointerIconCompat.java150 public static @NonNull PointerIconCompat create(@NonNull Bitmap bitmap, float hotSpotX, in create()
197 static PointerIcon create(Bitmap bitmap, float hotSpotX, float hotSpotY) { in create()
/core/core-ktx/src/androidTest/java/androidx/core/view/
DViewTest.kt158 val bitmap = view.drawToBitmap() in <lambda>() constant
167 val bitmap = view.drawToBitmap(Bitmap.Config.RGB_565) in <lambda>() constant
/core/core/src/androidTest/java/android/support/v4/testutils/
DTestUtils.java65 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, Bitmap.Config.ARGB_8888); in assertAllPixelsOfColor() local
/core/core-telecom/integration-tests/testicsapp/src/main/java/androidx/core/telecom/test/services/
DInCallServiceImpl.kt119 val bitmap = BitmapFactory.decodeFileDescriptor(it.fileDescriptor) in <lambda>() constant
215 readCallIconUriFromFile(newUri)?.let { bitmap -> in <lambda>() method
/core/core-location-altitude/src/main/java/androidx/core/location/altitude/impl/
DGeoidHeightMap.java200 Bitmap bitmap; in mergeByteImageValues() local
/core/core/src/main/java/androidx/core/content/pm/
DShortcutManagerCompat.java566 final Bitmap bitmap = BitmapFactory.decodeStream(is); in convertUriIconToBitmapIcon() local
/core/core/src/androidTest/java/androidx/core/app/
DNotificationCompatTest.java1188 Bitmap bitmap = BitmapFactory.decodeResource(mContext.getResources(), in testSetNotification_setLargeIconBitmap() local
1257 Bitmap bitmap = BitmapFactory.decodeResource(mContext.getResources(), in testSetNotification_setLargeIconBitmapScales() local