Searched refs:isGrayscaleIcon (Results 1 – 4 of 4) sorted by relevance
88 public boolean isGrayscaleIcon(Bitmap bitmap) { in isGrayscaleIcon() method in ContrastColorUtil126 public boolean isGrayscaleIcon(Drawable d) { in isGrayscaleIcon() method in ContrastColorUtil131 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 ContrastColorUtil150 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 ContrastColorUtil168 return isGrayscaleIcon(context.getDrawable(drawableResId)); in isGrayscaleIcon()
45 boolean grayscale = colorUtil.isGrayscaleIcon(v.getDrawable()); in isGrayscale()
7110 boolean colorable = !isLegacy() || getColorUtil().isGrayscaleIcon(mContext,7127 && getColorUtil().isGrayscaleIcon(mContext, largeIcon)) {
84650 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;I)Z84651 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;Landroi…84652 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/Bitmap;)Z84653 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/drawable/Drawa…