Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/format/
DDateFormat.java496 DateFormatSymbols dfs = getIcuDateFormatSymbols(Locale.getDefault()); in format() local
497 String[] amPm = dfs.getAmPmStrings(); in format()
526 replacement = getDayOfWeekString(dfs, in format()
554 replacement = getMonthString(dfs, inDate.get(Calendar.MONTH), count, c); in format()
587 private static String getDayOfWeekString(DateFormatSymbols dfs, int day, int count, int kind) { in getDayOfWeekString() argument
598 return dfs.getWeekdays(context, width)[day]; in getDayOfWeekString()
601 private static String getMonthString(DateFormatSymbols dfs, int month, int count, int kind) { in getMonthString() argument
605 return dfs.getMonths(monthContext, DateFormatSymbols.NARROW)[month]; in getMonthString()
607 return dfs.getMonths(monthContext, DateFormatSymbols.WIDE)[month]; in getMonthString()
609 return dfs.getMonths(monthContext, DateFormatSymbols.ABBREVIATED)[month]; in getMonthString()
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()
/frameworks/base/core/tests/coretests/src/android/text/format/
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()
/frameworks/base/core/java/android/widget/
DTimePicker.java424 DateFormatSymbols dfs = DateFormat.getIcuDateFormatSymbols(locale); in getAmPmStrings() local
425 String[] amPm = dfs.getAmPmStrings(); in getAmPmStrings()
426 String[] narrowAmPm = dfs.getAmpmNarrowStrings(); in getAmPmStrings()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java115 DateFormatSymbols dfs = new DateFormatSymbols(); in DatePicker() local
116 String[] months = dfs.getShortMonths(); in DatePicker()