/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstalledNotificationUtils.java | 126 return Icon.createWithResource(appInfo.packageName, appInfo.icon); in getAppLargeIcon() 128 return Icon.createWithResource("android", android.R.drawable.sym_def_app_icon); in getAppLargeIcon() 143 return Icon.createWithResource(context, R.drawable.ic_file_download); in getAppNotificationIcon() 149 return Icon.createWithResource(appInfo.packageName, iconResId); in getAppNotificationIcon() 151 return Icon.createWithResource(context, R.drawable.ic_file_download); in getAppNotificationIcon()
|
D | UninstallFinish.java | 240 Icon.createWithResource(context, R.drawable.ic_settings_multiuser), in addManageUsersButton() 260 Icon.createWithResource(context, R.drawable.ic_lock), in addDeviceManagerButton()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityManagerTest.java | 126 Icon.createWithResource(mContext.getPackageName(), 21), // icon in testTaskDescriptionCopyFrom() 149 Icon.createWithResource(mContext.getPackageName(), 21), // icon in testTaskDescriptionCopyFromPreserveHiddenFields() 163 Icon.createWithResource(mContext.getPackageName(), 212), // icon in testTaskDescriptionCopyFromPreserveHiddenFields() 192 Icon.createWithResource(mContext.getPackageName(), 21), // icon in testTaskDescriptionParceling()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMediaController.java | 196 mPauseAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 202 mPlayAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 208 mNextAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 214 mPrevAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions()
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconViewTest.java | 91 Icon.createWithResource(mContext, R.drawable.ic_android), 0, 0, ""); in setUp() 104 mStatusBarIcon.icon = Icon.createWithResource("mockPackage", R.drawable.ic_android); in testSettingOomingIconDoesNotThrowOom()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoControlsService.kt | 115 return Icon.createWithResource(resources, Cat.chooseP(rng, P_TOY_ICONS, 4)) in randomToyIcon() 146 .setCustomIcon(Icon.createWithResource(resources, in makeWaterBowlControl() 161 .setCustomIcon(Icon.createWithResource(resources, in makeFoodBowlControl()
|
D | Food.java | 44 return Icon.createWithResource(context, sIcons[mType]); in getIcon()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/ |
D | IconsContentProviderTest.java | 46 final Drawable expected = Icon.createWithResource(packageName, resId).loadDrawable(context); in testLoadResource()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SoftApNotifier.java | 78 .setSmallIcon(Icon.createWithResource(mContext.getWifiOverlayApkPkgName(), in buildSoftApShutDownTimeoutExpiredNotification()
|
D | WakeupNotificationFactory.java | 70 .setSmallIcon(Icon.createWithResource(mContext.getWifiOverlayApkPkgName(), in createOnboardingNotification()
|
D | SimRequiredNotifier.java | 86 .setSmallIcon(Icon.createWithResource(mContext.getWifiOverlayApkPkgName(), in buildSimRequiredNotification()
|
D | ConnectionFailureNotificationBuilder.java | 83 .setSmallIcon(Icon.createWithResource(mContext.getWifiOverlayApkPkgName(), in buildNoMacRandomizationSupportNotification()
|
D | WrongPasswordNotifier.java | 113 .setSmallIcon(Icon.createWithResource(mContext.getWifiOverlayApkPkgName(), in showNotification()
|
D | EapFailureNotifier.java | 106 .setSmallIcon(Icon.createWithResource(mContext.getWifiOverlayApkPkgName(), in showNotification()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 535 return createWithResource(packageName, resId); in createFromStream() 586 public static Icon createWithResource(Context context, @DrawableRes int resId) { in createWithResource() method in Icon 601 public static Icon createWithResource(Resources res, @DrawableRes int resId) { in createWithResource() method in Icon 616 public static Icon createWithResource(String resPackage, @DrawableRes int resId) { in createWithResource() method in Icon
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryTest.java | 234 Icon.createWithResource(getContext(), android.R.drawable.sym_def_app_icon), in createContextualAction() 243 Icon.createWithResource(getContext(), android.R.drawable.sym_def_app_icon), in createAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.java | 54 Icon.createWithResource( context, resId), 0, 0, contentDescription); in fromResId()
|
D | StatusBarIconControllerImpl.java | 156 Icon.createWithResource( in setIcon() 161 holder.getIcon().icon = Icon.createWithResource(mContext, resourceId); in setIcon()
|
/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/keyguard/ |
D | KeyguardSliceProvider.java | 253 IconCompat icon = IconCompat.createWithResource(getContext(), in addPrimaryActionLocked() 266 IconCompat alarmIcon = IconCompat.createWithResource(getContext(), in addNextAlarmLocked() 286 IconCompat.createWithResource(getContext(), R.drawable.stat_sys_dnd), in addZenModeLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | SaveImageInBackgroundTask.java | 302 Icon.createWithResource(r, R.drawable.ic_screenshot_share), in createShareAction() 347 Icon.createWithResource(r, R.drawable.ic_screenshot_edit), in createEditAction() 369 Icon.createWithResource(r, R.drawable.ic_screenshot_delete), in createDeleteAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 184 Drawable d = Icon.createWithResource(pkg, id) in updateSummary() 225 Drawable d = Icon.createWithResource(getContext().getPackageName(), ICONS[i][0]) in setupIcons()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 246 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel() 303 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel_resId() 352 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone() 500 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone_resId() 663 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoCopyNonNullFieldsFrom() 690 .setIcon(Icon.createWithResource(mClientContext, 456)).build()); in testShortcutInfoCopyNonNullFieldsFrom() 795 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoCopyNonNullFieldsFrom_resId() 819 .setIcon(Icon.createWithResource(mClientContext, 456)).build()); in testShortcutInfoCopyNonNullFieldsFrom_resId() 1087 final Icon res32x32 = Icon.createWithResource(mClientContext, R.drawable.black_32x32); 1319 final Icon res32x32 = Icon.createWithResource(mClientContext, R.drawable.black_32x32); [all …]
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | IconsContentProvider.java | 58 final Drawable drawable = Icon.createWithResource(res.packageName, res.id)
|