Searched refs:isCurrentLocale (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateUtilsTest.java | 57 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetDayOfWeekString() 78 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetMonthString() 95 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetAMPMString() 107 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_getRelativeTimeSpanString() 133 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_getRelativeTimeSpanString_withContext() 171 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_formatElapsedTime() 194 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange() 207 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange_withFormatter() 223 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange_withFormatterAndTimezone() 239 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateTime() [all …]
|
D | LocaleUtils.java | 26 public static boolean isCurrentLocale(Context context, Locale locale) { in isCurrentLocale() method in LocaleUtils
|