/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
PickerUtility.java | 24 import java.util.Locale; 27 * Utility class that provides Date/Time related constants as well as locale-specific calendar for 36 public final Locale locale; field in class:PickerUtility.DateConstant 40 private DateConstant(Locale locale, Resources resources) { 41 this.locale = locale; 42 DateFormatSymbols symbols = DateFormatSymbols.getInstance(locale); 44 Calendar calendar = Calendar.getInstance(locale); 51 public final Locale locale; field in class:PickerUtility.TimeConstant [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
BreakIteratorBenchmark.java | 21 import java.util.Locale; 26 LIPSUM(Locale.US, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi mollis consequat nisl non pharetra. Praesent pretium vehicula odio sed ultrices. Aenean a felis libero. Vivamus sed commodo nibh. Pellentesque turpis lectus, euismod vel ante nec, cursus posuere orci. Suspendisse velit neque, fermentum luctus ultrices in, ultrices vitae arcu. Duis tincidunt cursus lorem. Nam ultricies accumsan quam vitae imperdiet. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Quisque aliquet pretium nisi, eget laoreet enim molestie sit amet. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.\nNam dapibus aliquam lacus ac suscipit. Proin in nibh sit amet purus congue laoreet eget quis nisl. Morbi gravida dignissim justo, a venenatis ante pulvinar at. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ultrices vestibulum dui, vel aliquam lacus aliquam quis. Duis fringilla sapien ac lacus egestas, vel adipiscing elit euismod. Donec non tellus odio. Donec gravida eu massa ac feugiat. Aliquam erat volutpat. Praesent id adipiscing metus, nec laoreet enim. Aliquam vitae posuere turpis. Mauris ac pharetra sem. In at placerat tortor. Vivamus ac vehicula neque. Cras volutpat ullamcorper massa et varius. Praesent sagittis neque vitae nulla euismod pharetra.\nSed placerat sapien non molestie sollicitudin. Nullam sit amet dictum quam. Etiam tincidunt tortor vel pretium vehicula. Praesent fringilla ipsum vel velit luctus dignissim. Nulla massa ligula, mattis in enim et, mattis lacinia odio. Suspendisse tristique urna a orci commodo tempor. Duis lacinia egestas arcu a sollicitudin.\nIn ac feugiat lacus. Nunc fermentum eu est at tristique. Pellentesque quis ligula et orci placerat lacinia. Maecenas quis mauris diam. Etiam mi ipsum, tempus in purus quis, euismod faucibus orci. Nulla facilisi. Praesent sit amet sapien vel elit porta adipiscing. Phasellus sit amet volutpat diam.\nProin bibendum elit non lacus pharetra, quis eleifend tellus placerat. Nulla facilisi. Maecenas ante diam, pellentesque mattis mattis in, porta ut lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc interdum tristique metus, in scelerisque odio fermentum eget. Cras nec venenatis lacus. Aenean euismod eget metus quis molestie. Cras tincidunt dolor ut massa ornare, in elementum lacus auctor. Cras sodales nisl lacus, id ultrices ligula varius at. Sed tristique sit amet tellus vel mollis. Sed sed sollicitudin quam. Sed sed adipiscing risus, et dictum orci. Cras tempor pellentesque turpis et tempus."), 27 LONGPARA(Locale.US, "During dinner, Mr. Bennet scarcely spoke at all; but when the servants were withdrawn, he thought it time to have some conversation with his guest, and therefore started a subject in which he expected him to shine, by observing that he seemed very fortunate in his patroness. Lady Catherine de Bourgh's attention to his wishes, and consideration for his comfort, appeared very remarkable. Mr. Bennet could not have chosen better. Mr. Collins was eloquent in her praise. The subject elevated him to more than usual solemnity of manner, and with a most important aspect he protested that \"he had never in his life witnessed such behaviour in a person of rank--such affability and condescension, as he had himself experienced from Lady Catherine. She had been graciously pleased to approve of both of the discourses which he had already had the honour of preaching before her. She had also asked him twice to dine at Rosings, and had sent for him only the Saturday before, to make up her pool of quadrille in the evening. Lady Catherine was reckoned proud by many people he knew, but _he_ had never seen anything but affability in her. She had always spoken to him as she would to any other gentleman; she made not the smallest objection to his joining in the society of the neighbourhood nor to his leaving the parish occasionally for a week or two, to visit his relations. She had even condescended to advise him to marry as soon as he could, provided he chose with discretion; and had once paid him a visit in his humble parsonage, where she had perfectly approved all the alterations he had been making, and had even vouchsafed to suggest some herself--some shelves in the closet up stairs.\""), 28 GERMAN(Locale.GERMANY, "Aber dieser Freiheit setzte endlich der Winter ein Ziel. Draußen auf den Feldern und den hohen Bergen lag der Schnee und Peter wäre in seinem dünnen Leinwandjäckchen bald erfroren. Es war also seine einzige Freude, hinaus vor die Hütte zu treten und den Sperlingen Brotkrümchen zu streuen, was er sich jedesmal an seinem Frühstück absparte. Wenn nun die Vögel so lustig zwitscherten und um ihn herumflogen, da klopfte ihm das Herz vor Lust, und oft gab er ihnen sein ganzes Stück Schwarzbrot, ohne daran zu denken, daß er dafür alsdann selbst hungern müsse."), 29 THAI(Locale.forLanguageTag("th-TH"), "??????????????????????????? ??????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????????????????????????????????????????????????? ?????????????????? ??? ?????????????????????????????????? ?????????????????????????????????????????????????????????????? ????????????????????????????????????????????????????????????????????? ???, ????, ??????, ?????? ???????????????????? ????????????????? ??(?), ????(? ???????\"???\") ???????? ???(? ??????? \"???\") ??????? ??????????????????????????????????????????????????????????????? \"?\" ?????????????????????? \"?\" ????????????????????????????????????? ??? ???? ???, ?????? ???? ?????? ???? ?????? ???? ????? ????????????????????????????????????????????????????????? ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????"), 30 THAI2(Locale.forLanguageTag("th-TH"), "this is the word browser in Thai: ???????????"), 31 TABS(Locale.US, "one\t\t\t\t\t\t\t\t\t\t\t\t\t\ttwo\n"), 32 ACCENT(Locale.US, "e\u0301\u00e9\nwhich is:\n\"e\\u0301\\u00e9\""), 33 EMOJI(Locale.US, ">>\ud83d\ude01<<\nwhich is:\n\">>\\ud83d\\ude01<<\""), 34 SPACES(Locale.US, " leading spaces and trailing ones too ") 39 final Locale locale; field in class:BreakIteratorBenchmark.Text [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidLocaleTest.java | 23 import java.util.Locale; 29 * Test some locale-dependent stuff for Android. This test mainly ensures that 34 // Test basic Locale infrastructure. 36 Locale locale = new Locale("en"); local 37 assertEquals("en", locale.toString()); 39 locale = new Locale("en", "US"); 40 assertEquals("en_US", locale.toString()) [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/ |
LocaleObjectCache.java | 32 package sun.util.locale;
|
LocaleUtils.java | 32 package sun.util.locale; 39 * Collection of static utility methods for Locale support. The
|
StringTokenIterator.java | 31 package sun.util.locale;
|
UnicodeLocaleExtension.java | 33 package sun.util.locale;
|
LocaleMatcher.java | 26 package sun.util.locale; 35 import java.util.Locale; 36 import java.util.Locale.*; 37 import static java.util.Locale.FilteringMode.*; 38 import static java.util.Locale.LanguageRange.*; 43 * Implementation for BCP47 Locale matching 48 public static List<Locale> filter(List<LanguageRange> priorityList, 49 Collection<Locale> locales, 57 for (Locale locale : locales) [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
AbstractTestPrinterParser.java | 73 import java.util.Locale; 87 protected Locale locale; field in class:AbstractTestPrinterParser 96 locale = Locale.ENGLISH; 117 return builder.toFormatter(locale).withDecimalStyle(decimalStyle); 121 return builder.appendLiteral(c).toFormatter(locale).withDecimalStyle(decimalStyle); 125 return builder.appendLiteral(s).toFormatter(locale).withDecimalStyle(decimalStyle); 129 return builder.appendText(field).toFormatter(locale).withDecimalStyle(decimalStyle); 133 return builder.appendText(field, style).toFormatter(locale).withDecimalStyle(decimalStyle) [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
TestChronoField.java | 67 import java.util.Locale; 97 Locale[] data_localeList() { 98 return new Locale[] { 99 Locale.US, 100 Locale.GERMAN, 101 Locale.JAPAN, 102 Locale.ROOT, 124 Locale locale = Locale.US local 137 Locale locale = Locale.US; local [all...] |
/packages/apps/TV/src/com/android/tv/guide/ |
TimeListAdapter.java | 29 import java.util.Locale; 58 Locale locale = res.getConfiguration().locale; local 59 mTimePatternSameDay = DateFormat.getBestDateTimePattern(locale, TIME_PATTERN_SAME_DAY); 61 DateFormat.getBestDateTimePattern(locale, TIME_PATTERN_DIFFERENT_DAY);
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
LocaleUtils.java | 21 import java.util.Locale; 38 // Locale match level constants. 47 // The languages matches, but the country are different. Or, the reference locale requires a 48 // country and the tested locale does not have one. 50 // The languages and country match, but the variants are different. Or, the reference locale 51 // requires a variant and the tested locale does not have one. 53 // The required locale is null or empty so it will accept anything, and the tested locale 56 // The language matches, and the tested locale specifies a country but the reference locale 178 final Locale locale; local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
KeyboardTextsSetTests.java | 31 import java.util.Locale; 61 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype); local 62 textsSet.setLocale(locale, context); 65 assertNotNull("Switch to alpha key label of " + locale, switchToAlphaKeyLabel); 66 assertFalse("Switch to alpha key label of " + locale, switchToAlphaKeyLabel.isEmpty()); 87 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype); local 88 textsSet.setLocale(locale, context); 91 assertNotNull(name + " of " + locale, text) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameNormalizer.java | 24 import java.util.Locale; 34 private static Locale sCollatorLocale; 40 * Ensure that the cached collators are for the current locale. 43 final Locale locale = Locale.getDefault(); local 44 if (locale.equals(sCollatorLocale)) { 47 sCollatorLocale = locale; 49 sCachedCompressingCollator = (RuleBasedCollator) Collator.getInstance(locale); 53 sCachedComplexityCollator = (RuleBasedCollator) Collator.getInstance(locale); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
FlagManager.java | 29 import java.util.Locale; 34 * to {@link LocaleManager}. It also contains some locale related display 111 // Prefer the local registration of the current locale; even if 112 // for example the default locale for English is the US, if the current 113 // default locale is English, then use its associated country, which could 115 Locale locale = Locale.getDefault(); local 116 if (language.equals(locale.getLanguage())) { 117 Image flag = getFlag(locale.getCountry()) [all...] |
Locale.java | 31 public class Locale { 38 * A locale which matches any language and region 40 public static final Locale ANY = new Locale(ANY_QUALIFIER); 43 * The locale qualifier, or {@link #ANY_QUALIFIER} if this locale matches 44 * any locale 50 * Constructs a new {@linkplain Locale} matching a given language in a given 51 * locale. 53 * @param locale the local 80 LocaleQualifier locale = folder.getLocaleQualifier(); local [all...] |
/prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils/1.7.0/ |
commons-beanutils-1.7.0.jar | |
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
LocaleValidityChecker.java | 10 package android.icu.impl.locale; 21 import android.icu.impl.locale.KeyTypeData.ValueType; 71 public boolean isValid(ULocale locale, Where where) { 73 final String language = locale.getLanguage(); 74 final String script = locale.getScript(); 75 final String region = locale.getCountry(); 76 final String variantString = locale.getVariant(); 77 final Set<Character> extensionKeys = locale.getExtensionKeys(); 109 if (!isValidU(locale, datatype, locale.getExtension(c), where)) return false 323 ULocale locale = new ULocale.Builder().setLanguageTag(extensionString).build(); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
LocaleValidityChecker.java | 9 package com.ibm.icu.impl.locale; 20 import com.ibm.icu.impl.locale.KeyTypeData.ValueType; 69 public boolean isValid(ULocale locale, Where where) { 71 final String language = locale.getLanguage(); 72 final String script = locale.getScript(); 73 final String region = locale.getCountry(); 74 final String variantString = locale.getVariant(); 75 final Set<Character> extensionKeys = locale.getExtensionKeys(); 107 if (!isValidU(locale, datatype, locale.getExtension(c), where)) return false 321 ULocale locale = new ULocale.Builder().setLanguageTag(extensionString).build(); local [all...] |
/prebuilts/tools/common/m2/repository/org/apache/maven/shared/maven-doxia-tools/1.0.2/ |
maven-doxia-tools-1.0.2.jar | |
/prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils/1.8.0/ |
commons-beanutils-1.8.0.jar | |
/prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils/1.9.2/ |
commons-beanutils-1.9.2.jar | |
/prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/ |
commons-beanutils-core-1.8.3.jar | |
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 19 import java.util.Locale; 32 new Address(Locale.ENGLISH); 34 new Address(Locale.FRANCE); 40 Address address = new Address(Locale.GERMAN); 52 Address address = new Address(Locale.ITALY); 63 Address address = new Address(Locale.JAPAN); 74 Address address = new Address(Locale.KOREA); 85 Address address = new Address(Locale.TAIWAN); 102 Address address = new Address(Locale.SIMPLIFIED_CHINESE); 113 Address address = new Address(Locale.CHINA) 250 Locale locale = Locale.US; local 307 Locale locale = Locale.KOREA; local [all...] |
/bionic/libc/private/ |
bionic_tls.h | 32 #include <locale.h> 87 locale_t locale; member in struct:bionic_tls
|