Searched refs:isGrayscaleIcon (Results 1 – 4 of 4) sorted by relevance
86 public boolean isGrayscaleIcon(Bitmap bitmap) { in isGrayscaleIcon() method in ContrastColorUtil124 public boolean isGrayscaleIcon(Drawable d) { in isGrayscaleIcon() method in ContrastColorUtil129 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 ContrastColorUtil148 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 ContrastColorUtil166 return isGrayscaleIcon(context.getDrawable(drawableResId)); in isGrayscaleIcon()
45 boolean grayscale = colorUtil.isGrayscaleIcon(v.getDrawable()); in isGrayscale()
5704 boolean colorable = !isLegacy() || getColorUtil().isGrayscaleIcon(mContext, smallIcon);5728 && getColorUtil().isGrayscaleIcon(mContext, largeIcon)) {
106318 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;I)Z106319 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/content/Context;Landroi…106320 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/Bitmap;)Z106321 Lcom/android/internal/util/NotificationColorUtil;->isGrayscaleIcon(Landroid/graphics/drawable/Drawa…