Home
last modified time | relevance | path

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

/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.java95 result = mImageUtils.isGrayscale(bitmap); in isGrayscaleIcon()
198 if (ImageUtils.isGrayscale(colors[i])) { in processTextAppearanceSpan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconController.java402 boolean colorize = !isPreL || isGrayscale(v); in applyNotificationIconsTint()
409 private boolean isGrayscale(StatusBarIconView v) { in isGrayscale() method in StatusBarIconController
410 Object isGrayscale = v.getTag(R.id.icon_is_grayscale); in isGrayscale() local
411 if (isGrayscale != null) { in isGrayscale()
412 return Boolean.TRUE.equals(isGrayscale); in isGrayscale()
/frameworks/base/tools/aapt2/
DPng.cpp245 bool isGrayscale = true; in analyze_image() local
278 if (isGrayscale) { in analyze_image()
284 isGrayscale = false; in analyze_image()
334 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false"); in analyze_image()
348 if (isGrayscale) { in analyze_image()
401 if (isGrayscale) { in analyze_image()
/frameworks/base/tools/aapt/
DImages.cpp888 bool isGrayscale = true; in analyze_image() local
921 if (isGrayscale) { in analyze_image()
927 isGrayscale = false; in analyze_image()
977 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false"); in analyze_image()
991 if (isGrayscale) { in analyze_image()
1042 if (isGrayscale) { in analyze_image()