Home
last modified time | relevance | path

Searched refs:shouldUseNightMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DDefaultDeviceEffectsApplier.java111 if (mLastAppliedEffects.shouldUseNightMode() != effects.shouldUseNightMode()) { in apply()
113 updateOrScheduleNightMode(effects.shouldUseNightMode(), origin); in apply()
DZenModeHelper.java1433 if (oldEffects.shouldUseNightMode() != newEffects.shouldUseNightMode()) { in updateZenDeviceEffects()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenDeviceEffectsTest.java73 assertThat(deviceEffects.shouldUseNightMode()).isFalse(); in builder()
97 assertThat(modified.shouldUseNightMode()).isFalse(); // updated in builder_fromInstance()
151 assertThat(copy.shouldUseNightMode()).isTrue(); in writeToParcel_parcelsAndUnparcels()
/frameworks/base/core/java/android/service/notification/
DZenDeviceEffects.java260 public boolean shouldUseNightMode() { in shouldUseNightMode() method in ZenDeviceEffects
406 mNightMode = zenDeviceEffects.shouldUseNightMode(); in Builder()
573 if (effects.shouldUseNightMode()) setShouldUseNightMode(true); in add()
DZenModeConfig.java1460 writeBooleanIfTrue(out, DEVICE_EFFECT_USE_NIGHT_MODE, deviceEffects.shouldUseNightMode()); in writeZenDeviceEffectsXml()
/frameworks/base/core/api/
Dcurrent.txt41301 method public boolean shouldUseNightMode();