Home
last modified time | relevance | path

Searched refs:mSuggestionFlags (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java97 @VisibleForTesting public int mSuggestionFlags; field in LocaleStore.LocaleInfo
111 this.mSuggestionFlags = SUGGESTION_TYPE_NONE; in LocaleInfo()
126 this.mSuggestionFlags = localeInfo.mSuggestionFlags; in LocaleInfo()
182 return mSuggestionFlags != SUGGESTION_TYPE_NONE; in isSuggested()
195 return (mSuggestionFlags & suggestionMask) == suggestionMask; in isSuggestionOfType()
207 mSuggestionFlags |= suggestionMask; in extendSuggestionOfType()
288 return (mSuggestionFlags & SUGGESTION_TYPE_CURRENT) > 0; in isAppCurrentLocale()
292 return (mSuggestionFlags & SUGGESTION_TYPE_SYSTEM_LANGUAGE) > 0; in isSystemLocale()
296 return (mSuggestionFlags & SUGGESTION_TYPE_SYSTEM_AVAILABLE_LANGUAGE) > 0; in isInCurrentSystemLocales()
343 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in updateSimCountries()
[all …]
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java53 @VisibleForTesting int mSuggestionFlags; field in LocaleStore.LocaleInfo
64 this.mSuggestionFlags = SUGGESTION_TYPE_NONE; in LocaleInfo()
113 return mSuggestionFlags != SUGGESTION_TYPE_NONE; in isSuggested()
120 return (mSuggestionFlags & suggestionMask) == suggestionMask; in isSuggestionOfType()
236 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in updateSimCountries()
257 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in addSuggestedLocalesForRegion()
282 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in fillCache()
290 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in fillCache()
319 cachedLocale.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_CFG; in fillCache()
/frameworks/opt/localepicker/tests/src/com/android/localepicker/
DSuggestedLocaleAdapterTest.java49 korea.mSuggestionFlags = LocaleInfo.SUGGESTION_TYPE_SIM; in setUp()
61 australianEnglish.mSuggestionFlags = LocaleInfo.SUGGESTION_TYPE_SIM; in setUp()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DBilingualSuggestedLocaleAdapterTest.java50 korea.mSuggestionFlags = LocaleInfo.SUGGESTION_TYPE_SIM; in setUp()
62 australianEnglish.mSuggestionFlags = LocaleInfo.SUGGESTION_TYPE_SIM; in setUp()
/frameworks/base/tests/Internal/src/com/android/internal/app/
DAppLocaleCollectorTest.java143 assertEquals(info.mSuggestionFlags, suggestionFlags); in testGetSupportedLocaleList_filterNonAppsupportedSystemLanguage()
172 assertEquals(source.mSuggestionFlags, suggestionFlags); in testGetSupportedLocaleList_withActiveLocalesFromOtherAppAndIme()
263 localeInfo.mSuggestionFlags = suggestionFlag; in createLocaleInfo()
DLocaleStoreTest.java60 assertEquals(info.mSuggestionFlags, LocaleInfo.SUGGESTION_TYPE_IME_LANGUAGE); in testTransformImeLanguageTagToLocaleInfo()
79 assertEquals(info.mSuggestionFlags, LocaleInfo.SUGGESTION_TYPE_IME_LANGUAGE); in testTransformImeLanguageTagToLocaleInfo_duplicateTagFilter()