Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/java/android/text/format/
H A 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()
H A 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()
H A DDateFormat.java267 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 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()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModeVoiceActivity.java111 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 DAlarmUtils.kt40 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 DAlarmTile.kt105 val skeleton = if (use24HourFormat()) "EHm" else "Ehma" regex
106 val pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton)
/aosp12/hardware/libhardware/modules/audio/
H A DAndroid.bp44 // 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 DNumberKeyListener.java173 @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 DTextClock.java540 private String getBestDateTimePattern(String skeleton) { in getBestDateTimePattern() argument
543 return dtpg.getBestPattern(skeleton); in getBestDateTimePattern()
H A DTimePickerSpinnerDelegate.java262 final String skeleton = (mIs24HourView) ? "Hm" : "hm"; in setDividerText() local
264 skeleton); in setDividerText()
/aosp12/packages/apps/Contacts/src/com/android/contacts/datepicker/
H A DDatePicker.java207 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 DConvertUtils.java139 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 DDigitalAppWidgetProvider.kt532 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 DEnableZenModeDialog.java515 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 Dhowto.md67 #### 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 DPhoneStatusBarPolicy.java371 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 DREADME.md36 1. Copy skeleton implementation from the [appendix](#impl).
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java511 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 DScriptParser.yy40 %skeleton "glr.cc"
/aosp12/system/bt/gd/packet/parser/
H A Dlanguage_y.yy26 %skeleton "glr.cc"
/aosp12/system/tools/aidl/
H A Daidl_language_y.yy63 %skeleton "glr.cc"
/aosp12/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java1363 String skeleton = (!isSameDay ? "EEE " : "") in getFormattedTime() local
1365 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getFormattedTime()
/aosp12/system/chre/doc/
H A Dnanoapp_developer_guide.md15 When starting a new nanoapp, it’s helpful to start with the skeleton of an

12