Searched refs:isDark (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | Cat.java | 158 public static boolean isDark(int color) { in isDark() method in Cat 182 if (isDark(mBodyColor)) { in Cat() 185 tint(isDark(mBodyColor) ? 0xFFEF9A9A : 0x20D50000, D.leftEarInside, D.rightEarInside); in Cat() 191 if (!isDark(faceColor)) { in Cat() 214 … final int capColor = chooseP(nsr, isDark(mBodyColor) ? P_LIGHT_SPOT_COLORS : P_DARK_SPOT_COLORS); in Cat()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 491 int backgroundColor, boolean isDark) { in resolveContrastColor() argument 492 final int resolvedColor = resolveColor(context, notificationColor, isDark); in resolveContrastColor() 495 color = ContrastColorUtil.ensureTextContrast(color, backgroundColor, isDark); in resolveContrastColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarEdgePanel.java | 364 private void setIsDark(boolean isDark, boolean animate) { in setIsDark() argument 365 mIsDark = isDark; in setIsDark()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 713 boolean isDark = !ContrastColorUtil.isColorLight(mCachedContrastBackgroundColor); in updateContrastedStaticColor() 715 contrastedColor, mCachedContrastBackgroundColor, isDark); in updateContrastedStaticColor()
|