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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationUtils.java41 boolean grayscale = colorUtil.isGrayscaleIcon(v.getDrawable());
42 v.setTag(R.id.icon_is_grayscale, grayscale);
43 return grayscale;
/frameworks/base/tools/aapt2/compile/
H A DPngCrunch.cpp312 static int PickColorType(int32_t width, int32_t height, bool grayscale, argument
322 if (grayscale) {
327 // This grayscale has alpha and can fit within a palette.
521 // 1. Every pixel has R == G == B (grayscale)
527 bool grayscale = true; local
540 // For purposes of palettes and grayscale optimization,
558 // Check if the image is indeed grayscale.
559 if (grayscale) {
561 grayscale = false;
578 << " grayScale=" << (grayscale
[all...]
/frameworks/support/core-utils/java/android/support/v4/print/
H A DPrintHelper.java817 // Create a grayscale bitmap
818 Bitmap grayscale = Bitmap.createBitmap(original.getWidth(), original.getHeight(),
820 Canvas c = new Canvas(grayscale);
829 return grayscale;

Completed in 309 milliseconds