/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/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/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveIconTest.java | 89 doReturn(Icon.createWithResource(mContext, R.drawable.ic_system_update)) in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() 101 doReturn(Icon.createWithResource(mContext, R.drawable.ic_system_update)) in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() 116 doReturn(Icon.createWithResource(mContext, R.drawable.ic_system_update)) in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon()
|
/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/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 311 Icon.createWithResource(this, R.drawable.ic_android), in setNotificationActions() 318 Icon.createWithResource(this, R.drawable.ic_android), pauseString, in setNotificationActions() 323 Icon.createWithResource(this, R.drawable.ic_android), in setNotificationActions() 338 Icon.createWithResource(this, R.drawable.ic_android), in createSaveNotification() 348 Icon.createWithResource(this, R.drawable.ic_android), in createSaveNotification()
|
/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()
|
D | NotificationUiAdjustmentTest.java | 193 Icon.createWithResource(mContext, drawableRes), title, pendingIntent); in createActionBuilder()
|
/frameworks/base/core/java/android/view/textclassifier/intent/ |
D | LabeledIntent.java | 132 icon = Icon.createWithResource( in resolve() 139 icon = Icon.createWithResource( in resolve()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 512 return createWithResource(packageName, resId); in createFromStream() 559 public static Icon createWithResource(Context context, @DrawableRes int resId) { in createWithResource() method in Icon 574 public static Icon createWithResource(Resources res, @DrawableRes int resId) { in createWithResource() method in Icon 589 public static Icon createWithResource(String resPackage, @DrawableRes int resId) { in createWithResource() method in Icon
|
/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 | 158 Icon.createWithResource( in setIcon() 163 holder.getIcon().icon = Icon.createWithResource(mContext, resourceId); in setIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 262 IconCompat icon = IconCompat.createWithResource(getContext(), in addPrimaryActionLocked() 275 IconCompat alarmIcon = IconCompat.createWithResource(getContext(), in addNextAlarmLocked() 295 IconCompat.createWithResource(getContext(), R.drawable.stat_sys_dnd), in addZenModeLocked()
|
/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/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()
|
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() 301 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoParcel_resId() 348 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone() 490 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoClone_resId() 648 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoCopyNonNullFieldsFrom() 674 .setIcon(Icon.createWithResource(mClientContext, 456)).build()); in testShortcutInfoCopyNonNullFieldsFrom() 778 .setIcon(Icon.createWithResource(mClientContext, 123)) in testShortcutInfoCopyNonNullFieldsFrom_resId() 801 .setIcon(Icon.createWithResource(mClientContext, 456)).build()); in testShortcutInfoCopyNonNullFieldsFrom_resId() 1066 final Icon res32x32 = Icon.createWithResource(mClientContext, R.drawable.black_32x32); 1208 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | InstantAppNotifier.java | 348 .setLargeIcon(Icon.createWithResource(pkg, appInfo.icon)) in postInstantAppNotif() 350 Icon.createWithResource( in postInstantAppNotif()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 169 Icon.createWithResource(mContext, R.drawable.ic_clear), in createCancelAction() 228 Icon.createWithResource(mContext, com.android.internal.R.drawable.ic_restart), in createFailedNotification()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAdjustmentExtractorTest.java | 127 Icon.createWithResource(getContext(), android.R.drawable.sym_def_app_icon), in createAction()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 488 .addIcon(Icon.createWithResource(context, in createPermissionSlice() 500 .addIcon(Icon.createWithResource(context, in createPermissionSlice()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MimeIconUtils.java | 52 return new MimeTypeInfo(Icon.createWithResource(res, iconId), label, label); in buildTypeInfo()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 165 final Icon im1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testWithBitmapResource() 275 final Icon res1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testParcel()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLayout.java | 313 Icon avatarIcon = Icon.createWithResource(getContext(), in createAvatarSymbol() 376 Icon userIcon = Icon.createWithResource(getContext(), in setUser()
|