Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.java39 public static String getFormattedTime(Context context, Calendar time) { in getFormattedTime() method in AlarmUtils
45 public static String getFormattedTime(Context context, long timeInMillis) { in getFormattedTime() method in AlarmUtils
48 return getFormattedTime(context, c); in getFormattedTime()
53 String alarmTimeStr = getFormattedTime(context, instance.getAlarmTime()); in getAlarmText()
DUtils.java305 return AlarmUtils.getFormattedTime(context, alarmTime); in getNextAlarmLOrLater()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemePreviewPage.java193 clock.setText(getFormattedTime()); in bindPreviewContent()
244 getFormattedTime()); in updateTime()
253 private String getFormattedTime() { in getFormattedTime() method in ThemePreviewPage.ThemeCoverPage
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DAbstractZenModePreferenceController.java183 protected CharSequence getFormattedTime(long time, int userHandle) { in getFormattedTime() method in AbstractZenModePreferenceController.ZenModeConfigWrapper
184 return ZenModeConfig.getFormattedTime(mContext, time, isToday(time), userHandle); in getFormattedTime()
DZenModeSettingsFooterPreferenceController.java144 final CharSequence formattedTime = mZenModeConfigWrapper.getFormattedTime( in getDefaultPolicyFooter()
/packages/apps/Settings/src/com/android/settings/notification/
DAbstractZenModePreferenceController.java183 protected CharSequence getFormattedTime(long time, int userHandle) { in getFormattedTime() method in AbstractZenModePreferenceController.ZenModeConfigWrapper
184 return ZenModeConfig.getFormattedTime(mContext, time, isToday(time), userHandle); in getFormattedTime()
DZenModeSettingsFooterPreferenceController.java144 final CharSequence formattedTime = mZenModeConfigWrapper.getFormattedTime( in getDefaultPolicyFooter()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java206 time = AlarmUtils.getFormattedTime(context, nextAlarm.getAlarmTime()); in updateNextAlarmInSystemSettings()
290 AlarmUtils.getFormattedTime(context, nextRepeatedInstance.getAlarmTime())); in updateParentAlarm()
489 + AlarmUtils.getFormattedTime(context, newAlarmTime)); in setSnoozeState()
1004 instance.mId, AlarmUtils.getFormattedTime(context, time), timeInMillis); in scheduleInstanceStateChange()
DAlarmNotifications.java304 AlarmUtils.getFormattedTime(context, instance.getAlarmTime()))) in showSnoozeNotification()
343 String alarmTime = AlarmUtils.getFormattedTime(context, instance.getAlarmTime()); in showMissedNotification()
389 .setContentText(AlarmUtils.getFormattedTime(service, instance.getAlarmTime())) in showAlarmNotification()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeSettingsFooterPreferenceControllerTest.java279 when(mConfigWrapper.getFormattedTime(time, mContext.getUserId())) in injectManualRuleWithTimeCountdown()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.java365 final CharSequence contentText = AlarmUtils.getFormattedTime(context, in buildMissed()