Searched refs:FORMAT_12HOUR (Results 1 – 9 of 9) sorted by relevance
73 public static final int FORMAT_12HOUR = 0x00040; field in DateUtils347 if ((flags & (FORMAT_SHOW_TIME | FORMAT_12HOUR | FORMAT_24HOUR)) == FORMAT_SHOW_TIME) { in getRelativeDateTimeString()348 flags |= DateFormat.is24HourFormat(c) ? FORMAT_24HOUR : FORMAT_12HOUR; in getRelativeDateTimeString()748 if ((flags & (FORMAT_SHOW_TIME | FORMAT_12HOUR | FORMAT_24HOUR)) == FORMAT_SHOW_TIME) { in formatDateRange()749 flags |= DateFormat.is24HourFormat(context) ? FORMAT_24HOUR : FORMAT_12HOUR; in formatDateRange()
19 import static android.text.format.DateUtils.FORMAT_12HOUR;96 } else if ((flags & FORMAT_12HOUR) != 0) { in toSkeleton()
22 import static android.text.format.DateUtils.FORMAT_12HOUR;105 formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR | FORMAT_SHOW_TIME)); in test_formatDateInterval()109 FORMAT_12HOUR /*| FORMAT_CAP_AMPM*/ | FORMAT_SHOW_TIME)); in test_formatDateInterval()112 FORMAT_12HOUR | FORMAT_SHOW_TIME)); in test_formatDateInterval()115 FORMAT_12HOUR | FORMAT_SHOW_TIME /*| FORMAT_CAP_NOON*/)); in test_formatDateInterval()118 FORMAT_12HOUR /*| FORMAT_NO_NOON*/ | FORMAT_SHOW_TIME)); in test_formatDateInterval()121 FORMAT_12HOUR | FORMAT_SHOW_TIME /*| FORMAT_NO_MIDNIGHT*/)); in test_formatDateInterval()360 int time12 = FORMAT_12HOUR | FORMAT_SHOW_TIME; in test10318326()608 int flags = FORMAT_SHOW_TIME | FORMAT_ABBREV_ALL | FORMAT_12HOUR; in test13234532()
429 flags |= DateUtils.FORMAT_12HOUR; in onPopulateAccessibilityEvent()
686 flags |= DateUtils.FORMAT_12HOUR;
412 DeprecationMismatch: android.text.format.DateUtils#FORMAT_12HOUR:
47779 field @Deprecated public static final int FORMAT_12HOUR = 64; // 0x40
30063 field public static final deprecated int FORMAT_12HOUR = 64; // 0x40
47635 field @Deprecated public static final int FORMAT_12HOUR = 64; // 0x40