Home
last modified time | relevance | path

Searched refs:isGrayscale (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java55 public boolean isGrayscale(Bitmap bitmap) { in isGrayscale() method in ImageUtils
84 if (!isGrayscale(mTempBuffer[i])) { in isGrayscale()
106 public static boolean isGrayscale(int color) { in isGrayscale() method in ImageUtils
DNotificationColorUtil.java94 result = mImageUtils.isGrayscale(bitmap); in isGrayscaleIcon()
183 if (ImageUtils.isGrayscale(colors[i])) { in processTextAppearanceSpan()
/frameworks/base/tools/aapt/
DImages.cpp911 bool isGrayscale = true; in analyze_image() local
940 if (isGrayscale) { in analyze_image()
944 isGrayscale = false; in analyze_image()
989 NOISY(printf("isGrayscale = %s\n", isGrayscale ? "true" : "false")); in analyze_image()
1002 if (isGrayscale) { in analyze_image()
1053 if (isGrayscale) { in analyze_image()