Searched refs:isGrayscale (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationUtils.java33 public static boolean isGrayscale(ImageView v, NotificationColorUtil colorUtil) { method in class:NotificationUtils
34 Object isGrayscale = v.getTag(R.id.icon_is_grayscale);
35 if (isGrayscale != null) {
36 return Boolean.TRUE.equals(isGrayscale);
/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java58 public boolean isGrayscale(Bitmap bitmap) { method in class:ImageUtils
87 if (!isGrayscale(mTempBuffer[i])) {
109 public static boolean isGrayscale(int color) { method in class:ImageUtils
H A DNotificationColorUtil.java101 result = mImageUtils.isGrayscale(bitmap);
204 if (ImageUtils.isGrayscale(colors[i])) {
/frameworks/base/tools/aapt/
H A DImages.cpp889 bool isGrayscale = true; local
950 if (isGrayscale) {
956 isGrayscale = false;
1038 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false");
1052 if (isGrayscale) {
1124 if (isGrayscale) {
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp243 bool isGrayscale = true; local
276 if (isGrayscale) {
282 isGrayscale = false;
332 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false");
346 if (isGrayscale) {
399 if (isGrayscale) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationIconAreaController.java204 boolean colorize = !isPreL || NotificationUtils.isGrayscale(v, mNotificationColorUtil);

Completed in 127 milliseconds