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.java88 public boolean isGrayscaleIcon(Bitmap bitmap) { in isGrayscaleIcon() method in ContrastColorUtil
126 public boolean isGrayscaleIcon(Drawable d) { in isGrayscaleIcon() method in ContrastColorUtil
131 return bd.getBitmap() != null && isGrayscaleIcon(bd.getBitmap()); in isGrayscaleIcon()
135 return count > 0 && isGrayscaleIcon(ad.getFrame(0)); in isGrayscaleIcon()
144 public boolean isGrayscaleIcon(Context context, Icon icon) { in isGrayscaleIcon() method in ContrastColorUtil
150 return isGrayscaleIcon(icon.getBitmap()); in isGrayscaleIcon()
152 return isGrayscaleIcon(context, icon.getResId()); in isGrayscaleIcon()
165 public boolean isGrayscaleIcon(Context context, int drawableResId) { in isGrayscaleIcon() method in ContrastColorUtil
168 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.java7110 boolean colorable = !isLegacy() || getColorUtil().isGrayscaleIcon(mContext,
7127 && getColorUtil().isGrayscaleIcon(mContext, largeIcon)) {
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt84650 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;I)Z
84651 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;Landroi…
84652 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/Bitmap;)Z
84653 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/drawable/Drawa…