/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
D | SliceCreator.java | 151 IconCompat.createWithResource(getContext(), R.drawable.weather_1), SMALL_IMAGE, in createWeather() 157 .addImage(IconCompat.createWithResource(getContext(), R.drawable.weather_1), in createWeather() 162 .addImage(IconCompat.createWithResource(getContext(), R.drawable.weather_2), in createWeather() 167 .addImage(IconCompat.createWithResource(getContext(), R.drawable.weather_3), in createWeather() 172 .addImage(IconCompat.createWithResource(getContext(), R.drawable.weather_4), in createWeather() 177 .addImage(IconCompat.createWithResource(getContext(), R.drawable.weather_1), in createWeather() 190 .addImage(IconCompat.createWithResource(getContext(), R.drawable.slices_1), in createGallery() 193 .addImage(IconCompat.createWithResource(getContext(), R.drawable.slices_2), in createGallery() 196 .addImage(IconCompat.createWithResource(getContext(), R.drawable.slices_3), in createGallery() 199 .addImage(IconCompat.createWithResource(getContext(), R.drawable.slices_4), in createGallery() [all …]
|
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/ |
D | SampleSliceProvider.java | 170 IconCompat.createWithResource(getContext(), R.drawable.weather_1), SMALL_IMAGE, in createWeather() 176 .addImage(IconCompat.createWithResource(getContext(), in createWeather() 182 .addImage(IconCompat.createWithResource(getContext(), in createWeather() 188 .addImage(IconCompat.createWithResource(getContext(), in createWeather() 194 .addImage(IconCompat.createWithResource(getContext(), in createWeather() 200 .addImage(IconCompat.createWithResource(getContext(), in createWeather() 211 IconCompat.createWithResource(getContext(), R.drawable.slices_1), in createGallery() 223 IconCompat.createWithResource(getContext(), R.drawable.ic_cast), in createGallery() 227 IconCompat.createWithResource(getContext(), R.drawable.ic_share), in createGallery() 235 IconCompat ic = IconCompat.createWithResource(getContext(), in createGallery() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMediaController.java | 194 mPauseAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 200 mPlayAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 206 mNextAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 212 mPrevAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions()
|
/frameworks/support/slices/core/src/androidTest/java/androidx/slice/ |
D | SliceTestProvider.java | 53 IconCompat.createWithResource(getContext(), R.drawable.size_48x48), in onBindSlice() 69 .addIcon(IconCompat.createWithResource(getContext(), R.drawable.size_48x48), in onBindSlice()
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | StatusBarIcon.java | 41 icon = Icon.createWithResource(resPackage, icon.getResId()); in StatusBarIcon() 54 this(user, iconPackage, Icon.createWithResource(iconPackage, iconId), in StatusBarIcon()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/drawable/ |
D | IconCompatTest.java | 126 IconCompat.createWithResource(context, R.drawable.test_drawable_green) in testAddResourceToShortcutIntent_badged() 133 IconCompat.createWithResource(context, R.drawable.test_drawable_blue) in testAddResourceToShortcutIntent_badged() 207 IconCompat compat = IconCompat.createWithResource(context, R.drawable.test_drawable_red); in testCreateWithResource() 255 verifyIconCompatValidity(IconCompat.createWithResource(mContext, R.drawable.bmp_test)); in testResourceIconCompat() 295 IconCompat icon = IconCompat.createWithResource(mContext, R.drawable.bmp_test); in testResourceIconCompat_getType()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconViewTest.java | 90 Icon.createWithResource(mContext, R.drawable.ic_android), 0, 0, ""); in setUp() 103 mStatusBarIcon.icon = Icon.createWithResource("mockPackage", R.drawable.ic_android); in testSettingOomingIconDoesNotThrowOom()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 142 Icon icon = Icon.createWithResource(getContext(), R.drawable.ic_access_alarms_big); in addPrimaryAction() 155 Icon alarmIcon = Icon.createWithResource(getContext(), R.drawable.ic_access_alarms_big); in addNextAlarm() 173 .addEndItem(Icon.createWithResource(getContext(), R.drawable.stat_sys_dnd)); in addZenMode()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | Food.java | 43 return Icon.createWithResource(context, sIcons[mType]); in getIcon()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 502 return createWithResource(packageName, resId); in createFromStream() 549 public static Icon createWithResource(Context context, @DrawableRes int resId) { in createWithResource() method in Icon 563 public static Icon createWithResource(Resources res, @DrawableRes int resId) { in createWithResource() method in Icon 578 public static Icon createWithResource(String resPackage, @DrawableRes int resId) { in createWithResource() method in Icon
|
/frameworks/base/telecomm/java/android/telecom/ |
D | StatusHints.java | 45 this(label, iconResId == 0 ? null : Icon.createWithResource(packageName.getPackageName(), in StatusHints()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.java | 53 Icon.createWithResource( context, resId), 0, 0, contentDescription); in fromResId()
|
D | StatusBarIconControllerImpl.java | 157 Icon.createWithResource( in setIcon() 162 holder.getIcon().icon = Icon.createWithResource(mContext, resourceId); in setIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 183 Drawable d = Icon.createWithResource(pkg, id) in updateSummary() 224 Drawable d = Icon.createWithResource(getContext().getPackageName(), ICONS[i][0]) in setupIcons()
|
D | ShortcutParser.java | 113 c.icon = Icon.createWithResource(mPkg, iconResId); in parseShortcut()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 246 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel() 296 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel_resId() 343 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone() 450 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone_resId() 608 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoCopyNonNullFieldsFrom() 634 .setIcon(Icon.createWithResource(mClientContext, 456)).build()); in testShortcutInfoCopyNonNullFieldsFrom() 732 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoCopyNonNullFieldsFrom_resId() 755 .setIcon(Icon.createWithResource(mClientContext, 456)).build()); in testShortcutInfoCopyNonNullFieldsFrom_resId() 1007 final Icon res32x32 = Icon.createWithResource(mClientContext, R.drawable.black_32x32); 1147 final Icon res32x32 = Icon.createWithResource(mClientContext, R.drawable.black_32x32); [all …]
|
D | ShortcutManagerTest8.java | 255 final Icon res32x32 = Icon.createWithResource(getTestContext(), R.drawable.black_32x32); in checkRequestPinShortcut() 476 final Icon res32x32 = Icon.createWithResource(getTestContext(), R.drawable.black_32x32); in testRequestPinShortcut_dynamicExists() 591 final Icon res32x32 = Icon.createWithResource(getTestContext(), R.drawable.black_32x32); in testRequestPinShortcut_dynamicExists_alreadyPinned() 1042 final Icon res32x32 = Icon.createWithResource(getTestContext(), R.drawable.black_32x32); in testRequestPinShortcut_dynamicExists_titleWontChange()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/content/pm/ |
D | ShortcutInfoCompatTest.java | 64 .setIcon(IconCompat.createWithResource(mContext, R.drawable.test_drawable_red)); in setup()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 169 Icon.createWithResource(mContext, R.drawable.stat_notify_cancelling), in createCancelAction() 228 Icon.createWithResource(mContext, R.drawable.ic_restart), in createFailedNotification()
|
/frameworks/base/core/java/android/app/ |
D | RecoverableSecurityException.java | 94 Icon.createWithResource("android", in RecoverableSecurityException()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 480 .addIcon(Icon.createWithResource(context, in createPermissionSlice() 492 .addIcon(Icon.createWithResource(context, in createPermissionSlice()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 164 final Icon im1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testWithBitmapResource() 274 final Icon res1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testParcel()
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/ |
D | SliceXmlTest.java | 133 .addIcon(IconCompat.createWithResource(mContext, R.drawable.abc_slice_see_more_bg), in testSerialization()
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/ |
D | IconCompat.java | 145 public static IconCompat createWithResource(Context context, @DrawableRes int resId) { in createWithResource() method in IconCompat 358 icon = Icon.createWithResource((String) mObj1, mInt1); in toIcon()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLayout.java | 297 Icon avatarIcon = Icon.createWithResource(getContext(), in createAvatarSymbol() 360 Icon userIcon = Icon.createWithResource(getContext(), in setUser()
|