Searched refs:LocaleUtil (Results 1 – 5 of 5) sorted by relevance
132 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasMultipleChildLocales_returnsTrue()145 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasMultipleChildLocales_localeNotUpdated()159 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasMultipleChildLocales_neverCallsGoBack()173 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasSingleChildLocale_returnsTrue()184 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasSingleChildLocale_localeUpdated()197 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasSingleChildLocale_callsGoBack()210 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_noChildLocale_returnsFalse()217 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_noChildLocale_localeNotUpdated()225 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_noChildLocale_neverCallsGoBack()234 when(LocaleUtil.getLocaleArgument(any())).thenReturn(mLocaleInfo); in testOnPreferenceClick_hasParentLocale_returnsTrue()[all …]
27 public class LocaleUtil { class32 private LocaleUtil() { in LocaleUtil() method in LocaleUtil
40 bundle.putSerializable(LocaleUtil.LOCALE_BUNDLE_KEY, parentLocaleInfo.getLocale()); in newInstance()61 Locale locale = (Locale) getArguments().getSerializable(LocaleUtil.LOCALE_BUNDLE_KEY); in onAttach()
88 LocaleStore.LocaleInfo localeInfo = LocaleUtil.getLocaleArgument(preference); in onPreferenceClick()
140 LocaleUtil.setLocaleArgument(preference, info); in getPreference()