Home
last modified time | relevance | path

Searched refs:localeList (Results 1 – 9 of 9) 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/inputmethod/src/android/view/inputmethod/cts/
DInlineSuggestionsRequestTest.java111 final LocaleList localeList = LocaleList.forLanguageTags("fa-IR"); in testInlineSuggestionsRequestValues() local
134 assertThat(request.getSupportedLocales()).isEqualTo(localeList); in testInlineSuggestionsRequestValues()
/cts/tests/tests/os/src/android/os/cts/
DLocaleListTest.java321 private static void resetDefaultLocaleList(Locale topLocale, LocaleList localeList) { in resetDefaultLocaleList() argument
328 if (localeList != null) { in resetDefaultLocaleList()
329 for (int index = 0; index < localeList.size(); index++) { in resetDefaultLocaleList()
330 final Locale locale = localeList.get(index); in resetDefaultLocaleList()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java563 protected void verifyAssistStructureHasLocaleList(LocaleList localeList) { in verifyAssistStructureHasLocaleList() argument
565 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.java5648 final LocaleList localeList = LocaleList.forLanguageTags("en-PH,en-US"); in testAccessImeHintLocales() local
5649 textView.setImeHintLocales(localeList); in testAccessImeHintLocales()
5650 assertEquals(localeList, textView.getImeHintLocales()); in testAccessImeHintLocales()
5654 assertEquals(localeList, editorInfo.hintLocales); in testAccessImeHintLocales()
5667 final LocaleList localeList = LocaleList.forLanguageTags("fa-IR"); in testSetImeHintLocalesChangesInputType() local
5668 textView.setImeHintLocales(localeList); in testSetImeHintLocalesChangesInputType()