/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationMemoryMeterTest.kt | 82 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()
|
D | NotificationMemoryViewWalkerTest.kt | 53 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()
|
D | NotificationMemoryLoggerTest.kt | 91 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/ |
D | ColorChipsRowBuilder.kt | 72 .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/ |
D | LocalImageResolverTest.java | 94 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/ |
D | StatusBarIconViewTest.java | 140 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/ |
D | WalletContextualLocationsServiceTest.kt | 117 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/ |
D | CanUseIconPredicateTest.kt | 77 val bitmapIcon = Icon.createWithBitmap(Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888)) in testReturnsTrueForNonUriIcon()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 217 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/ |
D | LocalMediaProjectionService.java | 67 return Icon.createWithBitmap(mTestBitmap); in createNotificationIcon()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 90 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/ |
D | SuggestionTest.java | 53 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/ |
D | SingleLineViewInflaterTest.kt | 80 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/ |
D | BubbleBarMenuViewController.java | 189 Icon appIcon = bubble.getRawAppBadge() != null ? Icon.createWithBitmap( in createMenuActions()
|
/frameworks/base/core/java/android/app/people/ |
D | PeopleSpaceTile.java | 550 return Icon.createWithBitmap(bitmapDrawable.getBitmap()); in convertDrawableToIcon() 566 return Icon.createWithBitmap(bitmap); in convertDrawableToIcon()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
D | ImageLoaderTest.kt | 178 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/ |
D | TextSelectionTest.java | 163 return Icon.createWithBitmap(bitmap); in generateTestIcon()
|
D | TextClassificationTest.java | 71 return Icon.createWithBitmap(bitmap); in generateTestIcon()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 183 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_preM() 205 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_mPlus()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityManagerTest.java | 225 Icon.createWithBitmap(recycledBitmap), // icon in testTaskDescriptionParceling()
|
/frameworks/base/core/tests/coretests/src/android/service/controls/ |
D | ControlProviderServiceTest.java | 239 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/ |
D | LocalImageResolver.java | 186 ? Icon.createWithAdaptiveBitmap(bitmap) : Icon.createWithBitmap(bitmap); in resolveBitmapImage()
|
D | PeopleHelper.java | 130 return Icon.createWithBitmap(bitmap); in createAvatarSymbol()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 693 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/ |
D | MediaOutputBaseDialogTest.java | 167 mIconCompat = IconCompat.createWithBitmap( in refresh_withIconCompat_iconIsVisible()
|