Home
last modified time | relevance | path

Searched refs:isVisualEffectAllowed (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1716 boolean suppressFullScreenIntent = !zenPolicy.isVisualEffectAllowed( in toNotificationPolicy()
1718 isVisualEffectAllowed(Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT, in toNotificationPolicy()
1721 boolean suppressLights = !zenPolicy.isVisualEffectAllowed( in toNotificationPolicy()
1723 isVisualEffectAllowed(Policy.SUPPRESSED_EFFECT_LIGHTS, in toNotificationPolicy()
1726 boolean suppressAmbient = !zenPolicy.isVisualEffectAllowed( in toNotificationPolicy()
1728 isVisualEffectAllowed(SUPPRESSED_EFFECT_AMBIENT, in toNotificationPolicy()
1743 if (!zenPolicy.isVisualEffectAllowed(ZenPolicy.VISUAL_EFFECT_PEEK, in toNotificationPolicy()
1744 isVisualEffectAllowed(Policy.SUPPRESSED_EFFECT_PEEK, in toNotificationPolicy()
1750 if (!zenPolicy.isVisualEffectAllowed(ZenPolicy.VISUAL_EFFECT_STATUS_BAR, in toNotificationPolicy()
1751 isVisualEffectAllowed(Policy.SUPPRESSED_EFFECT_STATUS_BAR, in toNotificationPolicy()
[all …]
DZenPolicy.java1382 public boolean isVisualEffectAllowed(@VisualEffect int effect, boolean defaultVal) { in isVisualEffectAllowed() method in ZenPolicy
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1670 .isVisualEffectAllowed(VISUAL_EFFECT_FULL_SCREEN_INTENT, true)).isFalse(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1672 .isVisualEffectAllowed(VISUAL_EFFECT_LIGHTS, true)).isFalse(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1674 .isVisualEffectAllowed(VISUAL_EFFECT_PEEK, true)).isFalse(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1676 .isVisualEffectAllowed(VISUAL_EFFECT_AMBIENT, true)).isFalse(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1678 .isVisualEffectAllowed(VISUAL_EFFECT_BADGE, true)).isTrue(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1695 .isVisualEffectAllowed(VISUAL_EFFECT_PEEK, true)).isFalse(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1697 .isVisualEffectAllowed(VISUAL_EFFECT_AMBIENT, true)).isTrue(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1714 .isVisualEffectAllowed(VISUAL_EFFECT_FULL_SCREEN_INTENT, true)).isFalse(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1716 .isVisualEffectAllowed(VISUAL_EFFECT_LIGHTS, true)).isFalse(); in testMigrateSuppressedVisualEffects_bothExistButOn()
1718 .isVisualEffectAllowed(VISUAL_EFFECT_AMBIENT, true)).isFalse(); in testMigrateSuppressedVisualEffects_bothExistButOn()
[all …]