Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java33 public static boolean isGrayscale(ImageView v, NotificationColorUtil colorUtil) { in isGrayscale() method in NotificationUtils
34 Object isGrayscale = v.getTag(R.id.icon_is_grayscale); in isGrayscale() local
35 if (isGrayscale != null) { in isGrayscale()
36 return Boolean.TRUE.equals(isGrayscale); in isGrayscale()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java58 public boolean isGrayscale(Bitmap bitmap) { in isGrayscale() method in ImageUtils
87 if (!isGrayscale(mTempBuffer[i])) { in isGrayscale()
109 public static boolean isGrayscale(int color) { in isGrayscale() method in ImageUtils
DNotificationColorUtil.java103 result = mImageUtils.isGrayscale(bitmap); in isGrayscaleIcon()
222 if (ImageUtils.isGrayscale(colors[i])) { in processTextAppearanceSpan()
/frameworks/base/tools/aapt2/compile/
DPng.cpp261 bool isGrayscale = true; in analyze_image() local
294 if (isGrayscale) { in analyze_image()
300 isGrayscale = false; in analyze_image()
350 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false"); in analyze_image()
367 if (isGrayscale) { in analyze_image()
420 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.java275 boolean colorize = !isPreL || NotificationUtils.isGrayscale(v, mNotificationColorUtil); in applyNotificationIconsTint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableNotificationRow.java364 boolean colorize = !isPreL || NotificationUtils.isGrayscale(expandedIcon, in updateShelfIconColor()