Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java40 public static boolean isGrayscale(ImageView v, ContrastColorUtil colorUtil) { in isGrayscale() method in NotificationUtils
41 Object isGrayscale = v.getTag(R.id.icon_is_grayscale); in isGrayscale() local
42 if (isGrayscale != null) { in isGrayscale()
43 return Boolean.TRUE.equals(isGrayscale); in isGrayscale()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java69 public boolean isGrayscale(Bitmap bitmap) { in isGrayscale() method in ImageUtils
98 if (!isGrayscale(mTempBuffer[i])) { in isGrayscale()
120 public static boolean isGrayscale(int color) { in isGrayscale() method in ImageUtils
DContrastColorUtil.java104 result = mImageUtils.isGrayscale(bitmap); in isGrayscaleIcon()
223 if (ImageUtils.isGrayscale(colors[i])) { in processTextAppearanceSpan()
/frameworks/base/tools/aapt2/compile/
DPng.cpp262 bool isGrayscale = true; in analyze_image() local
295 if (isGrayscale) { in analyze_image()
301 isGrayscale = false; in analyze_image()
351 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false"); in analyze_image()
368 if (isGrayscale) { in analyze_image()
421 if (isGrayscale) { in analyze_image()
/frameworks/base/tools/aapt/
DImages.cpp890 bool isGrayscale = true; in analyze_image() local
951 if (isGrayscale) { in analyze_image()
957 isGrayscale = false; in analyze_image()
1039 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false"); in analyze_image()
1053 if (isGrayscale) { in analyze_image()
1125 if (isGrayscale) { in analyze_image()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconAreaController.java432 boolean colorize = !isPreL || NotificationUtils.isGrayscale(v, mContrastColorUtil); in updateTintForIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java619 boolean colorize = !isPreL || NotificationUtils.isGrayscale(expandedIcon, in updateShelfIconColor()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt106237 Lcom/android/internal/util/ImageUtils;->isGrayscale(I)Z
106238 Lcom/android/internal/util/ImageUtils;->isGrayscale(Landroid/graphics/Bitmap;)Z