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.java1304 final CharSequence formattedTime = in toTimeCondition() local
1312 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
1315 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
1316 line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1322 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
1325 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
1326 line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1329 summary = line1 = line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1342 final CharSequence formattedTime = getFormattedTime(context, alarm, isSameDay, userHandle); in toNextAlarmCondition() local
1344 final String line1 = res.getString(R.string.zen_mode_until, formattedTime); in toNextAlarmCondition()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java501 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm); in getTime()
503 return mContext.getResources().getString(templateRes, formattedTime); in getTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java513 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm); in computeAlarmWarningText()
515 final String template = getResources().getString(templateRes, formattedTime); in computeAlarmWarningText()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp728 char formattedTime[64]; in getFormattedCurrentTime() local
729 strftime(formattedTime, sizeof(formattedTime), "%m-%d %H:%M:%S", localtime(&now)); in getFormattedCurrentTime()
730 return String8(formattedTime); in getFormattedCurrentTime()