Home
last modified time | relevance | path

Searched refs:FORMAT_SHOW_YEAR (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/format/
DDateIntervalFormatTest.java34 import static android.text.format.DateUtils.FORMAT_SHOW_YEAR;
98 formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_YEAR)); in test_formatDateInterval()
136 FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); in test_formatDateInterval()
139 FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); in test_formatDateInterval()
142 FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); in test_formatDateInterval()
145 FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); in test_formatDateInterval()
148 FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); in test_formatDateInterval()
150 FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); in test_formatDateInterval()
153 FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); in test_formatDateInterval()
156 FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); in test_formatDateInterval()
[all …]
DRelativeDateTimeFormatterTest.java23 import static android.text.format.DateUtils.FORMAT_SHOW_YEAR;
679 base - 30 * DAY_IN_MILLIS, base, DAY_IN_MILLIS, FORMAT_SHOW_YEAR)); in test_bug19822016()
683 base - 60 * DAY_IN_MILLIS, base, DAY_IN_MILLIS, FORMAT_SHOW_YEAR)); in test_bug19822016()
702 base - 30 * DAY_IN_MILLIS, base, DAY_IN_MILLIS, FORMAT_SHOW_YEAR)); in test_bug19822016()
706 base - 60 * DAY_IN_MILLIS, base, DAY_IN_MILLIS, FORMAT_SHOW_YEAR)); in test_bug19822016()
/frameworks/base/core/java/android/text/format/
DDateUtilsBridge.java31 import static android.text.format.DateUtils.FORMAT_SHOW_YEAR;
128 if ((flags & FORMAT_SHOW_YEAR) != 0) { in toSkeleton()
134 flags |= FORMAT_SHOW_YEAR; in toSkeleton()
140 if ((flags & FORMAT_SHOW_YEAR) != 0) { in toSkeleton()
DRelativeDateTimeFormatter.java26 import static android.text.format.DateUtils.FORMAT_SHOW_YEAR;
212 if ((flags & (FORMAT_NO_YEAR | FORMAT_SHOW_YEAR)) == 0) { in getRelativeTimeSpanString()
217 flags |= FORMAT_SHOW_YEAR; in getRelativeTimeSpanString()
305 flags = FORMAT_SHOW_DATE | FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE; in getRelativeDateTimeString()
DDateUtils.java68 public static final int FORMAT_SHOW_YEAR = 0x00004; field in DateUtils
291 int flags = FORMAT_SHOW_DATE | FORMAT_SHOW_YEAR | FORMAT_ABBREV_MONTH; in getRelativeTimeSpanString()
848 int flags = FORMAT_SHOW_DATE | FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE; in getRelativeTimeSpanString()
/frameworks/base/core/java/android/widget/
DDatePicker.java694 DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR in getFormattedCurrentDate()
DCalendarViewLegacyDelegate.java934 | DateUtils.FORMAT_SHOW_YEAR; in setMonthDisplayed()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java67 | DateUtils.FORMAT_SHOW_YEAR
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30083 field public static final int FORMAT_SHOW_YEAR = 4; // 0x4
/frameworks/base/non-updatable-api/
Dcurrent.txt47655 field public static final int FORMAT_SHOW_YEAR = 4; // 0x4
/frameworks/base/api/
Dcurrent.txt47799 field public static final int FORMAT_SHOW_YEAR = 4; // 0x4