Searched refs:locale (Results 1 – 6 of 6) sorted by relevance
109 bool matches_locale(const std::string& prefix, const std::string& locale);140 int res_create_localized_alpha_surface(const char* name, const char* locale,
390 bool matches_locale(const std::string& prefix, const std::string& locale) { in matches_locale() argument400 if (android::base::StartsWith(locale, prefix)) { in matches_locale()409 return std::regex_match(locale, loc_regex); in matches_locale()441 const char* locale, in res_create_localized_alpha_surface() argument444 if (locale == nullptr) { in res_create_localized_alpha_surface()467 if (y + 1 + h >= height || matches_locale(loc, locale)) { in res_create_localized_alpha_surface()
107 private void switchTo(Locale locale) { in switchTo() argument112 config.locale = locale; in switchTo()
56 virtual bool Init(const std::string& locale);
48 bool Init(const std::string& locale) override;
597 bool ScreenRecoveryUI::Init(const std::string& locale) { in Init() argument598 RecoveryUI::Init(locale); in Init()615 SetLocale(locale); in Init()