Home
last modified time | relevance | path

Searched refs:originalIcon (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java159 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconMultipleReferences_keptAfterParcelling() local
162 Notification n = new Notification.Builder(mContext).setLargeIcon(originalIcon).build(); in largeIconMultipleReferences_keptAfterParcelling()
163 assertSame(n.getLargeIcon(), originalIcon); in largeIconMultipleReferences_keptAfterParcelling() local
174 Icon originalIcon = Icon.createWithBitmap(BitmapFactory.decodeResource( in largeIconReferenceInExtrasOnly_keptAfterParcelling() local
178 n.extras.putParcelable(Notification.EXTRA_LARGE_ICON, originalIcon); in largeIconReferenceInExtrasOnly_keptAfterParcelling()
184 .sameAs(originalIcon.getBitmap())); in largeIconReferenceInExtrasOnly_keptAfterParcelling()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java174 Drawable originalIcon = getIcon(density); in getBadgedIcon() local
176 return mPm.getUserBadgedIcon(originalIcon, mUser); in getBadgedIcon()
DLauncherApps.java1081 final Drawable originalIcon = getShortcutIconDrawable(shortcut, density); in getShortcutBadgedIconDrawable() local
1083 return (originalIcon == null) ? null : mContext.getPackageManager().getUserBadgedIcon( in getShortcutBadgedIconDrawable()
1084 originalIcon, shortcut.getUserHandle()); in getShortcutBadgedIconDrawable()