Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeDurationPreferenceController.java52 int zenDuration = getZenDuration(); in getSummary() local
53 if (zenDuration < 0) { in getSummary()
55 } else if (zenDuration == 0) { in getSummary()
58 if (zenDuration >= 60) { in getSummary()
63 msgArgs.put("count", zenDuration / 60); in getSummary()
70 msgArgs.put("count", zenDuration); in getSummary()
DZenModeButtonPreferenceController.java118 int zenDuration = getZenDuration(); in updateZenButtonOnClickListener()
119 switch (zenDuration) { in updateZenButtonOnClickListener()
127 mBackend.setZenModeForDuration(zenDuration); in updateZenButtonOnClickListener()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeDurationPreferenceControllerTest.java89 int zenDuration = 45; in updateState_DurationCustom() local
91 zenDuration); in updateState_DurationCustom()