Searched refs:localeList (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | MyanmarTest.java | 143 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/ |
D | LocaleSpanTest.java | 93 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/ |
D | DeviceInfoActivity.java | 180 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/ |
D | MyWebView.java | 44 public void setLocaleList(LocaleList localeList) { in setLocaleList() argument 45 this.mLocaleList = localeList; in setLocaleList()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InlineSuggestionsRequestTest.java | 111 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/ |
D | LocaleListTest.java | 321 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/ |
D | AssistTestBase.java | 563 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/ |
D | ActivityManagerGetConfigTests.java | 254 LocaleList lprotos = LocaleList.forLanguageTags(resConfig.configuration.localeList); in checkResourceConfig()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 5648 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()
|