Searched refs:locale (Results 1 – 7 of 7) sorted by relevance
/bootable/recovery/minui/ |
D | minui.h | 97 bool matches_locale(const char* prefix, const char* locale); 128 int res_create_localized_alpha_surface(const char* name, const char* locale,
|
D | resources.cpp | 375 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/ |
D | screen_ui.h | 33 void SetLocale(const char* locale); 74 const char* locale; variable
|
D | ui.h | 37 virtual void SetLocale(const char* locale) = 0;
|
D | recovery.cpp | 125 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 …]
|
D | screen_ui.cpp | 55 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/ |
D | Main.java | 106 private void switchTo(Locale locale) { in switchTo() argument 111 config.locale = locale; in switchTo()
|