Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModeVoiceActivity.java113 CharSequence formattedTime = DateFormat.format(pattern, time); in getChangeSummary() local
117 return res.getQuantityString(byMinute, minutes, minutes, formattedTime); in getChangeSummary()
119 return res.getString(byTime, formattedTime); in getChangeSummary()
122 return res.getQuantityString(byHour, hours, hours, formattedTime); in getChangeSummary()
H A DZenModeSettingsFooterPreferenceController.java144 final CharSequence formattedTime = mZenModeConfigWrapper.getFormattedTime( in getDefaultPolicyFooter() local
148 formattedTime); in getDefaultPolicyFooter()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DLapsAdapter.kt228 val formattedTime = formatTime(longestLapTime, lapTime, LRM_SPACE) regex
231 val newLength = formattedTime.length
237 return formattedTime
249 val formattedTime = formatTime(longestAccumulatedTime, accumulatedTime, LRM_SPACE) regex
252 val newLength = formattedTime.length
258 return formattedTime
/aosp12/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java1311 final CharSequence formattedTime = in toTimeCondition() local
1319 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
1322 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
1323 line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1329 summary = res.getQuantityString(summaryResId, num, num, formattedTime); in toTimeCondition()
1332 line1 = res.getQuantityString(line1ResId, num, num, formattedTime); in toTimeCondition()
1333 line2 = res.getString(R.string.zen_mode_until, formattedTime); in toTimeCondition()
1337 formattedTime); in toTimeCondition()
1352 final String line1 = res.getString(R.string.zen_mode_until, formattedTime); in toNextAlarmCondition()
2141 final CharSequence formattedTime = getFormattedTime(context, in getDescription() local
[all …]
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DEnableZenModeDialog.java517 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm); in getTime()
519 return mContext.getResources().getString(templateRes, formattedTime); in getTime()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java513 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm); in computeAlarmWarningText()
515 final String template = getResources().getString(templateRes, formattedTime); in computeAlarmWarningText()
/aosp12/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp798 char formattedTime[64]; in getFormattedCurrentTime() local
799 strftime(formattedTime, sizeof(formattedTime), "%m-%d %H:%M:%S", localtime(&now)); in getFormattedCurrentTime()
800 return String8(formattedTime); in getFormattedCurrentTime()