Home
last modified time | relevance | path

Searched refs:formattedTime (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1197 final CharSequence formattedTime = in toTimeCondition() local
1205 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
1208 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
1209 line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1215 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
1218 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
1219 line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1222 summary = line1 = line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1235 final CharSequence formattedTime = getFormattedTime(context, alarm, isSameDay, userHandle); in toNextAlarmCondition() local
1237 final String line1 = res.getString(R.string.zen_mode_until, formattedTime); in toNextAlarmCondition()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java499 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm); in getTime()
501 return mContext.getResources().getString(templateRes, formattedTime); in getTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java509 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm); in computeAlarmWarningText()
511 final String template = getResources().getString(templateRes, formattedTime); in computeAlarmWarningText()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp582 char formattedTime[64]; in getFormattedCurrentTime() local
583 strftime(formattedTime, sizeof(formattedTime), "%m-%d %H:%M:%S", localtime(&now)); in getFormattedCurrentTime()
584 return String8(formattedTime); in getFormattedCurrentTime()