Searched defs:isDark (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java136 public static boolean isDark(int color) { method in class:Cat
160 if (isDark(mBodyColor)) {
163 tint(isDark(mBodyColor) ? 0xFFEF9A9A : 0x20D50000, D.leftEarInside, D.rightEarInside);
169 if (!isDark(faceColor)) {
192 final int capColor = chooseP(nsr, isDark(mBodyColor) ? P_LIGHT_SPOT_COLORS : P_DARK_SPOT_COLORS);
194 //tint(chooseP(nsr, isDark(bodyColor) ? P_LIGHT_SPOT_COLORS : P_DARK_SPOT_COLORS), D.nose);
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java474 backgroundColor, false /* isDark */);
483 * @param isDark whether or not the {@code notificationColor} will be placed on a background
488 int backgroundColor, boolean isDark) {
492 color = NotificationColorUtil.ensureTextContrast(color, backgroundColor, isDark);
487 resolveContrastColor(Context context, int notificationColor, int backgroundColor, boolean isDark) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableView.java216 public boolean isDark() { method in class:ExpandableView
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DAmbientState.java178 public boolean isDark() { method in class:AmbientState
406 return isDark() && !isPulsing(row.getEntry());

Completed in 135 milliseconds