/frameworks/layoutlib/bridge/src/android/text/format/ |
D | DateFormat_Delegate.java | 34 /*package*/ static boolean is24HourFormat(Context context) { in is24HourFormat() method in DateFormat_Delegate 39 /*package*/ static boolean is24HourFormat(Context context, int userHandle) { in is24HourFormat() method in DateFormat_Delegate
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/time/ |
D | DateFormatUtil.java | 40 public boolean is24HourFormat() { in is24HourFormat() method in DateFormatUtil 41 return DateFormat.is24HourFormat(mContext, mUserTracker.getUserId()); in is24HourFormat()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/uimodenight/ |
D | UiModeNightTileModelHelper.kt | 35 is24HourFormat: Boolean = false, in createModel() 45 is24HourFormat, in createModel()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/ |
D | AlarmTileDataInteractorTest.kt | 85 whenever(dateFormatUtil.is24HourFormat).thenReturn(expectedValue) in <lambda>() 97 val actualValue = (model as AlarmTileModel.NextAlarmSet).is24HourFormat in <lambda>() 104 whenever(dateFormatUtil.is24HourFormat).thenReturn(expectedValue) in <lambda>() 116 val actualValue = (model as AlarmTileModel.NextAlarmSet).is24HourFormat in <lambda>()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneInfo.java | 43 public static boolean is24HourFormat; field in TimeZoneInfo 93 if (is24HourFormat) { in getLocalTime() 98 } else if (is24HourFormat) { in getLocalTime() 154 if (TimeZoneInfo.is24HourFormat) { in getGmtDisplayName()
|
D | TimeZoneData.java | 56 public static boolean is24HourFormat; field in TimeZoneData 68 is24HourFormat = TimeZoneInfo.is24HourFormat = DateFormat.is24HourFormat(context); in TimeZoneData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/alarm/domain/model/ |
D | AlarmTileModel.kt | 25 val is24HourFormat: Boolean, constant in com.android.systemui.qs.tiles.impl.alarm.domain.model.AlarmTileModel.NextAlarmSet
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/model/ |
D | UiModeNightTileModel.kt | 32 val is24HourFormat: Boolean, constant in com.android.systemui.qs.tiles.impl.uimodenight.domain.model.UiModeNightTileModel
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/night/domain/model/ |
D | NightDisplayTileModel.kt | 35 val is24HourFormat: Boolean constant in com.android.systemui.qs.tiles.impl.night.domain.model.NightDisplayTileModel.AutoModeCustom
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 182 public static boolean is24HourFormat(Context context) { in is24HourFormat() method in DateFormat 183 return is24HourFormat(context, context.getUserId()); in is24HourFormat() 196 public static boolean is24HourFormat(Context context, int userHandle) { in is24HourFormat() method in DateFormat 310 String pattern = is24HourFormat(context, userHandle) ? dtpg.getBestPattern("Hm") in getTimeFormatString()
|
D | DateUtils.java | 352 flags |= DateFormat.is24HourFormat(c) ? FORMAT_24HOUR : FORMAT_12HOUR; in getRelativeDateTimeString() 757 flags |= DateFormat.is24HourFormat(context) ? FORMAT_24HOUR : FORMAT_12HOUR; in formatDateRange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/ |
D | AlarmTileDataInteractor.kt | 48 else AlarmTileModel.NextAlarmSet(dateFormatUtil.is24HourFormat, it) in tileData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/night/domain/interactor/ |
D | NightDisplayTileDataInteractor.kt | 82 dateFormatUtil.is24HourFormat, in availability()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | ClockEventController.kt | 183 clock.events.onTimeFormatChanged(DateFormat.is24HourFormat(context)) in <lambda>() 215 clock.events.onTimeFormatChanged(DateFormat.is24HourFormat(context)) in <lambda>() 356 clock?.run { events.onTimeFormatChanged(DateFormat.is24HourFormat(context)) } in <lambda>() 364 clock?.run { events.onTimeFormatChanged(DateFormat.is24HourFormat(context)) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/alarm/domain/ |
D | AlarmTileMapper.kt | 77 if (data.is24HourFormat) formatter24Hour.format(alarmDateTime) in map()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/ |
D | UiModeNightTileDataInteractor.kt | 96 val use24HourFormat = dateFormatUtil.is24HourFormat in createModel()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/night/domain/interactor/ |
D | NightDisplayTileDataInteractorTest.kt | 70 private val dateFormatUtil = mock<DateFormatUtil> { whenever(is24HourFormat).thenReturn(false) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/ |
D | UiModeNightTileMapper.kt | 72 if (is24HourFormat) formatter24Hour else formatter12Hour in map()
|
/frameworks/base/core/java/android/widget/ |
D | TextClock.java | 476 return DateFormat.is24HourFormat(getContext(), ActivityManager.getCurrentUser()); in is24HourModeEnabled() 478 return DateFormat.is24HourFormat(getContext()); in is24HourModeEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/night/ui/ |
D | NightDisplayTileMapper.kt | 105 val formatter = if (data.is24HourFormat) formatter24Hour else formatter12Hour in getSecondaryLabel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | AlarmTile.kt | 114 return DateFormat.is24HourFormat(mContext, userTracker.userId) in <lambda>()
|
D | UiModeNightTile.java | 137 final boolean use24HourFormat = android.text.format.DateFormat.is24HourFormat( in handleUpdateState()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/ |
D | UiModeNightTileDataInteractorTest.kt | 180 verify(dateFormatUtil).is24HourFormat in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 435 boolean is24 = DateFormat.is24HourFormat(context, mCurrentUserId); in getSmallTime() 523 boolean is24 = DateFormat.is24HourFormat(getContext(), mCurrentUserId); in dispatchDemoCommand()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/statusbar/ui/ |
D | AmbientStatusBarViewController.java | 289 final String skeleton = mDateFormatUtil.is24HourFormat() ? "EHm" : "Ehma"; in buildAlarmContentDescription()
|