Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryViewWalkerTest.kt53 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) in testViewWalker_plainNotification_withPublicView()
54 val publicIcon = Icon.createWithBitmap(Bitmap.createBitmap(40, 40, Bitmap.Config.ARGB_8888)) in testViewWalker_plainNotification_withPublicView()
126 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification()
127 val largeIcon = Icon.createWithBitmap(Bitmap.createBitmap(60, 60, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification()
185 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) in testViewWalker_customView()
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()
DNotificationMemoryLoggerTest.kt90 val icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)) in <lambda>()
103 val icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)) in <lambda>()
106 val iconTwo = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java135 Icon icon = Icon.createWithBitmap(largeBitmap); in testGiantImageNotAllowed()
149 Icon icon = Icon.createWithBitmap(bitmap); in testNullNotifInfo()
169 Icon icon = Icon.createWithBitmap(bitmap); in testNullIcon()
/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/core/tests/coretests/src/android/app/
DNotificationTest.java199 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconMultipleReferences_keptAfterParcelling()
214 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconReferenceInExtrasOnly_keptAfterParcelling()
649 Icon hugeIcon = Icon.createWithBitmap( in testBuild_ensureSmallIconIsNotTooBig_resizesIcon()
665 Icon hugeIcon = Icon.createWithBitmap( in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon()
667 Icon hugeMessageAvatar = Icon.createWithBitmap( in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon()
669 Icon hugeHistoricMessageAvatar = Icon.createWithBitmap( in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon()
703 Icon hugeIcon = Icon.createWithBitmap( in testBuild_ensureMessagingShortcutIconIsNotTooBig_resizesIcon()
1290 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testActionsDifferentSame()
1306 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testActionsDifferentText()
1322 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testActionsDifferentSpannables()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java58 final Icon im1 = Icon.createWithBitmap(bm1); in testWithBitmap()
59 final Icon im2 = Icon.createWithBitmap(bm2); in testWithBitmap()
60 final Icon im3 = Icon.createWithBitmap(bm3); in testWithBitmap()
116 final Icon ic = Icon.createWithBitmap(bm); in testScaleDownIfNecessary()
326 final Icon bit1 = Icon.createWithBitmap(originalbits); in testParcel()
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DSuggestionTest.java52 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)); in setUp()
/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/core/java/com/android/internal/widget/floatingtoolbar/
DRemoteFloatingToolbarPopup.java313 return Icon.createWithBitmap(bitmapDrawable.getBitmap()); in convertDrawableToIcon()
321 return Icon.createWithBitmap(bitmap); in convertDrawableToIcon()
/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/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java236 Icon icon = Icon.createWithBitmap(bitmap); in testThumbnailRescaled_bigger()
267 Icon icon = Icon.createWithBitmap(bitmap); in testThumbnailRescaled_smaller()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java217 Icon.createWithBitmap(recycledBitmap), // icon in testTaskDescriptionParceling()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
DMediaControlPanelTest.kt642 val albumArt = Icon.createWithBitmap(bmp) in bindAlbumView_setAfterExecutors()
658 val redArt = Icon.createWithBitmap(redBmp) in bindAlbumView_bitmapInLaterStates_setAfterExecutors()
663 val greenArt = Icon.createWithBitmap(greenBmp) in bindAlbumView_bitmapInLaterStates_setAfterExecutors()
711 val redArt = Icon.createWithBitmap(redBmp) in addTwoPlayerGradients_differentStates()
719 val greenArt = Icon.createWithBitmap(greenBmp) in addTwoPlayerGradients_differentStates()
736 val redArt = Icon.createWithBitmap(redBmp) in getWallpaperColor_recycledBitmap_notCrashing()
2147 val albumArt = Icon.createWithBitmap(bmp) in bindRecommendation_setAfterExecutors()
2197 val albumArt = Icon.createWithBitmap(bmp) in bindRecommendationWithProgressBars()
2246 val redArt = Icon.createWithBitmap(redBmp) in addTwoRecommendationGradients_differentStates()
2254 val greenArt = Icon.createWithBitmap(greenBmp) in addTwoRecommendationGradients_differentStates()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java212 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_preM()
234 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_mPlus()
/frameworks/base/core/java/com/android/internal/widget/
DPeopleHelper.java128 return Icon.createWithBitmap(bitmap); in createAvatarSymbol()
DLocalImageResolver.java182 ? Icon.createWithAdaptiveBitmap(bitmap) : Icon.createWithBitmap(bitmap); in resolveBitmapImage()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java559 return createWithBitmap(BitmapFactory.decodeStream(inputStream)); in createFromStream()
665 public static @NonNull Icon createWithBitmap(Bitmap bits) { in createWithBitmap() method in Icon
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialogTest.java144 mIconCompat = IconCompat.createWithBitmap( in refresh_withIconCompat_iconIsVisible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java181 return Icon.createWithBitmap(n.largeIcon); in getLargeIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java313 return IconCompat.createWithBitmap(bitmap); in createIconWithDrawable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTileTest.java96 Icon.createWithBitmap(Bitmap.createBitmap(70, 50, Bitmap.Config.ARGB_8888));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/ui/
DWalletScreenControllerTest.java520 return Icon.createWithBitmap(Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888)); in createIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
DMediaDataManager.kt687 Icon.createWithBitmap(artworkBitmap) in loadMediaDataInBgForResumption()
778 Icon.createWithBitmap(artworkBitmap) in loadMediaDataInBg()

12