/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/framework/base/localeconfig/src/com/android/cts/localeconfig/ |
D | LocaleConfigAppUpdateTest.java | 128 LocaleList localeList = localeConfig.getSupportedLocales(); in testUpgradedApk_setFromApp_KeepAppLocales() local 130 assertNull(localeList); in testUpgradedApk_setFromApp_KeepAppLocales() 176 LocaleList localeList = localeConfig.getSupportedLocales(); in testUpgradedApk_removeLocaleConfig_ClearAppLocales() local 178 assertNull(localeList); in testUpgradedApk_removeLocaleConfig_ClearAppLocales()
|
D | LocaleConfigTest.java | 124 LocaleList localeList = localeConfig.getSupportedLocales(); in testNoLocaleConfigTag() local 126 assertNull(localeList); in testNoLocaleConfigTag()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InlineSuggestionsRequestTest.java | 113 final LocaleList localeList = LocaleList.forLanguageTags("fa-IR"); in testInlineSuggestionsRequestValues() local 136 assertThat(request.getSupportedLocales()).isEqualTo(localeList); in testInlineSuggestionsRequestValues()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LocaleListTest.java | 323 private static void resetDefaultLocaleList(Locale topLocale, LocaleList localeList) { in resetDefaultLocaleList() argument 330 if (localeList != null) { in resetDefaultLocaleList() 331 for (int index = 0; index < localeList.size(); index++) { in resetDefaultLocaleList() 332 final Locale locale = localeList.get(index); in resetDefaultLocaleList()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 786 private void setActivityLocale(LocaleManager localeManager, LocaleList localeList) in setActivityLocale() argument 790 () -> localeManager.setApplicationLocales(localeList)), in setActivityLocale() 794 && localeManager.getApplicationLocales().equals(localeList); in setActivityLocale()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 583 protected void verifyAssistStructureHasLocaleList(LocaleList localeList) { in verifyAssistStructureHasLocaleList() argument 585 return n.getLocaleList() != null && localeList.equals(n.getLocaleList()); in verifyAssistStructureHasLocaleList()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityManagerGetConfigTests.java | 254 LocaleList lprotos = LocaleList.forLanguageTags(resConfig.configuration.localeList); in checkResourceConfig()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 5872 final LocaleList localeList = LocaleList.forLanguageTags("en-PH,en-US"); in testAccessImeHintLocales() local 5873 textView.setImeHintLocales(localeList); in testAccessImeHintLocales() 5874 assertEquals(localeList, textView.getImeHintLocales()); in testAccessImeHintLocales() 5878 assertEquals(localeList, editorInfo.hintLocales); in testAccessImeHintLocales() 5891 final LocaleList localeList = LocaleList.forLanguageTags("fa-IR"); in testSetImeHintLocalesChangesInputType() local 5892 textView.setImeHintLocales(localeList); in testSetImeHintLocalesChangesInputType()
|