Home
last modified time | relevance | path

Searched refs:is24HourFormat (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimeModel.kt43 fun is24HourFormat(): Boolean = DateFormat.is24HourFormat(mContext) in currentTimeMillis() method in com.android.deskclock.data.TimeModel
DTimeModel.java54 boolean is24HourFormat() { in is24HourFormat() method in TimeModel
55 return DateFormat.is24HourFormat(mContext); in is24HourFormat()
DDataModel.java856 public boolean is24HourFormat() { in is24HourFormat() method in DataModel
857 return mTimeModel.is24HourFormat(); in is24HourFormat()
DDataModel.kt851 fun is24HourFormat(): Boolean { in is24HourFormat() method
852 return mTimeModel!!.is24HourFormat() in is24HourFormat()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.kt164 val is24HourFormat: Boolean = DateFormat.is24HourFormat(mContext) in update() constant
165 val fontSize = if (is24HourFormat) m24HourFontSize else m12HourFontSize in update()
DDigitalAppWidgetCityViewsFactory.java184 final boolean is24HourFormat = DateFormat.is24HourFormat(mContext);
185 final float fontSize = is24HourFormat ? m24HourFontSize : m12HourFontSize;
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DTimePickerDialogFragment.kt51 }, hour, minute, DateFormat.is24HourFormat(context)) in <lambda>()
59 timePicker.setIs24HourView(DateFormat.is24HourFormat(context)) in <lambda>()
DTimePickerDialogFragment.java65 }, hour, minute, DateFormat.is24HourFormat(context)); in onCreateDialog()
73 timePicker.setIs24HourView(DateFormat.is24HourFormat(context)); in onCreateDialog()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java103 if (android.text.format.DateFormat.is24HourFormat(context)) { in getMessageDetailsTimeString()
117 if (android.text.format.DateFormat.is24HourFormat(context)) { in getTimeString()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DDateUtils.java38 int formatRes = DateFormat.is24HourFormat(context) in formatDate()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimePickerFragment.java98 return DateFormat.is24HourFormat(getContext()); in is24Hour()
DTimeFormatTogglePreferenceController.java109 return DateFormat.is24HourFormat(getContext()); in is24Hour()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextTime.kt86 val format24Requested: Boolean = DataModel.dataModel.is24HourFormat() in chooseFormat()
DTextTime.java122 final boolean format24Requested = DataModel.getDataModel().is24HourFormat(); in chooseFormat()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/
DTimeFormatPreferenceController.java97 return DateFormat.is24HourFormat(mContext); in is24Hour()
DTimePreferenceController.java108 DateFormat.is24HourFormat(activity)); in buildTimePicker()
/packages/apps/Settings/src/com/android/settings/datetime/
DTimeFormatPreferenceController.java97 return DateFormat.is24HourFormat(mContext); in is24Hour()
DTimePreferenceController.java108 DateFormat.is24HourFormat(activity)); in buildTimePicker()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeVoiceActivity.java111 String skeleton = DateFormat.is24HourFormat(this, UserHandle.myUserId()) ? "Hm" : "hma"; in getChangeSummary()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.kt40 val skeleton = if (DateFormat.is24HourFormat(context)) "EHm" else "Ehma" in getFormattedTime()
DAlarmUtils.java40 final String skeleton = DateFormat.is24HourFormat(context) ? "EHm" : "Ehma"; in getFormattedTime()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeVoiceActivity.java111 String skeleton = DateFormat.is24HourFormat(this, UserHandle.myUserId()) ? "Hm" : "hma"; in getChangeSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplaySettings.java104 final boolean use24HourFormat = android.text.format.DateFormat.is24HourFormat(context); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplaySettings.java104 final boolean use24HourFormat = android.text.format.DateFormat.is24HourFormat(context); in onCreateDialog()
/packages/apps/Calendar/src/com/android/calendar/
DOtherPreferences.java103 mIs24HourMode = DateFormat.is24HourFormat(activity); in onCreate()

12