Home
last modified time | relevance | path

Searched refs:getFormattedTime (Results 1 – 10 of 10) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.kt39 fun getFormattedTime(context: Context, time: Calendar): String { in getFormattedTime() method
46 fun getFormattedTime(context: Context, timeInMillis: Long): String { in getFormattedTime() method
49 return getFormattedTime(context, c) in getFormattedTime()
54 val alarmTimeStr: String = getFormattedTime(context, instance.alarmTime) in getAlarmText()
DUtils.kt306 return AlarmUtils.getFormattedTime(context, alarmTime) in getNextAlarmLOrLater()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DBaseFormatter.kt63 R.string.data_entry_header_without_source_app, getFormattedTime(record)) in getHeader()
65 R.string.data_entry_header_with_source_app, getFormattedTime(record), appName) in getHeader()
76 private fun getFormattedTime(record: T): String { in getFormattedTime() method
/packages/apps/Settings/src/com/android/settings/notification/zen/
DAbstractZenModePreferenceController.java189 protected CharSequence getFormattedTime(long time, int userHandle) { in getFormattedTime() method in AbstractZenModePreferenceController.ZenModeConfigWrapper
190 return ZenModeConfig.getFormattedTime(mContext, time, isToday(time), userHandle); in getFormattedTime()
DZenModeSettingsFooterPreferenceController.java144 final CharSequence formattedTime = mZenModeConfigWrapper.getFormattedTime( in getDefaultPolicyFooter()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DTimeUtils.java41 public static CharSequence getFormattedTime(Context context, Calendar calendar) { in getFormattedTime() method in TimeUtils
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.kt116 instance.mId, AlarmUtils.getFormattedTime(context, time), timeInMillis) in <lambda>()
249 time = AlarmUtils.getFormattedTime(context, nextAlarm.alarmTime) in <lambda>()
334 AlarmUtils.getFormattedTime(context, nextRepeatedInstance.alarmTime)) in <lambda>()
544 AlarmUtils.getFormattedTime(context, newAlarmTime)) in <lambda>()
DAlarmNotifications.kt392 AlarmUtils.getFormattedTime(context, instance.alarmTime))) in showSnoozeNotification()
442 val alarmTime: String = AlarmUtils.getFormattedTime(context, instance.alarmTime) in showMissedNotification()
501 .setContentText(AlarmUtils.getFormattedTime( in showAlarmNotification()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeSettingsFooterPreferenceControllerTest.java280 when(mConfigWrapper.getFormattedTime(time, mContext.getUserId())) in injectManualRuleWithTimeCountdown()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.kt388 val contentText: CharSequence = AlarmUtils.getFormattedTime(context, in buildMissed()