/libcore/benchmarks/src/benchmarks/regression/ |
DateIntervalFormatBenchmark.java | 33 formatDateRange(l, utc, 0L, 0L, flags); 43 formatDateRange(l, utc, 0L, 0L, flags); 53 formatDateRange(l, utc, 0L, 0L, flags);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
FormattedDateBuilder.java | 63 DateUtils.formatDateRange(mContext, dateFormatter, when, when, 71 DateUtils.formatDateRange(mContext, dateFormatter, when, when,
|
/libcore/luni/src/main/java/libcore/icu/ |
DateIntervalFormat.java | 66 public static String formatDateRange(long startMs, long endMs, int flags, String olsonId) { 71 return formatDateRange(Locale.getDefault(), tz, startMs, endMs, flags); 76 public static String formatDateRange(Locale locale, TimeZone tz, long startMs, long endMs, int flags) { 93 // of Android's DateUtils.formatDateRange.
|
/libcore/luni/src/test/java/libcore/icu/ |
DateIntervalFormatTest.java | 35 // These are the old CTS tests for DateIntervalFormat.formatDateRange. 62 assertEquals("Monday", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_WEEKDAY)); 63 assertEquals("January 19", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_SHOW_DATE)); 64 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_SHOW_TIME)); 65 assertEquals("January 19, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_YEAR)); 66 assertEquals("January 19", formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_NO_YEAR)); 67 assertEquals("January", formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, FORMAT_NO_MONTH_DAY)); 68 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR | FORMAT_SHOW_TIME)); 69 assertEquals("03:30", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_24HOUR | FORMAT_SHOW_TIME)); 70 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR /*| FORMAT_CAP_AMPM*/ | FORMAT_SHOW_TIME)) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 167 * {@link DateUtils#formatDateRange(Context, Formatter, long, long, int, String) formatDateRange} 170 public String formatDateRange(Context context, long startMillis, 181 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags,
|
Utils.java | 301 * @param flags a bit mask of options See {@link DateUtils#formatDateRange(Context, Formatter, 302 * long, long, int, String) formatDateRange} 305 public static String formatDateRange( 307 return mTZUtils.formatDateRange(context, startMillis, endMillis, flags); 559 return formatDateRange(context, millis, millis, flags); [all...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneInfo.java | 167 DateUtils.formatDateRange(context, mFormatter, now, now, flags, mTzId);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 365 whenString.append(Utils.formatDateRange(mContext, start, end, flags)); 374 whenString.append(Utils.formatDateRange(mContext, start, end, flags)); 414 Utils.formatDateRange(mContext, millis, millis, flags).toString()); 417 label = Utils.formatDateRange(mContext, millis, millis, flags);
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 58 // dates and times in the formatDateRange method. 79 * {@link #formatDateRange(Context, Formatter, long, long, int, String) formatDateRange} 351 return formatDateRange(null, time, time, flags); 397 CharSequence timeClause = formatDateRange(c, time, time, FORMAT_SHOW_TIME); 615 * {@link #formatDateRange(Context, long, long, int) formatDateRange} 622 * {@link #formatDateRange(Context, Formatter, long, long, int, String) formatDateRange} 625 public static String formatDateRange(Context context, long startMillis [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DataUsageSummary.java | [all...] |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |