Searched refs:locale (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/minui/ |
D | resources.cpp | 35 extern char* locale; 366 static int matches_locale(const char* loc, const char* locale) { in matches_locale() argument 367 if (locale == NULL) return 0; in matches_locale() 369 if (strcmp(loc, locale) == 0) return 1; in matches_locale() 380 return (strncmp(locale, loc, i) == 0 && locale[i] == '_'); in matches_locale() 384 const char* locale, in res_create_localized_alpha_surface() argument 397 if (locale == NULL) { in res_create_localized_alpha_surface() 422 if (y+1+h >= height || matches_locale(loc, locale)) { in res_create_localized_alpha_surface()
|
D | minui.h | 116 int res_create_localized_alpha_surface(const char* name, const char* locale,
|
/bootable/recovery/ |
D | screen_ui.h | 33 void SetLocale(const char* locale); 72 const char* locale; variable
|
D | recovery.cpp | 86 char* locale = NULL; variable 387 if (locale != NULL) { in finish_recovery() 388 LOGI("Saving locale \"%s\"\n", locale); in finish_recovery() 390 fwrite(locale, 1, strlen(locale), fp); in finish_recovery() 883 locale = strdup(buffer); in load_locale_from_cache() 950 case 'l': locale = optarg; break; in main() 967 if (locale == NULL) { in main() 970 printf("locale is [%s]\n", locale); in main() 978 ui->SetLocale(locale); in main()
|
D | ui.h | 37 virtual void SetLocale(const char* locale) = 0;
|
D | screen_ui.cpp | 54 locale(nullptr), in ScreenRecoveryUI() 376 int result = res_create_localized_alpha_surface(filename, locale, surface); in LoadLocalizedBitmap() 429 this->locale = new_locale; in SetLocale() 430 char* lang = strdup(locale); in SetLocale()
|