Home
last modified time | relevance | path

Searched refs:locale (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/minui/
Dminui.h97 bool matches_locale(const char* prefix, const char* locale);
128 int res_create_localized_alpha_surface(const char* name, const char* locale,
Dresources.cpp375 bool matches_locale(const char* prefix, const char* locale) { in matches_locale() argument
376 if (locale == NULL) return false; in matches_locale()
382 return (strncmp(prefix, locale, strlen(prefix)) == 0); in matches_locale()
386 const char* locale, in res_create_localized_alpha_surface() argument
399 if (locale == NULL) { in res_create_localized_alpha_surface()
424 if (y+1+h >= height || matches_locale(loc, locale)) { in res_create_localized_alpha_surface()
/bootable/recovery/
Dscreen_ui.h33 void SetLocale(const char* locale);
74 const char* locale; variable
Dui.h37 virtual void SetLocale(const char* locale) = 0;
Drecovery.cpp125 static const char* locale = "en_US"; variable
538 if (locale != NULL) { in finish_recovery()
539 size_t len = strlen(locale); in finish_recovery()
540 __pmsg_write(LOCALE_FILE, locale, len); in finish_recovery()
542 LOGI("Saving locale \"%s\"\n", locale); in finish_recovery()
544 fwrite(locale, 1, len, fp); in finish_recovery()
1316 locale = strdup(buffer); in load_locale_from_cache()
1561 case 'l': locale = optarg; break; in main()
1589 if (locale == nullptr && has_cache) { in main()
1592 printf("locale is [%s]\n", locale); in main()
[all …]
Dscreen_ui.cpp55 locale(nullptr), in ScreenRecoveryUI()
425 int result = res_create_localized_alpha_surface(filename, locale, surface); in LoadLocalizedBitmap()
535 this->locale = new_locale; in SetLocale()
538 if (locale) { in SetLocale()
539 char* lang = strdup(locale); in SetLocale()
/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
DMain.java106 private void switchTo(Locale locale) { in switchTo() argument
111 config.locale = locale; in switchTo()