Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java130 Icon icon = Icon.createWithBitmap(largeBitmap); in testGiantImageNotAllowed()
139 Icon icon = Icon.createWithBitmap(bitmap); in testNullNotifInfo()
/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()
271 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/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/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java211 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_preM()
233 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_mPlus()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java149 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconMultipleReferences_keptAfterParcelling()
164 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconReferenceInExtrasOnly_keptAfterParcelling()
/frameworks/base/core/java/com/android/internal/widget/
DPeopleHelper.java128 return Icon.createWithBitmap(bitmap); in createAvatarSymbol()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java543 return createWithBitmap(BitmapFactory.decodeStream(inputStream)); in createFromStream()
649 public static Icon createWithBitmap(Bitmap bits) { in createWithBitmap() method in Icon
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java264 return IconCompat.createWithBitmap(bitmap); in createIconWithDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataManager.kt498 Icon.createWithBitmap(artworkBitmap) in loadMediaDataInBgForResumption()
536 Icon.createWithBitmap(artworkBitmap) in loadMediaDataInBg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java181 return Icon.createWithBitmap(n.largeIcon); in getLargeIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java209 return IconCompat.createWithBitmap(roundBitmap); in getHeaderIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/ui/
DWalletScreenControllerTest.java467 return Icon.createWithBitmap(Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888)); in createIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTileTest.java95 Icon.createWithBitmap(Bitmap.createBitmap(70, 50, Bitmap.Config.ARGB_8888));
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java929 final Icon bmp32x32 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testShortcutInfoSaveAndLoad()
1256 final Icon bmp32x32 = Icon.createWithBitmap(BitmapFactory.decodeResource(
2282 final Icon bmp32x32 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testDumpCheckin()
2284 final Icon bmp64x64 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testDumpCheckin()
DShortcutManagerTest1.java286 final Icon icon2 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testSetDynamicShortcuts()
772 final Icon bmp32x32 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testIcons()
776 final Icon bmp512x512 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testIcons()
986 final Icon bmp32x32 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testCleanupDanglingBitmaps()
1415 .setIcon(Icon.createWithBitmap(BitmapFactory.decodeResource( in testUpdateShortcuts_icons()
1433 .setIcon(Icon.createWithBitmap(BitmapFactory.decodeResource( in testUpdateShortcuts_icons()
3868 final Icon icon2 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testSaveAndLoadUser()
3895 final Icon icon2 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testSaveAndLoadUser()
3925 final Icon icon2 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testSaveAndLoadUser()
4703 final Icon bmp32x32 = Icon.createWithBitmap(BitmapFactory.decodeResource( in checkHandlePackageDeleteInner()
[all …]
/frameworks/base/core/java/android/app/
DActivityManager.java1196 this(label, icon != null ? Icon.createWithBitmap(icon) : null, colorPrimary, 0, 0, 0, in TaskDescription()
1212 this(label, icon != null ? Icon.createWithBitmap(icon) : null, 0, 0, 0, 0, false, false, in TaskDescription()
1434 return Icon.createWithBitmap(loadedIcon); in loadIcon()
DNotification.java3012 mLargeIcon = Icon.createWithBitmap(largeIcon); in writeToParcelImpl()
4447 return setLargeIcon(b != null ? Icon.createWithBitmap(b) : null); in setLargeIcon()
5319 mN.mLargeIcon = Icon.createWithBitmap(mN.largeIcon); in bindLargeIcon()
7198 mPictureIcon = b == null ? null : Icon.createWithBitmap(b); in bigPicture()
7227 return bigLargeIcon(b != null ? Icon.createWithBitmap(b) : null); in bigLargeIcon()
7418 return Icon.createWithBitmap(bitmapPicture); in getPictureIcon()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java591 desc.setIcon(Icon.createWithBitmap(bitmap)); in addAppRecents()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1433 return Icon.createWithBitmap(bmp); in getShortcutIcon()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java2525 Icon icon = Icon.createWithBitmap(createBitmap()); in createDirectShareTargets()

12