/cts/tests/framework/base/locale/TestApp/src/android/localemanager/cts/app/ |
D | MainActivity.java | 73 LocaleList locales = localeManager.getApplicationLocales(); in onCreate() local 78 TEST_APP_PACKAGE, locales)); in onCreate() 108 String locales = intent.getStringExtra(EXTRA_SET_LOCALECONFIG); in onCreate() local 109 LocaleConfig localeConfig = "reset".equals(locales) ? null : new LocaleConfig( in onCreate() 120 LocaleList locales = newConfig.getLocales(); in onConfigurationChanged() local 124 TEST_APP_PACKAGE, locales)); in onConfigurationChanged()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | LocaleSpanTest.java | 37 private void verifyGetLocales(@NonNull final LocaleList locales) { in verifyGetLocales() argument 38 final LocaleSpan span = new LocaleSpan(locales); in verifyGetLocales() 39 assertEquals(locales.get(0), span.getLocale()); in verifyGetLocales() 40 assertEquals(locales, span.getLocales()); in verifyGetLocales() 43 assertEquals(locales.get(0), cloned.getLocale()); in verifyGetLocales() 44 assertEquals(locales, cloned.getLocales()); in verifyGetLocales()
|
/cts/tests/framework/base/locale/util/src/android/localemanager/cts/util/ |
D | LocaleUtils.java | 58 LocaleList locales) { in constructResultIntent() argument 61 .putExtra(Intent.EXTRA_LOCALE_LIST, locales); in constructResultIntent()
|
/cts/tests/framework/base/locale/InstallerApp/src/android/localemanager/cts/installer/ |
D | MainActivity.java | 44 LocaleList locales = localeManager.getApplicationLocales(packageName); in onCreate() local 46 packageName, locales)); in onCreate()
|
/cts/tests/framework/base/locale/ImeApp/src/android/localemanager/cts/ime/ |
D | MainActivity.java | 45 LocaleList locales = localeManager.getApplicationLocales(packageName); in onCreate() local 47 packageName, locales)); in onCreate()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | LocaleDeviceInfo.java | 57 List<String> locales = Arrays.asList( in collectDeviceInfo() local 59 if (locales.isEmpty()) { in collectDeviceInfo() 61 locales.add("en_US"); in collectDeviceInfo() 63 store.addListResult("locale", locales); in collectDeviceInfo()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SerifFallbackTest.java | 86 final Locale[] locales = new Locale[] { in testSerifFallback() local 90 for (Locale locale : locales) { in testSerifFallback()
|
D | StaticLayoutLineBreakingVariantsTest.java | 52 private static TextPaint setupPaint(LocaleList locales) { in setupPaint() argument 60 paint.setTextLocales(locales); in setupPaint() 64 private static StaticLayout buildLayout(String text, LocaleList locales, in buildLayout() argument 67 setupPaint(locales), width); in buildLayout()
|
D | BoringLayoutTest.java | 495 LocaleList[] locales = { in testPrecomputedText() local 510 for (LocaleList locale : locales) { in testPrecomputedText() 528 for (int localei = 0; localei < locales.length; localei++) { in testPrecomputedText() 535 precomputedPaint.setTextLocales(locales[localei]); in testPrecomputedText() 536 layoutPaint.setTextLocales(locales[(localei + 1) % locales.length]); in testPrecomputedText()
|
D | StaticLayoutTest.java | 1469 LocaleList[] locales = { 1483 for (LocaleList locale : locales) { 1502 for (int localei = 0; localei < locales.length; localei++) { 1509 p1.setTextLocales(locales[localei]); 1510 p2.setTextLocales(locales[(localei + 1) % locales.length]);
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LocaleListTest.java | 277 final LocaleList locales = LocaleList.forLanguageTags("ae"); in testSetDefault_oneLocale() local 278 LocaleList.setDefault(locales); in testSetDefault_oneLocale() 281 assertEquals(locales, LocaleList.getDefault()); in testSetDefault_oneLocale() 282 assertEquals(locales, LocaleList.getAdjustedDefault()); in testSetDefault_oneLocale() 293 final LocaleList locales = LocaleList.forLanguageTags("ae,en"); in testSetDefault_twoLocales() local 294 LocaleList.setDefault(locales); in testSetDefault_twoLocales() 297 assertEquals(locales, LocaleList.getDefault()); in testSetDefault_twoLocales() 298 assertEquals(locales, LocaleList.getAdjustedDefault()); in testSetDefault_twoLocales()
|
/cts/hostsidetests/locale/src/android/localemanager/cts/ |
D | AppSupportedLocalesChangedAtomTest.java | 191 private void executeOverrideLocaleConfigCommand(String packageName, String locales) in executeOverrideLocaleConfigCommand() argument 193 if (locales != null) { in executeOverrideLocaleConfigCommand() 198 locales in executeOverrideLocaleConfigCommand()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoActivity.java | 179 String[] locales = getAssets().getLocales(); in onCreate() local 181 for (String s : locales) { in onCreate()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManagerTest.java | 202 String locales[] = mAssets.getNonSystemLocales(); in testGetNonSystemLocales() local 203 HashSet<String> localesSet = new HashSet<String>(Arrays.asList(locales)); in testGetNonSystemLocales()
|
D | ResourcesTest.java | 318 final LocaleList locales = res.getConfiguration().getLocales(); in testUpdateConfiguration_copyLocales() local 319 assertTrue(LocaleList.forLanguageTags("az-Arab,ru").equals(locales) || in testUpdateConfiguration_copyLocales() 320 LocaleList.forLanguageTags("ru,az-Arab").equals(locales)); in testUpdateConfiguration_copyLocales()
|
D | ConfigTest.java | 1425 String[] locales = am.getLocales(); in testGetLocalesConvertsTlToFil() local 1428 for (String locale : locales) { in testGetLocalesConvertsTlToFil()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_fonts_cts_SystemFonts.cpp | 115 FontMatcher& setLocales(const std::string& locales) { in setLocales() argument 116 AFontMatcher_setLocales(mMatcher.get(), locales.c_str()); in setLocales()
|
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/ |
D | CtsStreamingService.java | 71 List<Locale> locales = Arrays.asList(Locale.CANADA, Locale.US); 72 STREAMING_SERVICE_INFO = new StreamingServiceInfo(localeDict, "class1", locales,
|
D | CtsDownloadService.java | 121 List<Locale> locales = Arrays.asList(Locale.CANADA, Locale.US); 123 FILE_SERVICE_INFO = new FileServiceInfo(localeDict, "class1", locales,
|
/cts/tests/backup/src/android/backup/cts/ |
D | AppLocalesBackupTest.java | 455 private void setApplicationLocalesAndVerify(String packageName, LocaleList locales) in setApplicationLocalesAndVerify() argument 458 mLocaleManager.setApplicationLocales(packageName, locales), in setApplicationLocalesAndVerify() 460 assertLocalesForApp(packageName, locales); in setApplicationLocalesAndVerify()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioPresentationTest.java | 210 private static Map<ULocale, CharSequence> localeToULocale(Map<Locale, CharSequence> locales) { in localeToULocale() argument 212 for (Map.Entry<Locale, CharSequence> entry : locales.entrySet()) { in localeToULocale()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 778 LocaleList locales = window.getLocales(); in testWindowLocale_setGet() local 779 assertEquals(testLocaleEn, locales.get(0)); in testWindowLocale_setGet() 780 assertEquals(testLocaleDe, locales.get(1)); in testWindowLocale_setGet()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 3318 String[] locales = Resources.getSystem().getAssets().getLocales(); in maybeInitializeSystemLocales() local 3319 List<Locale> systemLocales = new ArrayList<Locale>(locales.length); in maybeInitializeSystemLocales() 3320 for (String localeStr : locales) { in maybeInitializeSystemLocales()
|