Searched refs:isCurrentLocale (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateUtilsTest.java | 58 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetDayOfWeekString() 79 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetMonthString() 96 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetAMPMString() 108 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_getRelativeTimeSpanString() 134 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_getRelativeTimeSpanString_withContext() 172 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_formatElapsedTime() 193 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatSameDayTime() 235 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange() 248 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange_withFormatter() 264 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange_withFormatterAndTimezone() [all …]
|
D | LocaleUtils.java | 26 public static boolean isCurrentLocale(Context context, Locale locale) { in isCurrentLocale() method in LocaleUtils
|