Home
last modified time | relevance | path

Searched refs:shouldDisplayGrayscale (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DDefaultDeviceEffectsApplier.java87 if (mLastAppliedEffects.shouldDisplayGrayscale() != effects.shouldDisplayGrayscale()) { in apply()
91 effects.shouldDisplayGrayscale() ? SATURATION_LEVEL_GRAYSCALE in apply()
DZenModeHelper.java1423 if (oldEffects.shouldDisplayGrayscale() != newEffects.shouldDisplayGrayscale()) { in updateZenDeviceEffects()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenDeviceEffectsTest.java70 assertThat(deviceEffects.shouldDisplayGrayscale()).isFalse(); in builder()
96 assertThat(modified.shouldDisplayGrayscale()).isTrue(); // updated in builder_fromInstance()
153 assertThat(copy.shouldDisplayGrayscale()).isFalse(); in writeToParcel_parcelsAndUnparcels()
DZenModeHelperTest.java4369 assertThat(rule.getDeviceEffects().shouldDisplayGrayscale()).isTrue(); in updateAutomaticZenRule_fromUser_updatesBitmaskAndValue()
4424 assertThat(rule.getDeviceEffects().shouldDisplayGrayscale()).isTrue(); in updateAutomaticZenRule_fromSystemUi_updatesValues()
4473 assertThat(storedRule.zenDeviceEffects.shouldDisplayGrayscale()).isTrue(); in updateAutomaticZenRule_fromApp_updatesValuesIfRuleNotUserModified()
4497 assertThat(ruleUser.getDeviceEffects().shouldDisplayGrayscale()).isFalse(); in updateAutomaticZenRule_fromApp_updatesValuesIfRuleNotUserModified()
4526 assertThat(rule.getDeviceEffects().shouldDisplayGrayscale()).isTrue(); in addAutomaticZenRule_updatesValues()
4678 assertThat(rule.getDeviceEffects().shouldDisplayGrayscale()).isTrue(); in automaticZenRuleToZenRule_nullToNonNullDeviceEffectsUpdate()
/frameworks/base/core/java/android/service/notification/
DZenDeviceEffects.java241 public boolean shouldDisplayGrayscale() { in shouldDisplayGrayscale() method in ZenDeviceEffects
403 mGrayscale = zenDeviceEffects.shouldDisplayGrayscale(); in Builder()
570 if (effects.shouldDisplayGrayscale()) setShouldDisplayGrayscale(true); in add()
DZenModeConfig.java1456 deviceEffects.shouldDisplayGrayscale()); in writeZenDeviceEffectsXml()
/frameworks/base/core/api/
Dcurrent.txt41299 method public boolean shouldDisplayGrayscale();