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

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

Completed in 242 milliseconds