/packages/apps/Settings/tests/robotests/src/com/android/internal/app/ |
H A D | LocalePickerWithRegion.java | 9 void onLocaleSelected(LocaleStore.LocaleInfo locale); argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowTextUtils.java | 37 public static int getLayoutDirectionFromLocale(Locale locale) { argument 38 return ((locale != null && !locale.equals(Locale.ROOT) 39 && ULocale.forLocale(locale).isRightToLeft())
|
H A D | ShadowLibcoreTimeZoneNames.java | 45 public String[][] create(Locale locale) { argument 54 ReflectionHelpers.ClassParameter.from(String.class, locale.toLanguageTag()),
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
H A D | UserDictionaryLocalePicker.java | 34 public void onLocaleSelected(Locale locale); argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/ |
H A D | EnglishCustomizer.java | 24 public EnglishCustomizer(final Locale locale) { super(locale); } argument
|
H A D | EuroCustomizer.java | 29 public EuroCustomizer(final Locale locale) { argument 30 super(locale);
|
H A D | ItalianCustomizer.java | 24 public ItalianCustomizer(final Locale locale) { super(locale); } argument
|
H A D | NoLanguageCustomizer.java | 24 public NoLanguageCustomizer(final Locale locale) { super(locale); } argument
|
H A D | PortugueseCustomizer.java | 24 public PortugueseCustomizer(final Locale locale) { super(locale); } argument
|
H A D | TurkicCustomizer.java | 27 public TurkicCustomizer(final Locale locale) { super(locale); } argument
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
H A D | TwoDigitFormatter.java | 26 final Locale locale = Locale.getDefault(); 27 init(locale); 30 private void init(Locale locale) { argument 31 mFmt = createFormatter(locale); 32 mZeroDigit = getZeroDigit(locale); 46 private static char getZeroDigit(Locale locale) { argument 49 return DecimalFormatSymbols.getInstance(locale).getZeroDigit(); 52 private java.util.Formatter createFormatter(Locale locale) { argument 53 return new java.util.Formatter(mBuilder, locale);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | TelephonyManagerUtils.java | 46 * back to the locale setting. 48 public static String getCurrentCountryIso(Context context, Locale locale) { argument 56 countryIso = locale.getCountry(); 57 Log.w(LOG_TAG, "No CountryDetector; falling back to countryIso based on locale: "
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
H A D | DeviceOwnerInitializeProvisioningTask.java | 30 * Initialization of locale and timezone. 47 setLocale(mProvisioningParams.locale); 67 private void setLocale(Locale locale) { argument 68 if (locale == null || locale.equals(Locale.getDefault())) { 72 // If locale is different from current locale this results in a configuration change, 74 LocalePicker.updateLocale(locale); 76 ProvisionLogger.loge("Failed to set the system locale.", e);
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
H A D | LocaleTestUtils.java | 26 * Utility class to save and restore the locale of the system. 30 * This can be used for tests that assume to be run in a certain locale, e.g., because they 32 * will behave in a specific locale. 34 * In your test, you can change the locale with the following code: 68 * Create a new instance that can be used to set and reset the locale for the given context. 70 * @param context the context on which to alter the locale 78 * Set the locale to the given value and saves the previous value. 80 * @param locale the value to which the locale should be set 81 * @throws IllegalStateException if the locale wa 83 setLocale(Locale locale) argument 114 setResourcesLocale(Resources resources, Locale locale) argument [all...] |
/packages/apps/Tag/src/com/android/apps/tag/message/ |
H A D | ParsedNdefMessage.java | 50 * most appropriate for the given {@code locale}. 52 public String getSnippet(Context context, Locale locale) { argument 80 return record.getSnippet(context, locale);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | ParsedNdefRecord.java | 40 public String getSnippet(Context context, Locale locale) { argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | SuggestionSpanUtils.java | 61 final Context context, final String text, @Nonnull final Locale locale) { 66 final SuggestionSpan suggestionSpan = new SuggestionSpan(context, locale, 75 final String pickedWord, final SuggestedWords suggestedWords, final Locale locale) { 95 final SuggestionSpan suggestionSpan = new SuggestionSpan(context, locale, 60 getTextWithAutoCorrectionIndicatorUnderline( final Context context, final String text, @Nonnull final Locale locale) argument 74 getTextWithSuggestionSpan(final Context context, final String pickedWord, final SuggestedWords suggestedWords, final Locale locale) argument
|
H A D | UserDictionaryCompatUtils.java | 29 final int freq, final String shortcut, final Locale locale) { 31 addWordWithShortcut(context, word, freq, shortcut, locale); 35 final Locale currentLocale = context.getResources().getConfiguration().locale; 36 final int localeType = currentLocale.equals(locale) 45 final int freq, final String shortcut, final Locale locale) { 46 UserDictionary.Words.addWord(context, word, freq, shortcut, locale); 28 addWord(final Context context, final String word, final int freq, final String shortcut, final Locale locale) argument 44 addWordWithShortcut(final Context context, final String word, final int freq, final String shortcut, final Locale locale) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | ContactsDictionaryUtils.java | 46 * Returns true if the locale supports using first name and last name as bigrams. 48 public static boolean useFirstLastBigramsForLocale(final Locale locale) { argument 50 if (locale != null && locale.getLanguage().equals(Locale.ENGLISH.getLanguage())) {
|
H A D | DictionaryFactory.java | 41 * locale. If none is found, it falls back to the built-in dictionary - if any. 43 * @param locale the locale for which to create the dictionary 47 final Locale locale) { 48 if (null == locale) { 49 Log.e(TAG, "No locale defined for dictionary"); 50 return new DictionaryCollection(Dictionary.TYPE_MAIN, locale, 51 createReadOnlyBinaryDictionary(context, locale)); 56 BinaryDictionaryGetter.getDictionaryFiles(locale, context, true); 61 false /* useFullEditDistance */, locale, Dictionar 46 createMainDictionaryFromManager(final Context context, final Locale locale) argument 127 createReadOnlyBinaryDictionary(final Context context, final Locale locale) argument [all...] |
H A D | WordListInfo.java | 26 public WordListInfo(final String id, final String locale, final String rawChecksum) { argument 28 mLocale = locale;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
H A D | Bulgarian.java | 29 public Bulgarian(final Locale locale) { argument 30 super(new BulgarianCustomizer(locale), Symbols.class, SymbolsShifted.class); 39 BulgarianCustomizer(final Locale locale) { argument 40 super(locale); 41 mEastSlavicCustomizer = new EastSlavicCustomizer(locale);
|
H A D | BulgarianBds.java | 28 public BulgarianBds(final Locale locale) { argument 29 super(new BulgarianBdsCustomizer(locale), Symbols.class, SymbolsShifted.class); 36 BulgarianBdsCustomizer(final Locale locale) { super(locale); } argument
|
H A D | HindiCompact.java | 34 public HindiCompact(final Locale locale) { argument 35 super(new HindiCompactCustomizer(locale), HindiSymbols.class, SymbolsShifted.class); 42 HindiCompactCustomizer(final Locale locale) { super(locale); } argument
|
H A D | Mongolian.java | 28 public Mongolian(final Locale locale) { argument 29 super(new MongolianCustomizer(locale), Symbols.class, SymbolsShifted.class); 36 MongolianCustomizer(final Locale locale) { super(locale); } argument
|