Home
last modified time | relevance | path

Searched refs:dfs (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/
H A DDateFormatTest.java74 DateFormatSymbols dfs = DateFormat.getIcuDateFormatSymbols(Locale.US); in testgetIcuDateFormatSymbols() local
75 assertEquals("AM", dfs.getAmPmStrings()[0]); in testgetIcuDateFormatSymbols()
76 assertEquals("PM", dfs.getAmPmStrings()[1]); in testgetIcuDateFormatSymbols()
77 assertEquals("a", dfs.getAmpmNarrowStrings()[0]); in testgetIcuDateFormatSymbols()
78 assertEquals("p", dfs.getAmpmNarrowStrings()[1]); in testgetIcuDateFormatSymbols()
/aosp14/frameworks/base/core/java/android/text/format/
H A DDateFormat.java499 DateFormatSymbols dfs = getIcuDateFormatSymbols(Locale.getDefault()); in format() local
500 String[] amPm = dfs.getAmPmStrings(); in format()
529 replacement = getDayOfWeekString(dfs, in format()
557 replacement = getMonthString(dfs, inDate.get(Calendar.MONTH), count, c); in format()
590 private static String getDayOfWeekString(DateFormatSymbols dfs, int day, int count, int kind) { in getDayOfWeekString() argument
601 return dfs.getWeekdays(context, width)[day]; in getDayOfWeekString()
604 private static String getMonthString(DateFormatSymbols dfs, int month, int count, int kind) { in getMonthString() argument
608 return dfs.getMonths(monthContext, DateFormatSymbols.NARROW)[month]; in getMonthString()
610 return dfs.getMonths(monthContext, DateFormatSymbols.WIDE)[month]; in getMonthString()
612 return dfs.getMonths(monthContext, DateFormatSymbols.ABBREVIATED)[month]; in getMonthString()
H A DDateUtils.java206 DateFormatSymbols dfs = DateFormatSymbols.getInstance(); in getDayOfWeekString() local
222 return dfs.getWeekdays(DateFormatSymbols.FORMAT, width)[dayOfWeek]; in getDayOfWeekString()
251 DateFormatSymbols dfs = DateFormat.getIcuDateFormatSymbols(Locale.getDefault()); in getMonthString() local
267 return dfs.getMonths(DateFormatSymbols.FORMAT, width)[month]; in getMonthString()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DExpensiveObjectsPerfTest.java102 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); in timeClonedDateFormatSymbols() local
105 dfs.clone(); in timeClonedDateFormatSymbols()
119 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); in timeClonedDecimalFormatSymbols() local
122 dfs.clone(); in timeClonedDecimalFormatSymbols()
/aosp14/frameworks/base/core/java/android/widget/
H A DTimePicker.java424 DateFormatSymbols dfs = DateFormat.getIcuDateFormatSymbols(locale); in getAmPmStrings() local
425 String[] amPm = dfs.getAmPmStrings(); in getAmPmStrings()
426 String[] narrowAmPm = dfs.getAmpmNarrowStrings(); in getAmPmStrings()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDatePicker.java115 DateFormatSymbols dfs = new DateFormatSymbols(); in DatePicker() local
116 String[] months = dfs.getShortMonths(); in DatePicker()
/aosp14/frameworks/base/native/graphics/jni/fuzz/corpus/
H A Dsample_raf.raf32696 …8Q U!&%�!FO�2&�55�\3:�;bScu�=,v?|#bs�='�<�c��==v@~a�S<0V>s#d�c>->�#dfs>)�<|�d��?p�=��e��;O…