Searched refs:mSuggestionFlags (Results 1 – 6 of 6) sorted by relevance
97 @VisibleForTesting public int mSuggestionFlags; field in LocaleStore.LocaleInfo111 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 …]
53 @VisibleForTesting int mSuggestionFlags; field in LocaleStore.LocaleInfo64 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()
49 korea.mSuggestionFlags = LocaleInfo.SUGGESTION_TYPE_SIM; in setUp()61 australianEnglish.mSuggestionFlags = LocaleInfo.SUGGESTION_TYPE_SIM; in setUp()
50 korea.mSuggestionFlags = LocaleInfo.SUGGESTION_TYPE_SIM; in setUp()62 australianEnglish.mSuggestionFlags = LocaleInfo.SUGGESTION_TYPE_SIM; in setUp()
143 assertEquals(info.mSuggestionFlags, suggestionFlags); in testGetSupportedLocaleList_filterNonAppsupportedSystemLanguage()172 assertEquals(source.mSuggestionFlags, suggestionFlags); in testGetSupportedLocaleList_withActiveLocalesFromOtherAppAndIme()263 localeInfo.mSuggestionFlags = suggestionFlag; in createLocaleInfo()
60 assertEquals(info.mSuggestionFlags, LocaleInfo.SUGGESTION_TYPE_IME_LANGUAGE); in testTransformImeLanguageTagToLocaleInfo()79 assertEquals(info.mSuggestionFlags, LocaleInfo.SUGGESTION_TYPE_IME_LANGUAGE); in testTransformImeLanguageTagToLocaleInfo_duplicateTagFilter()