/aosp12/frameworks/base/core/java/android/text/format/ |
H A D | DateIntervalFormat.java | 98 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()
|
H A D | DateTimeFormat.java | 46 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()
|
H A D | DateFormat.java | 267 public static String getBestDateTimePattern(Locale locale, String skeleton) { in getBestDateTimePattern() argument 271 return dtpg.getBestPattern(skeleton, DateTimePatternGenerator.MATCH_NO_OPTIONS, in getBestDateTimePattern()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | DateFormatTest.java | 144 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()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
H A D | PowerUtil.java | 221 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()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/ |
H A D | ZenModeVoiceActivity.java | 111 String skeleton = DateFormat.is24HourFormat(this, UserHandle.myUserId()) ? "Hm" : "hma"; in getChangeSummary() local 112 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getChangeSummary()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmUtils.kt | 40 val skeleton = if (DateFormat.is24HourFormat(context)) "EHm" else "Ehma" regex 41 val pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton)
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | AlarmTile.kt | 105 val skeleton = if (use24HourFormat()) "EHm" else "Ehma" regex 106 val pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton)
|
/aosp12/hardware/libhardware/modules/audio/ |
H A D | Android.bp | 44 // This can also be used as skeleton for new implementations 60 // The stub audio policy HAL module that can be used as a skeleton for
|
/aosp12/frameworks/base/core/java/android/text/method/ |
H A D | NumberKeyListener.java | 173 @NonNull String skeleton, @NonNull String symbolsToIgnore) { in addFormatCharsFromSkeleton() argument 177 final String pattern = DateFormat.getBestDateTimePattern(locale, skeleton); in addFormatCharsFromSkeleton()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | TextClock.java | 540 private String getBestDateTimePattern(String skeleton) { in getBestDateTimePattern() argument 543 return dtpg.getBestPattern(skeleton); in getBestDateTimePattern()
|
H A D | TimePickerSpinnerDelegate.java | 262 final String skeleton = (mIs24HourView) ? "Hm" : "hm"; in setDividerText() local 264 skeleton); in setDividerText()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
H A D | DatePicker.java | 207 String skeleton = mHasYear ? "yyyyMMMdd" : "MMMdd"; in reorderPickers() local 208 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in reorderPickers()
|
/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | ConvertUtils.java | 139 final String skeleton = is24HourFormat ? "HHm" : "ha"; in utcToLocalTimeHour() local 140 final String pattern = DateFormat.getBestDateTimePattern(locale, skeleton); in utcToLocalTimeHour()
|
/aosp12/packages/apps/DeskClock/src/com/android/alarmclock/ |
H A D | DigitalAppWidgetProvider.kt | 532 val skeleton: String = context.getString(R.string.abbrev_wday_month_day_no_year) 533 return DateFormat.getBestDateTimePattern(locale, skeleton)
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
H A D | EnableZenModeDialog.java | 515 final String skeleton = soon ? (is24 ? "Hm" : "hma") : (is24 ? "EEEHm" : "EEEhma"); in getTime() 516 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getTime()
|
/aosp12/system/apex/docs/ |
H A D | howto.md | 67 #### A script to create a skeleton of APEX 71 that creates a skeleton (`Android.bp`, keys, etc.) of an APEX for you. You only 208 **Note**: the APEX skeleton creation 244 **Note**: the APEX skeleton creation
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarPolicy.java | 371 String skeleton = mDateFormatUtil.is24HourFormat() ? "EHm" : "Ehma"; in buildAlarmContentDescription() local 372 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in buildAlarmContentDescription()
|
/aosp12/hardware/interfaces/health/2.1/ |
H A D | README.md | 36 1. Copy skeleton implementation from the [appendix](#impl).
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 511 final String skeleton = soon ? (is24 ? "Hm" : "hma") : (is24 ? "EEEHm" : "EEEhma"); in computeAlarmWarningText() 512 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in computeAlarmWarningText()
|
/aosp12/frameworks/compile/mclinker/lib/Script/ |
H A D | ScriptParser.yy | 40 %skeleton "glr.cc"
|
/aosp12/system/bt/gd/packet/parser/ |
H A D | language_y.yy | 26 %skeleton "glr.cc"
|
/aosp12/system/tools/aidl/ |
H A D | aidl_language_y.yy | 63 %skeleton "glr.cc"
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 1363 String skeleton = (!isSameDay ? "EEE " : "") in getFormattedTime() local 1365 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getFormattedTime()
|
/aosp12/system/chre/doc/ |
H A D | nanoapp_developer_guide.md | 15 When starting a new nanoapp, it’s helpful to start with the skeleton of an
|