Home
last modified time | relevance | path

Searched refs:localeList (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DMyanmarTest.java143 for (LocaleList localeList : testLocales) { in testUnicodeRenders_withValidLocaleList()
144 assertTrue("Should render Unicode text correctly in locale " + localeList.toString(), in testUnicodeRenders_withValidLocaleList()
145 isUnicodeRendersCorrectly(mContext, localeList)); in testUnicodeRenders_withValidLocaleList()
174 for (LocaleList localeList : testLocales) { in testZawgyiRenders_withValidLocaleList()
175 assertTrue("Should render Zawgyi text correctly in locale " + localeList.toString(), in testZawgyiRenders_withValidLocaleList()
176 isZawgyiRendersCorrectly(mContext, localeList)); in testZawgyiRenders_withValidLocaleList()
188 final LocaleList localeList = font.getLocaleList(); in testIfZawgyiLocaleIsSupported_fontWithQaagShouldExists() local
189 for (int index = 0; index < localeList.size(); index++) { in testIfZawgyiLocaleIsSupported_fontWithQaagShouldExists()
190 final Locale fontLocale = localeList.get(index); in testIfZawgyiLocaleIsSupported_fontWithQaagShouldExists()
203 private static boolean isUnicodeRendersCorrectly(Context context, LocaleList localeList) { in isUnicodeRendersCorrectly() argument
[all …]
/cts/tests/tests/text/src/android/text/style/cts/
DLocaleSpanTest.java93 LocaleList localeList = LocaleList.forLanguageTags("fr,de"); in testUpdateDrawState() local
94 tp.setTextLocales(localeList); in testUpdateDrawState()
95 assertEquals(localeList, tp.getTextLocales()); in testUpdateDrawState()
96 assertEquals(localeList.get(0), tp.getTextLocale()); in testUpdateDrawState()
109 LocaleList localeList = LocaleList.forLanguageTags("fr,de"); in testUpdateMeasureState() local
110 tp.setTextLocales(localeList); in testUpdateMeasureState()
111 assertEquals(localeList, tp.getTextLocales()); in testUpdateMeasureState()
112 assertEquals(localeList.get(0), tp.getTextLocale()); in testUpdateMeasureState()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoActivity.java180 StringBuilder localeList = new StringBuilder(); in onCreate() local
183 localeList.append(new Locale("en", "US").toString()); in onCreate()
185 localeList.append(s); in onCreate()
187 localeList.append(";"); in onCreate()
190 localeList.toString()); in onCreate()
/cts/tests/tests/assist/common/src/android/assist/common/
DMyWebView.java44 public void setLocaleList(LocaleList localeList) { in setLocaleList() argument
45 this.mLocaleList = localeList; in setLocaleList()
/cts/tests/tests/os/src/android/os/cts/
DLocaleListTest.java325 private static void resetDefaultLocaleList(Locale topLocale, LocaleList localeList) { in resetDefaultLocaleList() argument
332 if (localeList != null) { in resetDefaultLocaleList()
333 for (int index = 0; index < localeList.size(); index++) { in resetDefaultLocaleList()
334 final Locale locale = localeList.get(index); in resetDefaultLocaleList()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java496 protected void verifyAssistStructureHasLocaleList(LocaleList localeList) { in verifyAssistStructureHasLocaleList() argument
498 return n.getLocaleList() != null && localeList.equals(n.getLocaleList()); in verifyAssistStructureHasLocaleList()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityManagerGetConfigTests.java254 LocaleList lprotos = LocaleList.forLanguageTags(resConfig.configuration.localeList); in checkResourceConfig()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java5500 final LocaleList localeList = LocaleList.forLanguageTags("en-PH,en-US"); in testAccessImeHintLocales() local
5501 textView.setImeHintLocales(localeList); in testAccessImeHintLocales()
5502 assertEquals(localeList, textView.getImeHintLocales()); in testAccessImeHintLocales()
5506 assertEquals(localeList, editorInfo.hintLocales); in testAccessImeHintLocales()
5519 final LocaleList localeList = LocaleList.forLanguageTags("fa-IR"); in testSetImeHintLocalesChangesInputType() local
5520 textView.setImeHintLocales(localeList); in testSetImeHintLocalesChangesInputType()