Home
last modified time | relevance | path

Searched refs:getBestDateTimePattern (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/format/
DDateFormatTest.java146 return DateFormat.getBestDateTimePattern(l, skeleton); in best()
160 assertEquals("h:mm a", DateFormat.getBestDateTimePattern(Locale.US, "jmma")); in testGetBestDateTimePattern_enableDuplicateField()
161 assertEquals("h:mm a", DateFormat.getBestDateTimePattern(Locale.US, "ahmma")); in testGetBestDateTimePattern_enableDuplicateField()
166 DateFormat.getBestDateTimePattern(l, skeleton); in assertIllegalArgumentException()
/frameworks/base/core/java/android/widget/
DTextClock.java283 mFormat12 = getBestDateTimePattern("hm"); in init()
286 mFormat24 = getBestDateTimePattern("Hm"); in init()
555 mFormat = abc(mFormat24, mFormat12, getBestDateTimePattern("Hm")); in chooseFormat()
558 mFormat = abc(mFormat12, mFormat24, getBestDateTimePattern("hm")); in chooseFormat()
570 private String getBestDateTimePattern(String skeleton) { in getBestDateTimePattern() method in TextClock
DTimePickerSpinnerDelegate.java227 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in getHourFormatData()
247 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in isAmPmAtStart()
263 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in setDividerText()
DTimePickerClockDelegate.java307 final String bestDateTimePattern = DateFormat.getBestDateTimePattern( in updateHourFormat()
444 final String dateTimePattern = DateFormat.getBestDateTimePattern(mLocale, "hm");
802 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale,
DDatePickerSpinnerDelegate.java460 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), "yyyyMMMdd"); in reorderSpinners()
DSimpleMonthView.java192 final String format = DateFormat.getBestDateTimePattern(mLocale, MONTH_YEAR_FORMAT); in updateMonthYearLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DDreamClockTimeComplication.java19 import static android.text.format.DateFormat.getBestDateTimePattern;
113 String pattern = getBestDateTimePattern(view.getTextLocale(), formatSkeleton); in DreamClockTimeViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAlarmTile.kt120 val pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton) in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java170 String format = DateFormat.getBestDateTimePattern(locale, "dMMMMyyyy"); in getSecurityPatch()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java178 final String pattern = DateFormat.getBestDateTimePattern(locale, skeleton); in addFormatCharsFromSkeleton()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DAnimatableClockView.kt632 DateFormat.getBestDateTimePattern(locale, clockView12Skel).let { in <lambda>()
640 sClockView24 = DateFormat.getBestDateTimePattern(locale, clockView24Skel) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/statusbar/ui/
DAmbientStatusBarViewController.java323 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in buildAlarmContentDescription()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/security/
DCellularNetworkSecuritySafetySource.java351 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), "hh:mm"); in getCurrentTime()
/frameworks/base/core/java/android/text/format/
DDateFormat.java268 public static String getBestDateTimePattern(Locale locale, String skeleton) { in getBestDateTimePattern() method in DateFormat
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/modes/
DEnableDndDialogFactory.java525 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java435 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in buildAlarmContentDescription()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java2161 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getFormattedTime()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java3852 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in formatNextAlarm()
/frameworks/base/boot/
Dboot-image-profile.txt15540 HSPLandroid/text/format/DateFormat;->getBestDateTimePattern(Ljava/util/Locale;Ljava/lang/String;)Lj…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30032 … method public static java.lang.String getBestDateTimePattern(java.util.Locale, java.lang.String);
/frameworks/base/core/api/
Dcurrent.txt49596 method public static String getBestDateTimePattern(java.util.Locale, String);