Searched refs:Locale (Results 26 - 50 of 371) sorted by relevance

1234567891011>>

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
H A DSchemaIdentityKey.kt20 import java.util.Locale
33 o1.toLowerCase(Locale.ENGLISH).compareTo(o2.toLowerCase(Locale.ENGLISH))
/frameworks/base/core/java/android/net/
H A DNetworkConfig.java19 import java.util.Locale;
66 name = fragments[0].trim().toLowerCase(Locale.ROOT);
/frameworks/base/core/java/android/security/net/config/
H A DDomain.java19 import java.util.Locale;
36 this.hostname = hostname.toLowerCase(Locale.US);
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceRequest.java21 import java.util.Locale;
78 sb.append(String.format(Locale.US, "%02x", WifiP2pUpnpServiceInfo.VERSION_1_0));
/frameworks/layoutlib/bridge/src/android/view/textservice/
H A DTextServicesManager.java22 import java.util.Locale;
39 public SpellCheckerSession newSpellCheckerSession(Bundle bundle, Locale locale,
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
H A DPickerUtility.java24 import java.util.Locale;
36 public final Locale locale;
40 private DateConstant(Locale locale, Resources resources) {
51 public final Locale locale;
57 private TimeConstant(Locale locale, Resources resources) {
67 public static DateConstant getDateConstantInstance(Locale locale, Resources resources) {
71 public static TimeConstant getTimeConstantInstance(Locale locale, Resources resources) {
88 public static Calendar getCalendarForLocale(Calendar oldCalendar, Locale locale) {
/frameworks/minikin/libs/minikin/
H A DLocale.h66 // Locale is a compact representation of a BCP 47 language tag.
69 struct Locale { struct in namespace:minikin
78 Locale() function in struct:minikin::Locale
87 Locale(const StringPiece& buf);
89 bool operator==(const Locale other) const {
95 bool operator!=(const Locale other) const { return !(*this == other); }
111 bool isEqualScript(const Locale& other) const;
129 Locale getPartialLocale(SubtagBits bits) const;
140 // mLanguage = 0 means the Locale is unsupported.
174 explicit LocaleList(std::vector<Locale>
[all...]
H A DHyphenatorMap.cpp49 const Locale locale(localeStr);
61 const Locale fromLocale(fromLocaleStr);
62 const Locale toLocale(toLocaleStr);
73 const Hyphenator* HyphenatorMap::lookupInternal(const Locale& locale) {
120 const Hyphenator* HyphenatorMap::lookupBySubtag(const Locale& locale, SubtagBits bits) const {
121 const Locale partialLocale = locale.getPartialLocale(bits);
/frameworks/base/core/java/com/android/internal/app/
H A DLocaleStore.java27 import java.util.Locale;
39 private final Locale mLocale;
40 private final Locale mParent;
53 private LocaleInfo(Locale locale) {
64 this(Locale.forLanguageTag(localeId));
67 private static Locale getParent(Locale locale) {
71 return new Locale.Builder()
74 .setExtension(Locale.UNICODE_LOCALE_EXTENSION, "")
83 public Locale getLocal
[all...]
/frameworks/base/telephony/java/android/telephony/mbms/
H A DServiceInfo.java30 import java.util.Locale;
44 private final Map<Locale, String> names;
46 private final List<Locale> locales;
52 public ServiceInfo(Map<Locale, String> newNames, String newClassName, List<Locale> newLocales,
83 Locale locale = (java.util.Locale) in.readSerializable();
92 locales = new ArrayList<Locale>(localesCount);
94 Locale l = (java.util.Locale) i
[all...]
H A DFileServiceInfo.java27 import java.util.Locale;
40 public FileServiceInfo(Map<Locale, String> newNames, String newClassName,
41 List<Locale> newLocales, String newServiceId, Date start, Date end,
/frameworks/minikin/tests/perftests/
H A DWordBreaker.cpp20 #include "Locale.h"
31 wb.followingWithLocale(Locale("en-US"), 0);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DMccTableTest.java22 import java.util.Locale;
75 assertEquals(Locale.forLanguageTag("en-CA"),
77 assertEquals(Locale.forLanguageTag("en-GB"),
79 assertEquals(Locale.forLanguageTag("en-US"),
81 assertEquals(Locale.forLanguageTag("zh-HK"),
83 assertEquals(Locale.forLanguageTag("en-HK"),
85 assertEquals(Locale.forLanguageTag("zh-TW"),
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DMDnsUtils.java23 import java.util.Locale;
64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US))
65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US)))
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DToUpperCase.java26 import java.util.Locale;
52 output.setObjectValue(inputString.toUpperCase(Locale.getDefault()));
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/text/
H A DAllCapsTransformationMethod.java28 import java.util.Locale;
35 private Locale mLocale;
/frameworks/base/core/java/android/provider/
H A DUserDictionary.java19 import java.util.Locale;
85 * locales. Locale is as defined by the string returned by Locale.toString().
103 * @deprecated Use {@link #addWord(Context, String, int, String, Locale)}.
109 * @deprecated Use {@link #addWord(Context, String, int, String, Locale)}.
123 * {@link #addWord(Context, String, int, String, Locale)} instead.
139 final Locale locale;
142 locale = Locale.getDefault();
162 int frequency, String shortcut, Locale locale) {
/frameworks/base/core/java/android/text/method/
H A DDateKeyListener.java29 import java.util.Locale;
55 * @deprecated Use {@link #DateKeyListener(Locale)} instead.
65 public DateKeyListener(@Nullable Locale locale) {
82 * @deprecated Use {@link #getInstance(Locale)} instead.
94 public static DateKeyListener getInstance(@Nullable Locale locale) {
127 private static final HashMap<Locale, DateKeyListener> sInstanceCache = new HashMap<>();
H A DDateTimeKeyListener.java29 import java.util.Locale;
56 * @deprecated Use {@link #DateTimeKeyListener(Locale)} instead.
67 public DateTimeKeyListener(@Nullable Locale locale) {
94 * @deprecated Use {@link #getInstance(Locale)} instead.
106 public static DateTimeKeyListener getInstance(@Nullable Locale locale) {
138 private static final HashMap<Locale, DateTimeKeyListener> sInstanceCache = new HashMap<>();
H A DTimeKeyListener.java29 import java.util.Locale;
56 * @deprecated Use {@link #TimeKeyListener(Locale)} instead.
67 public TimeKeyListener(@Nullable Locale locale) {
94 * @deprecated Use {@link #getInstance(Locale)} instead.
106 public static TimeKeyListener getInstance(@Nullable Locale locale) {
138 private static final HashMap<Locale, TimeKeyListener> sInstanceCache = new HashMap<>();
H A DAllCapsTransformationMethod.java28 import java.util.Locale;
39 private Locale mLocale;
56 Locale locale = null;
/frameworks/base/core/java/android/text/style/
H A DLocaleSpan.java30 import java.util.Locale;
33 * Changes the {@link Locale} of the text to which the span is attached.
40 * Creates a {@link LocaleSpan} from a well-formed {@link Locale}. Note that only
41 * {@link Locale} objects that can be created by {@link Locale#forLanguageTag(String)} are
44 * <p><b>Caveat:</b> Do not specify any {@link Locale} object that cannot be created by
45 * {@link Locale#forLanguageTag(String)}. {@code new Locale(" a ", " b c", " d")} is an
46 * example of such a malformed {@link Locale} object.</p>
48 * @param locale The {@link Locale} o
[all...]
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DDateFormatTest.java29 import java.util.Locale;
54 assertFalse(DateFormat.is24HourLocale(Locale.US));
55 assertTrue(DateFormat.is24HourLocale(Locale.GERMANY));
H A DFormatterTest.java38 import java.util.Locale;
44 private Locale mOriginalLocale;
63 setLocale(Locale.US);
104 setLocale(new Locale("es", "ES"));
110 setLocale(Locale.US);
120 setLocale(Locale.US);
136 setLocale(Locale.US);
164 setLocale(Locale.FRANCE);
170 setLocale(Locale.US);
213 setLocale(new Locale("r
[all...]
/frameworks/base/location/tests/locationtests/src/android/location/
H A DGeocoderTest.java27 import java.util.Locale;
35 Locale locale = new Locale("en", "us");

Completed in 608 milliseconds

1234567891011>>