Home
last modified time | relevance | path

Searched refs:createWithBitmap (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryMeterTest.kt82 val icon = Icon.createWithBitmap(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_plainNotification_dontDoubleCountSameBitmap()
145 Icon.createWithBitmap(Bitmap.createBitmap(600, 400, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_bigPictureStyle()
174 Icon.createWithBitmap(Bitmap.createBitmap(386, 432, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_callingStyle()
200 Icon.createWithBitmap(Bitmap.createBitmap(386, 432, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_messagingStyle()
204 Icon.createWithBitmap(Bitmap.createBitmap(348, 382, Bitmap.Config.ARGB_8888)) in currentNotificationMemoryUse_messagingStyle()
278 Icon.createWithBitmap(Bitmap.createBitmap(250, 250, Bitmap.Config.ARGB_8888)) in createBasicNotification()
280 Icon.createWithBitmap(Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888)) in createBasicNotification()
DNotificationMemoryViewWalkerTest.kt53 val icon = Icon.createWithBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888)) in testViewWalker_plainNotification_withPublicView()
54 val publicIcon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) in testViewWalker_plainNotification_withPublicView()
126 val icon = Icon.createWithBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification()
127 val largeIcon = Icon.createWithBitmap(Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification()
185 val icon = Icon.createWithBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888)) in testViewWalker_customView()
DNotificationMemoryLoggerTest.kt91 val icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)) in <lambda>()
104 val icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)) in <lambda>()
107 val iconTwo = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)) in <lambda>()
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/
DColorChipsRowBuilder.kt72 .addImage(IconCompat.createWithBitmap(bmpEmpty), ListBuilder.SMALL_IMAGE) in create()
80 IconCompat.createWithBitmap(bmpEmpty), in create()
196 return IconCompat.createWithBitmap(bmp) in makeColorOption()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLocalImageResolverTest.java94 Icon icon = Icon.createWithBitmap( in resolveImage_largeBitmapIcon_defaultSize_resizeToDefaultSize()
175 Icon icon = Icon.createWithBitmap( in resolveImage_largeBitmapIcon_passedNegativeWidth_dontResize()
188 Icon icon = Icon.createWithBitmap( in resolveImage_largeBitmapIcon_passedNegativeHeight_dontResize()
212 Icon icon = Icon.createWithBitmap( in resolveImage_largeBitmapIcon_passedSize_resizeToDefinedSize()
248 Icon icon = Icon.createWithBitmap( in resolveImage_smallBitmapIcon_defaultSize_untouched()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java140 Icon icon = Icon.createWithBitmap(largeBitmap); in testGiantImageNotAllowed()
154 Icon icon = Icon.createWithBitmap(bitmap); in testNullNotifInfo()
174 Icon icon = Icon.createWithBitmap(bitmap); in testNullIcon()
432 Icon icon = Icon.createWithBitmap(bitmap); in setIconDrawableWithSize()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DWalletContextualLocationsServiceTest.kt117 Icon.createWithBitmap(Bitmap.createBitmap(70, 50, Bitmap.Config.ARGB_8888))
130 Icon.createWithBitmap(Bitmap.createBitmap(70, 50, Bitmap.Config.ARGB_8888))
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DCanUseIconPredicateTest.kt77 val bitmapIcon = Icon.createWithBitmap(Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888)) in testReturnsTrueForNonUriIcon()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java217 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconMultipleReferences_keptAfterParcelling()
232 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconReferenceInExtrasOnly_keptAfterParcelling()
700 Icon hugeIcon = Icon.createWithBitmap( in testBuild_ensureSmallIconIsNotTooBig_resizesIcon()
716 Icon hugeIcon = Icon.createWithBitmap( in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon()
718 Icon hugeMessageAvatar = Icon.createWithBitmap( in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon()
720 Icon hugeHistoricMessageAvatar = Icon.createWithBitmap( in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon()
754 Icon hugeIcon = Icon.createWithBitmap( in testBuild_ensureMessagingShortcutIconIsNotTooBig_resizesIcon()
1499 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testActionsDifferentSame()
1515 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testActionsDifferentText()
1531 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testActionsDifferentSpannables()
[all …]
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DLocalMediaProjectionService.java67 return Icon.createWithBitmap(mTestBitmap); in createNotificationIcon()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java90 final Icon im1 = Icon.createWithBitmap(bm1); in testWithBitmap()
91 final Icon im2 = Icon.createWithBitmap(bm2); in testWithBitmap()
92 final Icon im3 = Icon.createWithBitmap(bm3); in testWithBitmap()
148 final Icon ic = Icon.createWithBitmap(bm); in testScaleDownIfNecessary()
406 final Icon bit1 = Icon.createWithBitmap(originalbits); in testParcel()
475 final Icon ic = Icon.createWithBitmap(bm); in testScaleDownMaxSizeWithBitmap()
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DSuggestionTest.java53 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflaterTest.kt80 firstSenderIcon = Icon.createWithBitmap(getBitmap(context, R.drawable.ic_person)) in <lambda>()
83 Icon.createWithBitmap( in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarMenuViewController.java189 Icon appIcon = bubble.getRawAppBadge() != null ? Icon.createWithBitmap( in createMenuActions()
/frameworks/base/core/java/android/app/people/
DPeopleSpaceTile.java550 return Icon.createWithBitmap(bitmapDrawable.getBitmap()); in convertDrawableToIcon()
566 return Icon.createWithBitmap(bitmap); in convertDrawableToIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/
DImageLoaderTest.kt178 val loadedDrawable = imageLoader.loadDrawable(Icon.createWithBitmap(bitmap)) in validBitmapIcon_returnsBitmapDrawable()
190 assertThat(imageLoader.loadSize(Icon.createWithBitmap(bitmap), context)).isNull() in validBitmapIcon_loadSize_returnsNull()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextSelectionTest.java163 return Icon.createWithBitmap(bitmap); in generateTestIcon()
DTextClassificationTest.java71 return Icon.createWithBitmap(bitmap); in generateTestIcon()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java183 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_preM()
205 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_mPlus()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java225 Icon.createWithBitmap(recycledBitmap), // icon in testTaskDescriptionParceling()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java239 Icon icon = Icon.createWithBitmap(bitmap); in testThumbnailRescaled_bigger()
270 Icon icon = Icon.createWithBitmap(bitmap); in testThumbnailRescaled_smaller()
/frameworks/base/core/java/com/android/internal/widget/
DLocalImageResolver.java186 ? Icon.createWithAdaptiveBitmap(bitmap) : Icon.createWithBitmap(bitmap); in resolveBitmapImage()
DPeopleHelper.java130 return Icon.createWithBitmap(bitmap); in createAvatarSymbol()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java693 return createWithBitmap(BitmapFactory.decodeStream(inputStream)); in createFromStream()
821 public static @NonNull Icon createWithBitmap(Bitmap bits) { in createWithBitmap() method in Icon
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialogTest.java167 mIconCompat = IconCompat.createWithBitmap( in refresh_withIconCompat_iconIsVisible()

12