HomeSort by relevance Sort by last modified time
    Searched refs:forLanguageTags (Results 1 - 18 of 18) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/inputmethod/
HintLocales.java 80 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("en-US")));
84 LocaleList.forLanguageTags("en-GB,en-US,en")));
87 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("fil-ph")));
90 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("fr")));
91 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("zh_CN")));
92 layout.addView(createEditTextWithImeHintLocales(LocaleList.forLanguageTags("ja")));
97 LocaleList.forLanguageTags("ryu-Kana-JP-x-android")));
  /frameworks/base/core/tests/coretests/src/android/os/
LocaleListTest.java 34 ll = new LocaleList(Locale.forLanguageTag("fr"), LocaleList.forLanguageTags("fr"));
37 ll = new LocaleList(Locale.forLanguageTag("fr"), LocaleList.forLanguageTags("de"));
40 ll = new LocaleList(Locale.forLanguageTag("fr"), LocaleList.forLanguageTags("de,ja"));
43 ll = new LocaleList(Locale.forLanguageTag("fr"), LocaleList.forLanguageTags("de,fr,ja"));
46 ll = new LocaleList(Locale.forLanguageTag("fr"), LocaleList.forLanguageTags("de,fr"));
49 ll = new LocaleList(Locale.forLanguageTag("fr"), LocaleList.forLanguageTags("fr,de"));
70 LocaleList.setDefault(LocaleList.forLanguageTags("ae,en,ja"), 1 /* en */);
  /cts/tests/tests/os/src/android/os/cts/
LocaleListTest.java 110 final LocaleList twoMember = LocaleList.forLanguageTags("en,fr");
190 assertEquals(LocaleList.getEmptyLocaleList(), LocaleList.forLanguageTags(null));
191 assertEquals(LocaleList.getEmptyLocaleList(), LocaleList.forLanguageTags(""));
194 LocaleList.forLanguageTags("en-US"));
197 assertEquals(new LocaleList(la), LocaleList.forLanguageTags("en-PH,en-US"));
222 LocaleList.setDefault(LocaleList.forLanguageTags("ae,en,ja"));
276 final LocaleList locales = LocaleList.forLanguageTags("ae");
292 final LocaleList locales = LocaleList.forLanguageTags("ae,en");
310 LocaleList original = LocaleList.forLanguageTags("en-PH,en-US");
316 LocaleList.forLanguageTags("en").describeContents()
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
LocaleSpanTest.java 42 checkGetLocales(LocaleList.forLanguageTags("en"));
43 checkGetLocales(LocaleList.forLanguageTags("en-GB,en"));
44 checkGetLocales(LocaleList.forLanguageTags("de-DE-u-co-phonebk,en-GB,en"));
87 LocaleList localeListForSpan = LocaleList.forLanguageTags("en");
91 LocaleList localeList = LocaleList.forLanguageTags("fr,de");
103 LocaleList localeListForSpan = LocaleList.forLanguageTags("en");
107 LocaleList localeList = LocaleList.forLanguageTags("fr,de");
  /frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
LocaleUtilsTest.java 61 final LocaleList preferredLocales = LocaleList.forLanguageTags("zh-Hans-TW");
72 final LocaleList preferredLocales = LocaleList.forLanguageTags("fr,en-US,ja-JP");
83 LocaleList.forLanguageTags("en-AU,en-GB,en-US,en,en-IN");
92 LocaleList.forLanguageTags("en-AU,en-GB,en-US,en,en-IN");
103 LocaleList.forLanguageTags("en-AU,en-GB,en-US,en,en-IN");
116 LocaleList.forLanguageTags("en-AU,en-GB,en-US,en,en-IN");
129 LocaleList.forLanguageTags("en-AU,en-GB,en-US,en,en-IN");
151 final LocaleList preferredLocales = LocaleList.forLanguageTags("fr,en-US,ja-JP");
166 final LocaleList preferredLocales = LocaleList.forLanguageTags("en-US");
179 LocaleList.forLanguageTags("en-AU,en-GB,en-US,en,en-IN")
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigurationTest.java 97 cfg1.setLocales(LocaleList.forLanguageTags("fr"));
98 cfg2.setLocales(LocaleList.forLanguageTags("fr,en"));
100 cfg1.setLocales(LocaleList.forLanguageTags("fr,en"));
101 cfg2.setLocales(LocaleList.forLanguageTags("fr"));
104 cfg1.setLocales(LocaleList.forLanguageTags("fr,en"));
105 cfg2.setLocales(LocaleList.forLanguageTags("fr,en-US"));
107 cfg1.setLocales(LocaleList.forLanguageTags("fr,en-US"));
108 cfg2.setLocales(LocaleList.forLanguageTags("fr,en"));
192 config.setLocales(LocaleList.forLanguageTags("fr,en"));
331 assertWriteToParcel(createConfig(LocaleList.forLanguageTags("fr,en-US")), Parcel.obtain())
    [all...]
ResourcesTest.java 255 cfg.setLocales(LocaleList.forLanguageTags("az-Arab,ru"));
262 assertTrue(LocaleList.forLanguageTags("az-Arab,ru").equals(locales) ||
263 LocaleList.forLanguageTags("ru,az-Arab").equals(locales));
269 cfg.setLocales(LocaleList.forLanguageTags("az-Arab"));
272 assertEquals(LocaleList.forLanguageTags("az-Arab"), res.getConfiguration().getLocales());
  /frameworks/base/core/tests/coretests/src/android/content/res/
ResourcesLocaleTest.java 69 final LocaleList preferredLocales = LocaleList.forLanguageTags("en-US,pl-PL");
86 final LocaleList preferredLocales = LocaleList.forLanguageTags("fr-FR,pl-PL");
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
EditorInfoTest.java 53 info.hintLocales = LocaleList.forLanguageTags("en-PH,en-US");
  /frameworks/base/core/java/android/os/
LocaleList.java 241 return LocaleList.forLanguageTags(source.readString());
265 public static LocaleList forLanguageTags(@Nullable String list) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 650 p.setTextLocales(LocaleList.forLanguageTags("fr,de"));
652 assertEquals(LocaleList.forLanguageTags("fr,de"), p.getTextLocales());
    [all...]
  /frameworks/base/core/java/android/content/res/
Configuration.java     [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java     [all...]
  /frameworks/base/services/core/java/com/android/server/input/
InputManagerService.java     [all...]
  /frameworks/base/core/java/android/provider/
Settings.java     [all...]
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 1051 milliseconds