Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/
DZenModeDurationPreferenceController.java47 int zenDuration = getZenDuration(); in getSummary() local
48 if (zenDuration < 0) { in getSummary()
50 } else if (zenDuration == 0) { in getSummary()
53 if (zenDuration >= 60) { in getSummary()
54 int hours = zenDuration / 60; in getSummary()
59 R.string.zen_mode_duration_summary_time_minutes, zenDuration); in getSummary()
DZenModeButtonPreferenceController.java99 int zenDuration = getZenDuration(); in updateZenButtonOnClickListener() local
100 switch (zenDuration) { in updateZenButtonOnClickListener()
119 mBackend.setZenModeForDuration(zenDuration); in updateZenButtonOnClickListener()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeDurationPreferenceController.java47 int zenDuration = getZenDuration(); in getSummary() local
48 if (zenDuration < 0) { in getSummary()
50 } else if (zenDuration == 0) { in getSummary()
53 if (zenDuration >= 60) { in getSummary()
54 int hours = zenDuration / 60; in getSummary()
59 R.string.zen_mode_duration_summary_time_minutes, zenDuration); in getSummary()
DZenModeButtonPreferenceController.java98 int zenDuration = getZenDuration(); in updateZenButtonOnClickListener() local
99 switch (zenDuration) { in updateZenButtonOnClickListener()
118 mBackend.setZenModeForDuration(zenDuration); in updateZenButtonOnClickListener()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeDurationPreferenceControllerTest.java87 int zenDuration = 45; in updateState_DurationCustom() local
89 zenDuration); in updateState_DurationCustom()
92 zenDuration), mController.getSummary()); in updateState_DurationCustom()