Home
last modified time | relevance | path

Searched refs:skeleton (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/text/format/
DDateIntervalFormat.java98 String skeleton = DateUtilsBridge.toSkeleton(startCalendar, endCalendar, flags); in formatDateRange() local
101 getFormatter(skeleton, icuLocale, icuTimeZone); in formatDateRange()
107 private static android.icu.text.DateIntervalFormat getFormatter(String skeleton, ULocale locale, in getFormatter() argument
109 String key = skeleton + "\t" + locale + "\t" + icuTimeZone; in getFormatter()
114 formatter = android.icu.text.DateIntervalFormat.getInstance(skeleton, locale); in getFormatter()
DDateTimeFormat.java46 String skeleton = DateUtilsBridge.toSkeleton(time, flags); in format() local
47 String key = skeleton + "\t" + icuLocale + "\t" + time.getTimeZone(); in format()
53 formatter = new SimpleDateFormat(generator.getBestPattern(skeleton), icuLocale); in format()
DDateFormat.java267 public static String getBestDateTimePattern(Locale locale, String skeleton) { in getBestDateTimePattern() argument
271 return dtpg.getBestPattern(skeleton, DateTimePatternGenerator.MATCH_NO_OPTIONS, in getBestDateTimePattern()
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateFormatTest.java144 private static String best(Locale l, String skeleton) { in best() argument
145 return DateFormat.getBestDateTimePattern(l, skeleton); in best()
163 private static void assertIllegalArgumentException(Locale l, String skeleton) { in assertIllegalArgumentException() argument
165 DateFormat.getBestDateTimePattern(l, skeleton); in assertIllegalArgumentException()
167 + " skeleton: " + skeleton); in assertIllegalArgumentException()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DPowerUtil.java221 String skeleton = android.text.format.DateFormat.getTimeFormatString(context); in getDateTimeStringFromMs() local
222 DateFormat fmt = DateFormat.getInstanceForSkeleton(skeleton); in getDateTimeStringFromMs()
235 String skeleton = android.text.format.DateFormat.getTimeFormatString(context); in getRegularTimeRemainingShortString() local
236 DateFormat fmt = DateFormat.getInstanceForSkeleton(skeleton); in getRegularTimeRemainingShortString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAlarmTile.kt105 val skeleton = if (use24HourFormat()) "EHm" else "Ehma" in <lambda>() constant
106 val pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton) in <lambda>()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java173 @NonNull String skeleton, @NonNull String symbolsToIgnore) { in addFormatCharsFromSkeleton() argument
177 final String pattern = DateFormat.getBestDateTimePattern(locale, skeleton); in addFormatCharsFromSkeleton()
/frameworks/base/core/java/android/widget/
DTextClock.java540 private String getBestDateTimePattern(String skeleton) { in getBestDateTimePattern() argument
543 return dtpg.getBestPattern(skeleton); in getBestDateTimePattern()
DTimePickerSpinnerDelegate.java262 final String skeleton = (mIs24HourView) ? "Hm" : "hm"; in setDividerText() local
264 skeleton); in setDividerText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayStatusBarViewController.java281 final String skeleton = mDateFormatUtil.is24HourFormat() ? "EHm" : "Ehma"; in buildAlarmContentDescription() local
282 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in buildAlarmContentDescription()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java516 final String skeleton = soon ? (is24 ? "Hm" : "hma") : (is24 ? "EEEHm" : "EEEhma"); in getTime()
517 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java380 String skeleton = mDateFormatUtil.is24HourFormat() ? "EHm" : "Ehma"; in buildAlarmContentDescription() local
381 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in buildAlarmContentDescription()
/frameworks/compile/mclinker/lib/Script/
DScriptParser.yy40 %skeleton "glr.cc"
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1403 String skeleton = (!isSameDay ? "EEE " : "") in getFormattedTime() local
1405 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getFormattedTime()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java3939 String skeleton = DateFormat.is24HourFormat(context, userId) ? "EHm" : "Ehma"; in formatNextAlarm() local
3940 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in formatNextAlarm()