/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
CaptionFragment.java | 224 private void setCaptionsLocale(String locale) { 226 Settings.Secure.ACCESSIBILITY_CAPTIONING_LOCALE, locale); local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
Suggest.java | 36 import java.util.Locale; 65 sLanguageToMaximumAutoCorrectionWithSpaceLength.put(Locale.GERMAN.getLanguage(), 115 final int trailingSingleQuotesCount, final Locale defaultLocale) { 127 final Locale wordLocale = wordInfo.mSourceDict.mLocale; 167 final Locale locale = mDictionaryFacilitator.getLocale(); local 170 trailingSingleQuotesCount, locale); 298 final Locale locale = mDictionaryFacilitator.getLocale(); local 307 final Locale wordlocale = wordInfo.mSourceDict.mLocale 396 final Locale locale = info.mSourceDict.mLocale; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionarySettings.java | 43 import java.util.Locale; 87 // Either the locale is empty (means the word is applicable to all locales) 88 // or the word equals our current locale 90 UserDictionary.Words.LOCALE + "=?"; 92 UserDictionary.Words.LOCALE + " is null"; 127 null == intent ? null : intent.getStringExtra("locale"); 131 null == arguments ? null : arguments.getString("locale"); 133 final String locale; local 135 locale = localeFromArguments; 137 locale = localeFromIntent [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
RichInputMethodSubtypeTests.java | 34 import java.util.Locale; 94 Locale.US.toString(), "qwerty")); 96 Locale.UK.toString(), "qwerty")); 100 Locale.FRENCH.toString(), "azerty")); 102 Locale.CANADA_FRENCH.toString(), "qwerty")); 106 Locale.GERMAN.toString(), "qwertz")); 117 Locale.GERMAN.toString(), "qwerty")); 120 Locale.FRENCH.toString(), "qwertz")); 123 Locale.US.toString(), "azerty")); 126 Locale.UK.toString(), "dvorak")) 181 final Locale locale = subtype.getLocale(); local [all...] |
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
MoreKeysResources.java | 28 import java.util.Locale; 76 for (final String locale : mResourcesMap.keySet()) { 77 final StringResourceMap resMap = mResourcesMap.get(locale); 81 throw new RuntimeException(res.mName + " in " + locale 169 private static String getArrayNameForLocale(final Locale locale) { 170 return TEXTS_ARRAY_NAME_PREFIX + LocaleUtils.getLocaleCode(locale); 175 final Locale locale = resMap.mLocale; local 177 out.format(" /* Locale %s: %s */\n" 189 final Locale locale = resMap.mLocale; local [all...] |
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/ |
EmbmsTestStreamingApp.java | 41 import java.util.Locale; 70 Locale locale = Locale.getDefault(); local 72 return info.getNameForLocale(locale).toString(); 74 locale = info.getLocales().iterator().next(); 75 return info.getNameForLocale(locale).toString();
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
filter.h | 111 LCID locale; member in struct:tagSTAT_CHUNK
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationDescription.java | 61 private static final String ATTR_LOCALE = "locale"; //$NON-NLS-1$ 91 /** The locale */ 92 public Locale locale = Locale.ANY; field in class:ConfigurationDescription 152 description.locale = configuration.getLocale(); 201 // Load locale. Note that this can get overwritten by the 207 description.locale = Locale.create(LocaleQualifier.getQualifier(language + "-r" + locales[1])); 209 description.locale = Locale.create(new LocaleQualifier(language)) [all...] |
VaryingConfiguration.java | 41 * overrides the locale, and if the inherited locale is "en", then the returned 42 * locale from the {@linkplain VaryingConfiguration} may be for example "nb", 164 public Locale getLocale() { 168 Locale locale = mParent.getLocale(); local 169 if (isAlternatingLocale() && locale != null) { 170 List<Locale> locales = mConfigChooser.getLocaleList(); 171 for (Locale l : locales) { 176 if (!l.equals(locale)) { [all...] |
/system/media/audio/include/system/ |
sound_trigger.h | 25 #define SOUND_TRIGGER_MAX_LOCALE_LEN 6 /* max length of locale string. e.g en_US */ 114 char locale[SOUND_TRIGGER_MAX_LOCALE_LEN]; /* locale - JAVA Locale style (e.g. en_US) */ member in struct:sound_trigger_phrase
|
/prebuilts/tools/common/m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0/ |
doxia-site-renderer-1.0.jar | |
/prebuilts/tools/common/m2/repository/org/apache/maven/plugins/maven-site-plugin/3.3/ |
maven-site-plugin-3.3.jar | |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
ULocale.java | 18 import java.util.Locale; 31 import com.ibm.icu.impl.locale.AsciiUtil; 32 import com.ibm.icu.impl.locale.BaseLocale; 33 import com.ibm.icu.impl.locale.Extension; 34 import com.ibm.icu.impl.locale.InternalLocaleBuilder; 35 import com.ibm.icu.impl.locale.LanguageTag; 36 import com.ibm.icu.impl.locale.LocaleExtensions; 37 import com.ibm.icu.impl.locale.LocaleSyntaxException; 38 import com.ibm.icu.impl.locale.ParseStatus; 39 import com.ibm.icu.impl.locale.UnicodeLocaleExtension 278 private transient volatile Locale locale; field in class:ULocale [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigurationTest.java | 26 import java.util.Locale; 45 mConfig.setLocale(Locale.getDefault()); 119 cfg1.locale = Locale.forLanguageTag("en"); 120 cfg2.locale = Locale.forLanguageTag("en-Shaw"); 122 cfg1.locale = Locale.forLanguageTag("en-Shaw"); 123 cfg2.locale = Locale.forLanguageTag("en") [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
FreshValueGenerator.java | 110 import java.util.Locale; 405 @Generates private Locale freshLocale() { 406 return nextInstance(Locale.getAvailableLocales(), Locale.US); 410 for (Set<Locale> uselessLocales = Sets.newHashSet(); ; ) { 411 Locale locale = freshLocale(); local 412 if (uselessLocales.contains(locale)) { // exhausted all locales 413 return Currency.getInstance(Locale.US); 416 return Currency.getInstance(locale); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUCurrencyDisplayInfoProvider.java | 34 * Single-item cache for ICUCurrencyDisplayInfo keyed by locale. 39 public CurrencyDisplayInfo getInstance(ULocale locale, boolean withFallback) { 40 // Make sure the locale is non-null (this can happen during deserialization): 41 if (locale == null) { locale = ULocale.ROOT; } 43 if (instance == null || !instance.locale.equals(locale) || instance.fallback != withFallback) { 47 ICUData.ICU_CURR_BASE_NAME, locale, OpenType.LOCALE_DEFAULT_ROOT); 51 ICUData.ICU_CURR_BASE_NAME, locale, OpenType.LOCALE_ONLY); 56 instance = new ICUCurrencyDisplayInfo(locale, rb, withFallback) 71 final ULocale locale; field in class:ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo [all...] |
ICUService.java | 34 * id (for example, a locale string) to the service, and get back an 92 * uses Locale names as ids and uses Keys that implement the standard 146 * kinds of formatters for the same locale, use the descriptor 148 * while using the currentID (in this case, the locale string), 254 * Return the display name for this id in the provided locale. 257 * If locale is null, return id unchanged. 259 public String getDisplayName(String id, ULocale locale); 324 * If this.id equals id, returns id regardless of locale, 329 public String getDisplayName(String identifier, ULocale locale) { 609 * uses the current default locale 644 ULocale locale = ULocale.getDefault(Category.DISPLAY); local 732 private final ULocale locale; field in class:ICUService.LocaleRef [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
InternalLocaleBuilder.java | 10 package android.icu.impl.locale; 93 throw new LocaleSyntaxException("Ill-formed Unicode locale attribute: " + attribute); 105 throw new LocaleSyntaxException("Ill-formed Unicode locale attribute: " + attribute); 115 throw new LocaleSyntaxException("Ill-formed Unicode locale keyword key: " + key); 133 throw new LocaleSyntaxException("Ill-formed Unicode locale keyword type: " + type, itr.currentStart()); 158 // clear entire Unicode locale extension 358 // When locale ja_JP_JP is created, ca-japanese is always there. 365 // When locale th_TH_TH is created, nu-thai is always there. 372 // no_NO_NY is a valid locale and used by Java 6 or older versions. 379 // Validate base locale fields before updating internal state [all...] |
LanguageTag.java | 10 package android.icu.impl.locale;
|
XCldrStub.java | 4 package android.icu.impl.locale;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
CompactDecimalFormatTest.java | 25 import java.util.Locale; 399 CompactDecimalFormat.getInstance(new Locale("ar"), CompactStyle.LONG); 514 public void checkLocale(ULocale locale, CompactStyle style, Object[][] testData) { 515 CompactDecimalFormat cdf = getCDFInstance(locale, style); 516 checkCdf(locale + " (" + locale.getDisplayName(locale) + ") for ", cdf, testData); 536 private static CompactDecimalFormat getCDFInstance(ULocale locale, CompactStyle style) { 537 CompactDecimalFormat result = CompactDecimalFormat.getInstance(locale, style); 619 assertEquals("Short, locale " + loc, expectedShort, actualShort) 762 ULocale locale = new ULocale("it"); local 773 ULocale locale = new ULocale("pt_PT"); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITest.java | 54 ULocale locale = ULocale.createCanonical("th"); local 55 BreakIterator b = BreakIterator.getWordInstance(locale); 122 private ULocale locale; field in class:RBBITest.TBItem 127 locale = loc; 154 case BreakIterator.KIND_CHARACTER: brkIter = BreakIterator.getCharacterInstance(locale); break; 155 case BreakIterator.KIND_WORD: brkIter = BreakIterator.getWordInstance(locale); break; 156 case BreakIterator.KIND_LINE: brkIter = BreakIterator.getLineInstance(locale); break; 157 case BreakIterator.KIND_SENTENCE: brkIter = BreakIterator.getSentenceInstance(locale); break; 170 errln("For type " + type + " " + locale + ", text \"" + textToDisplay + "...\"" + 181 errln("For type " + type + " " + locale + ", text \"" + textToDisplay + "...\"" [all...] |
/external/icu/icu4c/source/common/ |
locdspnm.cpp | 64 // Access resource data for locale components. 68 Locale locale; member in class:ICUDataTable 71 ICUDataTable(const char* path, const Locale& locale); 74 const Locale& getLocale(); 97 ICUDataTable::ICUDataTable(const char* path, const Locale& locale) 98 : path(NULL), locale(Locale::getRoot() 276 Locale locale; member in class:LocaleDisplayNamesImpl [all...] |
serv.cpp | 160 SimpleFactory::getDisplayName(const UnicodeString& id, const Locale& /* locale */, UnicodeString& result) const 282 const Locale locale; member in class:DNCache 284 DNCache(const Locale& _locale) 285 : cache(), locale(_locale) 688 return getDisplayName(id, result, Locale::getDefault()); 692 ICUService::getDisplayName(const UnicodeString& id, UnicodeString& result, const Locale& locale) const 701 f->getDisplayName(id, locale, result) [all...] |
ucnvscsu.cpp | 144 uint8_t locale; member in struct:SCSUData 181 switch(scsu->locale) { 198 const char *locale=pArgs->locale; local 204 if(locale!=NULL && locale[0]=='j' && locale[1]=='a' && (locale[2]==0 || locale[2]=='_')) { 205 ((SCSUData *)cnv->extraInfo)->locale=l_ja [all...] |