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/
DContrastColorUtil.java86 public boolean isGrayscaleIcon(Bitmap bitmap) { in isGrayscaleIcon() method in ContrastColorUtil
124 public boolean isGrayscaleIcon(Drawable d) { in isGrayscaleIcon() method in ContrastColorUtil
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 ContrastColorUtil
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 ContrastColorUtil
166 return isGrayscaleIcon(context.getDrawable(drawableResId)); in isGrayscaleIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java45 boolean grayscale = colorUtil.isGrayscaleIcon(v.getDrawable()); in isGrayscale()
/frameworks/base/core/java/android/app/
DNotification.java5704 boolean colorable = !isLegacy() || getColorUtil().isGrayscaleIcon(mContext, smallIcon);
5728 && getColorUtil().isGrayscaleIcon(mContext, largeIcon)) {
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt106318 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;I)Z
106319 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;Landroi…
106320 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/Bitmap;)Z
106321 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/drawable/Drawa…