Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dresources.cpp35 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()
Dminui.h116 int res_create_localized_alpha_surface(const char* name, const char* locale,
/bootable/recovery/
Dscreen_ui.h33 void SetLocale(const char* locale);
72 const char* locale; variable
Drecovery.cpp86 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()
Dui.h37 virtual void SetLocale(const char* locale) = 0;
Dscreen_ui.cpp54 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()