Home
last modified time | relevance | path

Searched refs:visualEffect (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java1423 for (int visualEffect = 0; visualEffect < mVisualEffects.size(); visualEffect++) { in apply()
1424 if (mVisualEffects.get(visualEffect) == STATE_DISALLOW) { in apply()
1429 if (policyToApply.mVisualEffects.get(visualEffect) != STATE_UNSET) { in apply()
1430 mVisualEffects.set(visualEffect, policyToApply.mVisualEffects.get(visualEffect)); in apply()
1478 for (int visualEffect = 0; visualEffect < mVisualEffects.size(); visualEffect++) { in overwrittenWith()
1479 if (newPolicy.mVisualEffects.get(visualEffect) != STATE_UNSET) { in overwrittenWith()
1480 result.mVisualEffects.set(visualEffect, newPolicy.mVisualEffects.get(visualEffect)); in overwrittenWith()
DZenModeConfig.java1787 private boolean isVisualEffectAllowed(int visualEffect, Policy policy) { in isVisualEffectAllowed() argument
1788 return (policy.suppressedVisualEffects & visualEffect) == 0; in isVisualEffectAllowed()
1791 private boolean isVisualEffectAllowed(int suppressedVisualEffects, int visualEffect) { in isVisualEffectAllowed() argument
1792 return (suppressedVisualEffects & visualEffect) == 0; in isVisualEffectAllowed()