Searched refs:dfs (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateFormatTest.java | 65 DateFormatSymbols dfs = DateFormat.getIcuDateFormatSymbols(Locale.US); in testgetIcuDateFormatSymbols() local 66 assertEquals("AM", dfs.getAmPmStrings()[0]); in testgetIcuDateFormatSymbols() 67 assertEquals("PM", dfs.getAmPmStrings()[1]); in testgetIcuDateFormatSymbols() 68 assertEquals("a", dfs.getAmpmNarrowStrings()[0]); in testgetIcuDateFormatSymbols() 69 assertEquals("p", dfs.getAmpmNarrowStrings()[1]); in testgetIcuDateFormatSymbols()
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 478 DateFormatSymbols dfs = getIcuDateFormatSymbols(Locale.getDefault()); in format() local 479 String[] amPm = dfs.getAmPmStrings(); in format() 508 replacement = getDayOfWeekString(dfs, in format() 536 replacement = getMonthString(dfs, inDate.get(Calendar.MONTH), count, c); in format() 569 private static String getDayOfWeekString(DateFormatSymbols dfs, int day, int count, int kind) { in getDayOfWeekString() argument 580 return dfs.getWeekdays(context, width)[day]; in getDayOfWeekString() 583 private static String getMonthString(DateFormatSymbols dfs, int month, int count, int kind) { in getMonthString() argument 587 return dfs.getMonths(monthContext, DateFormatSymbols.NARROW)[month]; in getMonthString() 589 return dfs.getMonths(monthContext, DateFormatSymbols.WIDE)[month]; in getMonthString() 591 return dfs.getMonths(monthContext, DateFormatSymbols.ABBREVIATED)[month]; in getMonthString()
|
D | DateUtils.java | 202 DateFormatSymbols dfs = DateFormatSymbols.getInstance(); in getDayOfWeekString() local 218 return dfs.getWeekdays(DateFormatSymbols.FORMAT, width)[dayOfWeek]; in getDayOfWeekString() 247 DateFormatSymbols dfs = DateFormat.getIcuDateFormatSymbols(Locale.getDefault()); in getMonthString() local 263 return dfs.getMonths(DateFormatSymbols.FORMAT, width)[month]; in getMonthString()
|
/frameworks/base/core/java/android/widget/ |
D | TimePicker.java | 424 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/ |
D | DatePicker.java | 115 DateFormatSymbols dfs = new DateFormatSymbols(); in DatePicker() local 116 String[] months = dfs.getShortMonths(); in DatePicker()
|