Home
last modified time | relevance | path

Searched refs:Locale (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
DMain.java43 import java.util.Locale;
78 HashMap<Locale, Bitmap> savedBitmaps;
83 private Locale nextLocale;
84 private Locale thisLocale;
87 TextCapture(Locale thisLocale, Locale nextLocale, Runnable next) { in TextCapture()
107 private void switchTo(Locale locale) { in switchTo()
127 savedBitmaps = new HashMap<Locale, Bitmap>(); in onCreate()
168 ArrayList<Locale> locales = new ArrayList<Locale>(); in onCreate()
172 locales.add(Locale.forLanguageTag(localeName)); in onCreate()
176 final Runnable seq = buildSequence(locales.toArray(new Locale[0])); in onCreate()
[all …]
/bootable/recovery/tools/image_generator/
DImageGenerator.java47 import java.util.Locale;
296 private Locale getLocaleFromFilename(String filename) throws IOException { in getLocaleFromFilename()
300 return Locale.forLanguageTag(localeString); in getLocaleFromFilename()
305 return Locale.forLanguageTag(String.join("-", tokens)); in getLocaleFromFilename()
310 return Locale.forLanguageTag(String.join("-", tokens)); in getLocaleFromFilename()
326 public Map<Locale, String> readLocalizedStringFromXmls(String resourcePath, in readLocalizedStringFromXmls()
333 Map<Locale, String> result = in readLocalizedStringFromXmls()
337 (Locale l1, Locale l2) -> { in readLocalizedStringFromXmls()
369 Locale locale = getLocaleFromFilename(name); in readLocalizedStringFromXmls()
487 private Graphics2D createGraphics(Locale locale) throws IOException, FontFormatException { in createGraphics()
[all …]