Home | History | Annotate | Download | only in notification

Lines Matching refs:minutes

50             int minutes = intent.getIntExtra(EXTRA_DO_NOT_DISTURB_MODE_MINUTES, -1);
55 if (minutes > 0) {
56 condition = ZenModeConfig.toTimeCondition(this, minutes, UserHandle.myUserId());
69 notifySuccess(getChangeSummary(mode, minutes));
88 private CharSequence getChangeSummary(int mode, int minutes) {
106 if (minutes < 0 || mode == Global.ZEN_MODE_OFF) {
110 long time = System.currentTimeMillis() + minutes * MINUTES_MS;
116 if (minutes < 60) {
117 return res.getQuantityString(byMinute, minutes, minutes, formattedTime);
118 } else if (minutes % 60 != 0) {
121 int hours = minutes / 60;