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

/bootable/recovery/
H A Dscreen_ui.h32 void SetLocale(const char* locale);
66 const char* locale; member in class:ScreenRecoveryUI
H A Dui.h36 // After calling Init(), you can tell the UI what locale it is operating in.
37 virtual void SetLocale(const char* locale) { } argument
H A Drecovery.cpp61 { "locale", required_argument, NULL, 'l' },
89 char* locale = NULL; variable
380 // Save the locale to cache, so if recovery is next started up
381 // without a --locale argument (eg, directly from the bootloader)
382 // it will use the last-known locale.
383 if (locale != NULL) {
384 LOGI("Saving locale \"%s\"\n", locale);
386 fwrite(locale, 1, strlen(locale), f
[all...]
H A Dscreen_ui.cpp55 locale(NULL),
342 int result = res_create_localized_alpha_surface(filename, locale, surface);
386 this->locale = new_locale;
387 char* lang = strdup(locale);
/bootable/recovery/minui/
H A Dresources.c34 extern char* locale;
351 static int matches_locale(const char* loc, const char* locale) { argument
352 if (locale == NULL) return 0;
354 if (strcmp(loc, locale) == 0) return 1;
357 // of locale, and the next character in locale *is* an underscore,
358 // that's a match. For instance, loc == "en" matches locale ==
365 return (strncmp(locale, loc, i) == 0 && locale[i] == '_');
369 const char* locale,
368 res_create_localized_alpha_surface(const char* name, const char* locale, gr_surface* pSurface) argument
[all...]
H A Dminui.h108 // given locale. The image is expected to be a composite of multiple
110 // the subimages' size and intended locale in the pixel data. See
113 int res_create_localized_alpha_surface(const char* name, const char* locale,

Completed in 56 milliseconds