Home
last modified time | relevance | path

Searched refs:warningRes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java477 int warningRes = 0; in computeAlarmWarningText() local
479 warningRes = R.string.zen_alarm_warning_indef; in computeAlarmWarningText()
483 warningRes = R.string.zen_alarm_warning; in computeAlarmWarningText()
486 if (warningRes == 0) { in computeAlarmWarningText()
490 return mContext.getResources().getString(warningRes, getTime(nextAlarm, now)); in computeAlarmWarningText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java493 int warningRes = 0; in computeAlarmWarningText() local
495 warningRes = R.string.zen_alarm_warning_indef; in computeAlarmWarningText()
499 warningRes = R.string.zen_alarm_warning; in computeAlarmWarningText()
502 if (warningRes == 0) { in computeAlarmWarningText()
512 return getResources().getString(warningRes, template); in computeAlarmWarningText()