Home
last modified time | relevance | path

Searched refs:isGrayscaleIcon (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java86 public boolean isGrayscaleIcon(Bitmap bitmap) { in isGrayscaleIcon() method in NotificationColorUtil
124 public boolean isGrayscaleIcon(Drawable d) { in isGrayscaleIcon() method in NotificationColorUtil
129 return bd.getBitmap() != null && isGrayscaleIcon(bd.getBitmap()); in isGrayscaleIcon()
133 return count > 0 && isGrayscaleIcon(ad.getFrame(0)); in isGrayscaleIcon()
142 public boolean isGrayscaleIcon(Context context, Icon icon) { in isGrayscaleIcon() method in NotificationColorUtil
148 return isGrayscaleIcon(icon.getBitmap()); in isGrayscaleIcon()
150 return isGrayscaleIcon(context, icon.getResId()); in isGrayscaleIcon()
163 public boolean isGrayscaleIcon(Context context, int drawableResId) { in isGrayscaleIcon() method in NotificationColorUtil
166 return isGrayscaleIcon(context.getDrawable(drawableResId)); in isGrayscaleIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java41 boolean grayscale = colorUtil.isGrayscaleIcon(v.getDrawable()); in isGrayscale()
/frameworks/base/core/java/android/app/
DNotification.java4811 boolean colorable = !isLegacy() || getColorUtil().isGrayscaleIcon(mContext, smallIcon);
4829 && getColorUtil().isGrayscaleIcon(mContext, largeIcon)) {
/frameworks/base/config/
Dboot-image-profile.txt39617 HSPLcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;I)Z
39618 HSPLcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;Land…
39619 HSPLcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/Bitmap;)Z
39620 HSPLcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/drawable/Dr…