Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java40 public static boolean isGrayscale(ImageView v, ContrastColorUtil colorUtil) { in isGrayscale() method in NotificationUtils
41 Object isGrayscale = v.getTag(R.id.icon_is_grayscale); in isGrayscale() local
42 if (isGrayscale != null) { in isGrayscale()
43 return Boolean.TRUE.equals(isGrayscale); in isGrayscale()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java69 public boolean isGrayscale(Bitmap bitmap) { in isGrayscale() method in ImageUtils
98 if (!isGrayscale(mTempBuffer[i])) { in isGrayscale()
120 public static boolean isGrayscale(int color) { in isGrayscale() method in ImageUtils
DContrastColorUtil.java106 result = mImageUtils.isGrayscale(bitmap); in isGrayscaleIcon()
225 if (ImageUtils.isGrayscale(colors[i])) { in processTextAppearanceSpan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/
DStatusBarIconViewBinder.kt65 val isColorized = !isPreL || NotificationUtils.isGrayscale(view, contrastColorUtil) in <lambda>()
/frameworks/base/libs/androidfw/
DPng.cpp251 bool isGrayscale = true; in analyze_image() local
284 if (isGrayscale) { in analyze_image()
289 isGrayscale = false; in analyze_image()
338 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false"); in analyze_image()
354 if (isGrayscale) { in analyze_image()
406 if (isGrayscale) { in analyze_image()
/frameworks/base/tools/aapt/
DImages.cpp891 bool isGrayscale = true; in analyze_image() local
952 if (isGrayscale) { in analyze_image()
958 isGrayscale = false; in analyze_image()
1040 printf("isGrayscale = %s\n", isGrayscale ? "true" : "false"); in analyze_image()
1054 if (isGrayscale) { in analyze_image()
1126 if (isGrayscale) { in analyze_image()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenContentDrawer.java842 public boolean isGrayscale() { in isGrayscale() method in SplashscreenContentDrawer.DrawableColorTester
843 return mColorChecker.isGrayscale(); in isGrayscale()
856 boolean isGrayscale(); in isGrayscale() method
894 public boolean isGrayscale() { in isGrayscale() method in SplashscreenContentDrawer.DrawableColorTester.SingleColorTester
976 public boolean isGrayscale() { in isGrayscale() method in SplashscreenContentDrawer.DrawableColorTester.ComplexDrawableTester
1183 bgTester.getDominateColor(), bgTester.isComplexColor(), bgTester.isGrayscale(), in getIconColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLegacyNotificationIconAreaControllerImpl.java489 boolean colorize = !isPreL || NotificationUtils.isGrayscale(v, mContrastColorUtil); in updateTintForIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java670 boolean colorize = !isPreL || NotificationUtils.isGrayscale(expandedIcon, in updateShelfIconColor()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt84574 Lcom/android/internal/util/ImageUtils;->isGrayscale(I)Z
84575 Lcom/android/internal/util/ImageUtils;->isGrayscale(Landroid/graphics/Bitmap;)Z