/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 21 import java.util.Locale; 45 Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC"), Locale.US);
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
XMLReaderAdapterTest.java | 20 import java.util.Locale; 104 adapter.setLocale(Locale.getDefault());
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 34 import java.util.Locale; 58 private static Formatter mF = new Formatter(mSB, Locale.getDefault());
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertAdapter.java | 33 import java.util.Locale; 134 isDST, TimeZone.SHORT, Locale.getDefault()));
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeeksAdapter.java | 38 import java.util.Locale; 103 // Get default week start based on locale, subtracting one for use with android Time. 104 Calendar cal = Calendar.getInstance(Locale.getDefault());
|
/packages/apps/Camera2/src/com/android/camera/ |
PhotoMenu.java | 19 import java.util.Locale; 55 Locale locale = res.getConfiguration().locale; local 121 item.setLabel(res.getString(R.string.pref_camera_timer_title).toUpperCase(locale)); 138 item.setLabel(res.getString(R.string.pref_camera_picturesize_title).toUpperCase(locale));
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
DigitalWidgetViewsFactory.java | 36 import java.util.Locale; 117 Calendar.DAY_OF_WEEK, Calendar.SHORT, Locale.getDefault())));
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
SmartPoster.java | 38 import java.util.Locale; 179 public String getSnippet(Context context, Locale locale) {
|
VCardRecord.java | 67 import java.util.Locale; 100 public String getSnippet(Context context, Locale locale) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserBinaryDictionary.java | 37 import java.util.Locale; 78 public UserBinaryDictionary(final Context context, final String locale) { 79 this(context, locale, false); 82 public UserBinaryDictionary(final Context context, final String locale, 84 super(context, getFilenameWithLocale(NAME, locale), Dictionary.TYPE_USER, 86 if (null == locale) throw new NullPointerException(); // Catch the error earlier 87 if (SubtypeLocaleUtils.NO_LANGUAGE.equals(locale)) { 88 // If we don't have a locale, insert into the "all locales" user dictionary. 91 mLocale = locale; 130 // Split the locale. For example "en" => ["en"], "de_DE" => ["de", "DE"] 212 final Locale locale; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/debug/ |
ExternalDictionaryGetterForDebug.java | 41 import java.util.Locale; 104 final String locale = header.getLocaleString(); local 109 final String languageName = LocaleUtils.constructLocaleFromString(locale) 110 .getDisplayName(Locale.getDefault()); 150 final String locale = header.getLocaleString(); local 151 // Create the id for a main dictionary for this locale 153 + BinaryDictionaryGetter.ID_CATEGORY_SEPARATOR + locale; 154 final String finalFileName = DictionaryInfoUtils.getCacheFileName(id, locale, context);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerService.java | 47 import java.util.Locale; 70 Locale locale = getResources().getConfiguration().locale; local 71 if (locale != null) { 72 String language = locale.getLanguage(); 73 String country = locale.getCountry();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 21 Escape text to deal with possible locale values that have regex 61 java.util.Locale.setDefault(java.util.Locale.US) 63 import locale namespace 64 locale.setlocale(locale.LC_TIME, 'C')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 21 Escape text to deal with possible locale values that have regex 61 java.util.Locale.setDefault(java.util.Locale.US) 63 import locale namespace 64 locale.setlocale(locale.LC_TIME, 'C')
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
NestedConfiguration.java | 37 * For example, an {@linkplain NestedConfiguration} may fix the locale to always 176 * Sets whether the locale should be overridden by this configuration 185 * Returns true if the locale is overridden 187 * @return true if the locale is overridden 195 public Locale getLocale() { 204 public void setLocale(@NonNull Locale locale, boolean skipSync) { 206 super.setLocale(locale, skipSync); 208 mParent.setLocale(locale, skipSync);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
AddSuppressAttribute.java | 47 import java.util.Locale; 191 targetApi = buildCode.toLowerCase(Locale.US);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
RuimRecords.java | 30 import java.util.Locale; 368 builder.append(String.format(Locale.US, "%03d", first3digits)); 369 builder.append(String.format(Locale.US, "%03d", second3digits)); 370 builder.append(String.format(Locale.US, "%d", digit7)); 371 builder.append(String.format(Locale.US, "%03d", last3digits)); 605 log("Setting locale to " + prefLang + "_" + country); 608 log ("No suitable CSIM selected locale");
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLCipher.java | 34 import java.util.Locale; 160 mode = Mode.valueOf(modeStr.toUpperCase(Locale.US)); 173 final String paddingStrUpper = paddingStr.toUpperCase(Locale.US); 664 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US); 769 return baseCipherName + "-" + mode.toString().toLowerCase(Locale.US);
|
/packages/apps/Email/src/com/android/email/mail/store/ |
Pop3Store.java | 50 import java.util.Locale; 566 response = executeSimpleCommand(String.format(Locale.US, "RETR %d", messageId)); 571 String.format(Locale.US, "TOP %d %d", messageId, lines)); 575 String.format(Locale.US, "RETR %d", messageId)); 662 executeSimpleCommand(String.format(Locale.US, "DELE %s", msgNum));
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ExchangeSource.java | 35 import java.util.Locale; 70 Locale.JAPANESE.getLanguage().equals(Locale.getDefault().getLanguage()); 175 Locale.JAPANESE.getLanguage().equals(Locale.getDefault().getLanguage());
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
caltest.cpp | 427 const Locale* loc = Calendar::getAvailableLocales(count); 442 cal = Calendar::createInstance(TimeZone::createDefault(), Locale::getEnglish(), status); 446 cal = Calendar::createInstance(*zone, Locale::getEnglish(), status); 454 gc = new GregorianCalendar(Locale::getEnglish(), status); 458 gc = new GregorianCalendar(Locale::getEnglish(), status); 461 gc = new GregorianCalendar(*zone, Locale::getEnglish(), status); 480 GregorianCalendar gc2(Locale::getEnglish(), status); 502 cal = Calendar::createInstance(Locale("he_IL@calendar=hebrew"), status); 509 StringEnumeration *en = Calendar::getKeywordValuesForLocale(NULL, Locale::getDefault(),FALSE, status); 760 "; got " + (int32_t)y + "/" + (int32_t)(m + 1) + "/" + (int32_t)d + " for Locale: " + c->getLocaleID(ULOC_ACTUAL_LOCALE,status)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
TextBreakIteratorICU.cpp | 52 icu::BreakIterator* take(const AtomicString& locale) 56 if (m_pool[i].first == locale) { 65 bool localeIsEmpty = locale.isEmpty(); 66 iterator = icu::BreakIterator::createLineInstance(localeIsEmpty ? icu::Locale(currentTextBreakLocaleID()) : icu::Locale(locale.string().utf8().data()), openStatus); 67 // locale comes from a web page and it can be invalid, leading ICU 68 // to fail, in which case we fall back to the default locale. 71 iterator = icu::BreakIterator::createLineInstance(icu::Locale(currentTextBreakLocaleID()), openStatus); 81 m_vendedIterators.set(iterator, locale); [all...] |
/external/icu4c/i18n/ |
compactdecimalformat.cpp | 31 // Maps locale name to CDFLocaleData struct. 83 // CDFLocaleStyleData contains formatting data for a particular locale 112 // CDFLocaleData contains formatting data for a particular locale. 147 static const CDFLocaleStyleData* getCDFLocaleStyleData(const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status); 150 static CDFLocaleData* loadCDFLocaleData(const Locale& inLocale, UErrorCode& status); 151 static void initCDFLocaleData(const Locale& inLocale, CDFLocaleData* result, UErrorCode& status); 181 const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status) { 392 // getCDFLocaleStyleData returns pointer to formatting data for given locale and 395 // UNUM_LONG data is requested for a locale, and that locale does not hav [all...] |
/frameworks/base/core/java/android/content/res/ |
Configuration.java | 25 import java.util.Locale; 30 * user-specified configuration options (locale and scaling) as well 69 * Current user preference for the locale, corresponding to 70 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#LocaleQualifier">locale</a> 73 public Locale locale; field in class:Configuration 76 * Locale should persist on setting. This is hidden because it is really 552 /** @hide Native-specific bit mask for LOCALE config; DO NOT USE UNLESS YOU ARE SURE. */ 600 if (o.locale != null) { 601 locale = (Locale) o.locale.clone() [all...] |
/libcore/libart/src/main/java/java/lang/ |
String.java | 29 import java.util.Locale; [all...] |