Home
last modified time | relevance | path

Searched refs:grayscale (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java41 boolean grayscale = colorUtil.isGrayscaleIcon(v.getDrawable()); in isGrayscale()
42 v.setTag(R.id.icon_is_grayscale, grayscale); in isGrayscale()
43 return grayscale; in isGrayscale()
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp312 static int PickColorType(int32_t width, int32_t height, bool grayscale, in PickColorType() argument
322 if (grayscale) { in PickColorType()
527 bool grayscale = true; in WritePng() local
559 if (grayscale) { in WritePng()
561 grayscale = false; in WritePng()
578 << " grayScale=" << (grayscale ? "true" : "false"); in WritePng()
585 image->width, image->height, grayscale, convertible_to_grayscale, in WritePng()
679 if (grayscale) { in WritePng()
/frameworks/support/print/src/main/java/androidx/print/
DPrintHelper.java804 Bitmap grayscale = Bitmap.createBitmap(original.getWidth(), original.getHeight(), in convertBitmapForColorMode() local
806 Canvas c = new Canvas(grayscale); in convertBitmapForColorMode()
815 return grayscale; in convertBitmapForColorMode()