/cts/tests/tests/text/src/android/text/format/cts/ |
LocaleUtils.java | 28 Locale currentLocale = context.getResources().getConfiguration().locale; 29 return locale.equals(currentLocale);
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
TwoDigitFormatter.java | 36 final Locale currentLocale = Locale.getDefault(); 37 if (mZeroDigit != getZeroDigit(currentLocale)) { 38 init(currentLocale);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
UserDictionaryCompatUtils.java | 35 final Locale currentLocale = context.getResources().getConfiguration().locale; 36 final int localeType = currentLocale.equals(locale)
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
DateTileView.java | 43 Locale currentLocale = Locale.getDefault(); 44 if (!currentLocale.equals(sLocale)) { 45 sLocale = currentLocale;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
LanguageFragment.java | 68 Locale currentLocale = null; 70 currentLocale = ActivityManagerNative.getDefault().getConfiguration() 94 if (localeInfo.getLocale().equals(currentLocale)) {
|
TtsEngineSettingsFragment.java | 264 Locale currentLocale = null; 266 currentLocale = mEnginesHelper.getLocalePrefForEngine(getEngineName()); 296 if (entry.second.equals(currentLocale)) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITestExtended.java | 52 ULocale currentLocale = new ULocale("en_US"); 162 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); 167 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); 172 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); 177 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); 182 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale); 194 tp.currentLocale = new ULocale(localeName);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
RBBITestExtended.java | 48 ULocale currentLocale = new ULocale("en_US"); 158 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); 163 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); 168 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); 173 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); 178 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale); 190 tp.currentLocale = new ULocale(localeName);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateIntervalInfo.java | 413 ULocale currentLocale = locale; 424 String name = currentLocale.getName(); 429 ICUResourceBundle rb = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,currentLocale); 492 System.out.println("\n" + currentLocale + ", skeleton: " + skeleton + ", oldValue: " + oldValue + ", newValue: " + newValue); 502 currentLocale = new ULocale(parentNameBundle.getString()); 504 currentLocale = currentLocale.getFallback(); 506 } while (currentLocale != null && !currentLocale.getBaseName().equals("root")); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateIntervalInfo.java | 422 ULocale currentLocale = locale; 433 String name = currentLocale.getName(); 438 ICUResourceBundle rb = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,currentLocale); 501 System.out.println("\n" + currentLocale + ", skeleton: " + skeleton + ", oldValue: " + oldValue + ", newValue: " + newValue); 511 currentLocale = new ULocale(parentNameBundle.getString()); 513 currentLocale = currentLocale.getFallback(); 515 } while (currentLocale != null && !currentLocale.getBaseName().equals("root")); [all...] |
/external/icu/icu4c/source/common/ |
servlkf.cpp | 51 lkey.currentLocale(loc);
|
servlk.cpp | 117 LocaleKey::currentLocale(Locale& result) const {
|
servloc.h | 137 virtual Locale& currentLocale(Locale& result) const;
|
brkiter.cpp | 250 lkey.currentLocale(loc);
|
/libcore/ojluni/src/main/java/java/util/logging/ |
Logger.java | [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cldrtest.c | 499 UResourceBundle *root, *currentLocale; 538 currentLocale = ures_open(NULL, currLoc, &errorCode); 550 ures_close(currentLocale); 553 ures_getStringByKey(currentLocale, "Version", NULL, &errorCode); 558 else if (ures_getStringByKey(currentLocale, "Version", NULL, &errorCode)[0] == (UChar)(0x78)) { 562 resolvedLoc = ures_getLocaleByType(currentLocale, ULOC_ACTUAL_LOCALE, &errorCode); 569 TestKeyInRootRecursive(root, "root", currentLocale, currLoc); 571 testLCID(currentLocale, currLoc); 573 ures_close(currentLocale); [all...] |
/packages/apps/Settings/src/com/android/settings/tts/ |
TtsEngineSettingsFragment.java | 241 Locale currentLocale = null; 243 currentLocale = mEnginesHelper.getLocalePrefForEngine(getEngineName()); 274 if (entry.second.equals(currentLocale)) {
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecLocalDevicePlayback.java | 326 Locale currentLocale = mService.getContext().getResources().getConfiguration().locale; 327 if (currentLocale.getISO3Language().equals(iso3Language)) {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICULocaleService.java | 295 public ULocale currentLocale() { 379 ULocale uloc = lkey.currentLocale();
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICULocaleService.java | 291 public ULocale currentLocale() { 375 ULocale uloc = lkey.currentLocale();
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/ |
TestCLDRVsICU.java | 247 abstract void handleResult(ULocale currentLocale, String value) throws Exception; 293 void handleResult(ULocale currentLocale, String value) throws Exception { 333 public void handleResult(ULocale currentLocale, String value) { 334 Collator col = Collator.getInstance(currentLocale);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/ |
TestCLDRVsICU.java | 243 abstract void handleResult(ULocale currentLocale, String value) throws Exception; 289 void handleResult(ULocale currentLocale, String value) throws Exception { 329 public void handleResult(ULocale currentLocale, String value) { 330 Collator col = Collator.getInstance(currentLocale);
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
DialpadView.java | 153 final Locale currentLocale = resources.getConfiguration().locale; 157 if ("fa".equals(currentLocale.getLanguage())) {
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebSettingsTest.java | 134 Locale currentLocale = Locale.getDefault(); 135 assertEquals(currentLocale.getLanguage().toLowerCase(), patternMatcher.group(4)); 136 assertEquals(currentLocale.getCountry().toLowerCase(), patternMatcher.group(5)); [all...] |
/frameworks/base/core/java/android/widget/ |
NumberPicker.java | 181 final Locale currentLocale = Locale.getDefault(); 182 if (mZeroDigit != getZeroDigit(currentLocale)) { 183 init(currentLocale); [all...] |