Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DStatusBarIconViewTest.java130 Icon icon = Icon.createWithBitmap(largeBitmap); in testGiantImageNotAllowed()
139 Icon icon = Icon.createWithBitmap(bitmap); in testNullNotifInfo()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/
H A DDrawableUtil.java35 return Icon.createWithBitmap(createBitmapFromDrawable(drawable)); in createIconFromDrawable()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
H A DRequestPinItemActivity.java76 .setIcon(Icon.createWithBitmap(icon)) in pinShortcut()
/aosp12/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
H A DSuggestionTest.java52 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)); in setUp()
/aosp12/packages/apps/Settings/src/com/android/settings/media/
H A DMediaOutputIndicatorSlice.java80 return IconCompat.createWithBitmap(bitmap); in createEmptyIcon()
H A DRemoteMediaSlice.java166 return IconCompat.createWithBitmap(bitmap); in createEmptyIcon()
/aosp12/frameworks/base/core/java/android/app/people/
H A DPeopleSpaceTile.java550 return Icon.createWithBitmap(bitmapDrawable.getBitmap()); in convertDrawableToIcon()
566 return Icon.createWithBitmap(bitmap); in convertDrawableToIcon()
/aosp12/packages/apps/Dialer/java/com/android/dialer/shortcuts/
H A DIconFactory.java137 return Icon.createWithBitmap( in createFlatIcon()
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
H A DConversationFetchUtil.java100 builder.setConversationIcon(IconCompat.createWithBitmap(bitmap)); in initConversationBuilder()
/aosp12/frameworks/base/core/tests/coretests/src/android/service/controls/
H A DControlProviderServiceTest.java236 Icon icon = Icon.createWithBitmap(bitmap); in testThumbnailRescaled_bigger()
267 Icon icon = Icon.createWithBitmap(bitmap); in testThumbnailRescaled_smaller()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DTextSelectionTest.java163 return Icon.createWithBitmap(bitmap); in generateTestIcon()
H A DTextClassificationTest.java71 return Icon.createWithBitmap(bitmap); in generateTestIcon()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java211 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_preM()
233 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_mPlus()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java217 Icon.createWithBitmap(recycledBitmap), // icon in testTaskDescriptionParceling()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DPeopleHelper.java128 return Icon.createWithBitmap(bitmap); in createAvatarSymbol()
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DIcon.java543 return createWithBitmap(BitmapFactory.decodeStream(inputStream)); in createFromStream()
649 public static Icon createWithBitmap(Bitmap bits) { in createWithBitmap() method in Icon
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
H A DMicQcPanel.java210 return Icon.createWithBitmap(bitmapInfo.icon); in getBadgedIcon()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java162 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconMultipleReferences_keptAfterParcelling()
177 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconReferenceInExtrasOnly_keptAfterParcelling()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaDataManager.kt515 Icon.createWithBitmap(artworkBitmap)
553 Icon.createWithBitmap(artworkBitmap)
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothUtils.java264 return IconCompat.createWithBitmap(bitmap); in createIconWithDrawable()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
H A DProfileSwitcher.java174 Icon icon = Icon.createWithBitmap(drawableToBitmap(iconDrawable)); in createProfileRow()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationTemplateViewWrapper.java181 return Icon.createWithBitmap(n.largeIcon); in getLargeIcon()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
H A DDashboardFeatureProviderImplTest.java161 doReturn(Icon.createWithBitmap(Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565))) in bindPreference_shouldBindAllData()
182 doReturn(Icon.createWithBitmap(Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565))) in bindPreference_shouldBindAllSwitchData()
/aosp12/packages/services/Telephony/src/com/android/services/telephony/
H A DTelecomAccountRegistry.java330 icon = Icon.createWithBitmap(record.createIconBitmap(mContext)); in buildPstnPhoneAccount()
471 icon = Icon.createWithBitmap(bitmap); in buildPstnPhoneAccount()

12