/frameworks/support/v4/java/android/support/v4/text/ |
H A D | ICUCompat.java | 24 public String getScript(String locale); argument 25 public String addLikelySubtags(String locale); argument 30 public String getScript(String locale) { argument 35 public String addLikelySubtags(String locale) { argument 36 return locale; 42 public String getScript(String locale) { argument 43 return ICUCompatIcs.getScript(locale); 47 public String addLikelySubtags(String locale) { argument 48 return ICUCompatIcs.addLikelySubtags(locale); 66 * @param locale Th 69 getScript(String locale) argument 95 addLikelySubtags(String locale) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaScannerClient.cpp | 34 void MediaScannerClient::setLocale(const char* locale) argument 36 mLocale = locale; // not currently used
|
/frameworks/base/core/java/com/android/internal/textservice/ |
H A D | ITextServicesManager.aidl | 32 SpellCheckerInfo getCurrentSpellChecker(String locale); 34 String locale, boolean allowImplicitlySelectedSubtype); 35 oneway void getSpellCheckerService(String sciId, in String locale, 39 oneway void setCurrentSpellChecker(String locale, String sciId); 40 oneway void setCurrentSpellCheckerSubtype(String locale, int hashCode);
|
H A D | ISpellCheckerService.aidl | 30 String locale, ISpellCheckerSessionListener listener, in Bundle bundle);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | AndroidLocale.java | 33 public static String toLanguageTag(Locale locale) { argument 34 return ULocale.forLocale(locale).toLanguageTag(); 56 public static String getScript(Locale locale) { argument 57 return ULocale.forLocale(locale).getScript();
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
H A D | ICU_Delegate.java | 106 /*package*/ static String getCurrencyCode(String locale) { argument 111 /*package*/ static String getCurrencyDisplayName(String locale, String currencyCode) { argument 126 /*package*/ static String getCurrencySymbol(String locale, String currencyCode) { argument 131 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { argument 136 /*package*/ static String getDisplayLanguageNative(String languageCode, String locale) { argument 141 /*package*/ static String getDisplayVariantNative(String variantCode, String locale) { argument 146 /*package*/ static String getDisplayScriptNative(String variantCode, String locale) { argument 151 /*package*/ static String getISO3Country(String locale) { argument 156 /*package*/ static String getISO3Language(String locale) { argument 161 /*package*/ static String addLikelySubtags(String locale) { argument 166 getScript(String locale) argument 181 initLocaleDataNative(String locale, LocaleData result) argument 247 setDefaultLocale(String locale) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | UserDictionary.java | 30 * frequency information and locale information. 81 * The locale that this word belongs to. Null if it pertains to all 85 public static final String LOCALE = "locale"; 117 * specified locale type. 125 * @param localeType the locale type for this word. It should be one of 136 final Locale locale; 139 locale = Locale.getDefault(); 141 locale = null; 144 addWord(context, word, frequency, null, locale); 148 * locale typ 158 addWord(Context context, String word, int frequency, String shortcut, Locale locale) argument [all...] |
H A D | SearchIndexableData.java | 40 * The locale for the data 42 public Locale locale; field in class:SearchIndexableData 124 locale = Locale.getDefault(); 144 sb.append("locale: "); 145 sb.append(locale);
|
/frameworks/support/v4/ics/android/support/v4/text/ |
H A D | ICUCompatIcs.java | 46 public static String getScript(String locale) { argument 49 final Object[] args = new Object[] { locale }; 63 public static String addLikelySubtags(String locale) { argument 66 final Object[] args = new Object[] { locale }; 77 return locale;
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | KeyphraseMetadata.java | 56 * @return Indicates if we support the given locale. 58 public boolean supportsLocale(Locale locale) { argument 59 return supportedLocales.isEmpty() || supportedLocales.contains(locale);
|
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 75 public static CharacterTextSegmentIterator getInstance(Locale locale) { argument 77 sInstance = new CharacterTextSegmentIterator(locale); 82 private CharacterTextSegmentIterator(Locale locale) { argument 83 mLocale = locale; 84 onLocaleChanged(locale); 148 Locale locale = newConfig.locale; 149 if (!mLocale.equals(locale)) { 150 mLocale = locale; 151 onLocaleChanged(locale); 160 onLocaleChanged(Locale locale) argument 168 getInstance(Locale locale) argument 175 WordTextSegmentIterator(Locale locale) argument 180 onLocaleChanged(Locale locale) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePicker.java | 51 public void onLocaleSelected(Locale locale); argument 60 Locale locale; field in class:LocalePicker.LocaleInfo 62 public LocaleInfo(String label, Locale locale) { argument 64 this.locale = locale; 72 return locale; 104 for (String locale : localeList) { 105 final Locale l = Locale.forLanguageTag(locale.replace('_', '-')); 122 if (previous.locale.getLanguage().equals(l.getLanguage()) && 123 !previous.locale 244 updateLocale(Locale locale) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabaseConfiguration.java | 73 * The database locale. 77 public Locale locale; field in class:SQLiteDatabaseConfiguration 110 locale = Locale.getDefault(); 145 locale = other.locale;
|
/frameworks/base/core/java/android/text/style/ |
H A D | LocaleSpan.java | 34 * @param locale The {@link Locale} of the text to which the span is 37 public LocaleSpan(Locale locale) { argument 38 mLocale = locale; 81 private static void apply(Paint paint, Locale locale) { argument 82 paint.setTextLocale(locale);
|
/frameworks/base/core/java/android/view/textservice/ |
H A D | TextServicesManager.java | 93 * Returns the language component of a given locale string. 95 private static String parseLanguageFromLocaleString(String locale) { argument 96 final int idx = locale.indexOf('_'); 98 return locale; 100 return locale.substring(0, idx); 106 * @param locale the locale for the spell checker. If {@code locale} is null and 107 * referToSpellCheckerLanguageSettings is true, the locale specified in Settings will be 108 * returned. If {@code locale} i 118 newSpellCheckerSession(Bundle bundle, Locale locale, SpellCheckerSessionListener listener, boolean referToSpellCheckerLanguageSettings) argument [all...] |
H A D | SpellCheckerSubtype.java | 35 * Subtype can describe locale (e.g. en_US, fr_FR...) used for settings. 51 * @param locale The locale supported by the subtype 54 public SpellCheckerSubtype(int nameId, String locale, String extraValue) { argument 56 mSubtypeLocale = locale != null ? locale : ""; 79 * @return the locale of the subtype 173 * can have only one %s in it. If there is, the %s part will be replaced with the locale's 180 final Locale locale = constructLocaleFromString(mSubtypeLocale); 181 final String localeStr = locale ! 219 hashCodeInternal(String locale, String extraValue) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 39 * user-specified configuration options (locale and scaling) as well 78 * Current user preference for the locale, corresponding to 79 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#LocaleQualifier">locale</a> 82 public Locale locale; field in class:Configuration 626 if (o.locale != null) { 627 locale = (Locale) o.locale.clone(); 666 if (locale != null) { 668 sb.append(locale); 670 sb.append(" ?locale"); 1319 setLayoutDirection(Locale locale) argument 1335 localeToResourceQualifier(Locale locale) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | DateSorter.java | 68 Locale locale = resources.getConfiguration().locale; 69 if (locale == null) { 70 locale = Locale.getDefault(); 72 LocaleData localeData = LocaleData.get(locale);
|
/frameworks/av/include/media/ |
H A D | mediascanner.h | 81 void setLocale(const char *locale); 86 const char *locale() const; 89 // current locale (like "ja_JP"), created/destroyed with strdup()/free() 112 void setLocale(const char* locale);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSubtype.java | 36 * (IME). Subtype can describe locale (e.g. en_US, fr_FR...) and mode (e.g. voice, keyboard...), 139 * the %s part will be replaced with the locale's display name by 152 * Arrays.hashCode(new Object[] {locale, mode, extraValue, 162 * @param subtypeLocale is the locale supported by this subtype. 197 private static InputMethodSubtypeBuilder getBuilder(int nameId, int iconId, String locale, argument 203 builder.mSubtypeLocale = locale; 220 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, argument 222 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, 231 * one %s in it. If there is, the %s part will be replaced with the locale's display name by 234 * @param locale Th 257 InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id) argument 522 hashCodeInternal(String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, boolean isAsciiCapable) argument [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | PickFragment.java | 83 final Locale locale = getResources().getConfiguration().locale; 84 final String raw = getString(R.string.menu_select).toUpperCase(locale);
|
/frameworks/base/core/java/android/widget/ |
H A D | SpellChecker.java | 145 private void setLocale(Locale locale) { argument 146 mCurrentLocale = locale; 150 if (locale != null) { 151 // Change SpellParsers' wordIterator locale 152 mWordIterator = new WordIterator(locale); 155 // This class is the listener for locale change: warn other locale-aware objects 220 final Locale locale = mTextView.getSpellCheckerLocale(); 222 if (locale == null || mCurrentLocale == null || (!(mCurrentLocale.equals(locale)))) { [all...] |
/frameworks/base/location/java/android/location/ |
H A D | GeocoderParams.java | 28 * language, country and variant information from the Geocoder's locale 48 public GeocoderParams(Context context, Locale locale) { argument 49 mLocale = locale; 54 * returns the Geocoder's locale
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
H A D | GeocoderTest.java | 35 Locale locale = new Locale("en", "us"); 36 Geocoder g = new Geocoder(mContext, locale);
|
/frameworks/base/media/java/android/media/ |
H A D | SubtitleController.java | 82 public void onLocaleChanged(Locale locale) { 215 Locale locale = selectedLocale; 216 if (locale == null) { 217 locale = Locale.getDefault(); 233 (locale == null || 234 locale.getLanguage().equals("") || 235 locale.getISO3Language().equals(language) || 236 locale.getLanguage().equals(language)); 246 // we treat null locale/language as matching any language
|