Home
last modified time | relevance | path

Searched refs:createWithResource (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java41 icon = Icon.createWithResource(resPackage, icon.getResId()); in StatusBarIcon()
54 this(user, iconPackage, Icon.createWithResource(iconPackage, iconId), in StatusBarIcon()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java447 return createWithResource(packageName, resId); in createFromStream()
462 public static Icon createWithResource(Context context, @DrawableRes int resId) { in createWithResource() method in Icon
476 public static Icon createWithResource(Resources res, @DrawableRes int resId) { in createWithResource() method in Icon
491 public static Icon createWithResource(String resPackage, @DrawableRes int resId) { in createWithResource() method in Icon
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java45 this(label, iconResId == 0 ? null : Icon.createWithResource(packageName.getPackageName(), in StatusHints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java139 icon.icon = Icon.createWithResource(icon.icon.getResPackage(), iconId); in updateSlot()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DIconTest.java115 final Icon im1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testWithBitmapResource()
225 final Icon res1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testParcel()
/frameworks/base/core/java/android/app/
DNotificationManager.java269 n.setSmallIcon(Icon.createWithResource(pkg, n.icon)); in fixLegacySmallIcon()
DNotification.java950 this(Icon.createWithResource("", icon), title, intent, new Bundle(), null); in Action()
968 mIcon = Icon.createWithResource("", icon); in getIcon()
1006 this(Icon.createWithResource("", icon), title, intent, new Bundle(), null); in Builder()
1646 mSmallIcon = Icon.createWithResource("", icon); in writeToParcel()
2260 ? Icon.createWithResource(mContext, icon)
/frameworks/base/api/
Dcurrent.txt12431 …method public static android.graphics.drawable.Icon createWithResource(android.content.Context, in…
12432 method public static android.graphics.drawable.Icon createWithResource(java.lang.String, int);
Dsystem-current.txt12768 …method public static android.graphics.drawable.Icon createWithResource(android.content.Context, in…
12769 method public static android.graphics.drawable.Icon createWithResource(java.lang.String, int);