Home
last modified time | relevance | path

Searched refs:ENGLISH (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/textservices/
DLocaleUtils.java105 if (Locale.ENGLISH.equals(systemLocaleLanguage)) { in getSuitableLocalesForSpellChecker()
122 locales.add(Locale.ENGLISH); in getSuitableLocalesForSpellChecker()
129 locales.add(Locale.ENGLISH); in getSuitableLocalesForSpellChecker()
148 locales.add(Locale.ENGLISH); in getSuitableLocalesForSpellChecker()
/frameworks/base/core/tests/coretests/src/android/text/method/
DWordIteratorTest.java155 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testSetCharSequence()
178 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testWindowWidth()
195 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testPreceding()
235 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testFollowing()
275 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testIsBoundary()
303 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testNextBoundary()
350 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testPrevBoundary()
397 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testGetBeginning()
425 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testGetBeginning()
471 WordIterator wordIterator = new WordIterator(Locale.ENGLISH); in testGetEnd()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/
DLocaleUtilsTest.java93 assertEquals(Locale.ENGLISH, locales.get(4)); in testGetSuitableLocalesForSpellChecker()
105 assertEquals(Locale.ENGLISH, locales.get(4)); in testGetSuitableLocalesForSpellChecker()
118 assertEquals(Locale.ENGLISH, locales.get(5)); in testGetSuitableLocalesForSpellChecker()
137 assertEquals(Locale.ENGLISH, locales.get(4)); in testGetSuitableLocalesForSpellChecker()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextLanguageTest.java51 .putLocale(ULocale.ENGLISH, 0.8f) in testParcel()
63 assertEquals(ULocale.ENGLISH, result.getLocale(0)); in testParcel()
64 assertEquals(0.8f, result.getConfidenceScore(ULocale.ENGLISH), EPSILON); in testParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStateNotificationControllerTest.java248 mNotificationInfoProvider.getNotificationInfos(Locale.ENGLISH); in test_notificationInfoProvider()
249 verify(mNotificationInfoProvider).refreshNotificationInfos(eq(Locale.ENGLISH)); in test_notificationInfoProvider()
250 assertEquals(Locale.ENGLISH, mNotificationInfoProvider.getCachedLocale()); in test_notificationInfoProvider()
254 mNotificationInfoProvider.getNotificationInfos(Locale.ENGLISH); in test_notificationInfoProvider()
255 verify(mNotificationInfoProvider, never()).refreshNotificationInfos(eq(Locale.ENGLISH)); in test_notificationInfoProvider()
256 assertEquals(Locale.ENGLISH, mNotificationInfoProvider.getCachedLocale()); in test_notificationInfoProvider()
/frameworks/base/core/tests/coretests/src/android/os/
DLocaleListTest.java107 Locale.ENGLISH, in testIntersection()
122 Locale.ENGLISH, in testIntersection()
134 Locale.ENGLISH, in testIntersection()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/util/
DAccessibilityUtilsTest.java98 final ParcelableSpan parcelableSpan = new LocaleSpan(Locale.ENGLISH); in textOrSpanChanged_nonSpanToParcelableSpan_returnParcelableSpanChange()
112 final ParcelableSpan parcelableSpan = new LocaleSpan(Locale.ENGLISH); in textOrSpanChanged_nonParcelableSpanToParcelableSpan_returnParcelableSpanChange()
140 final ParcelableSpan parcelableSpan = new LocaleSpan(Locale.ENGLISH); in textOrSpanChanged_parcelableSpanChange_returnParcelableSpanChange()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiControlServiceStaticTest.java40 assertThat(HdmiControlService.localeToMenuLanguage(Locale.ENGLISH)).isEqualTo("eng"); in localToMenuLanguage_english()
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DValidatorUtil.java222 result.getMessage(Locale.ENGLISH).toString()).setLevel(level).setFix( in generateResults()
359 compoundFixSuggestions.getDescription(Locale.ENGLISH)); in convertFix()
365 removeViewAttributeFix.getDescription(Locale.ENGLISH)); in convertFix()
372 setViewAttributeFixSuggestion.getDescription(Locale.ENGLISH)); in convertFix()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java156 String hostName = host.trim().toLowerCase(Locale.ENGLISH); in verify()
161 cn = cn.toLowerCase(Locale.ENGLISH); in verify()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java363 verify(mEditor).putString(String.format(Locale.ENGLISH, in setScreenUnlockedFunctions()
371 when(mSharedPreferences.getString(String.format(Locale.ENGLISH, in unlockScreen()
/frameworks/base/core/java/android/view/
DCutoutSpecification.java110 Log.d(TAG, String.format(Locale.ENGLISH, in CutoutSpecification()
404 Log.d(TAG, String.format(Locale.ENGLISH,
/frameworks/base/services/core/java/com/android/server/utils/
DSlogf.java53 sFormatter = new Formatter(sMessageBuilder, Locale.ENGLISH);
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateIntervalFormatTest.java20 import static android.icu.util.ULocale.ENGLISH;
638 ENGLISH, GMT_ZONE, from, to, FORMAT_SHOW_DATE | FORMAT_SHOW_TIME | FORMAT_24HOUR); in testEndAtMidnight_dateAndTime()
666 ENGLISH, GMT_ZONE, from, to, FORMAT_SHOW_DATE); in testEndAtMidnight_dateOnly()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodInfoUtils.java55 Locale.ENGLISH, // "en"
/frameworks/base/core/java/android/content/pm/
DInstantAppResolveInfo.java269 mDigestBytes = generateDigest(hostName.toLowerCase(Locale.ENGLISH), maxDigests); in InstantAppDigest()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java738 return String.format(Locale.ENGLISH, "<%s>", tag); in getTagStart()
742 return String.format(Locale.ENGLISH, "</%s>", tag); in getTagEnd()
/frameworks/base/services/core/java/com/android/server/powerstats/
DPowerStatsService.java633 sb.append(consumer.name.toUpperCase(Locale.ENGLISH)); in getEnergyConsumerName()
707 Log.d(TAG, String.format(Locale.ENGLISH, in getPowerMonitorReadingsImpl()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java45 Locale.ENGLISH.getLanguage(), // English
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsStore.java235 return new File(mStoreDir, String.format(Locale.ENGLISH, "%019d", id) in makePowerStatsSpanFilename()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java257 type = type.toUpperCase(Locale.ENGLISH); in getType()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipGravityTest.java75 isRtl ? new Locale("ar") : Locale.ENGLISH); in setRTL()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java317 FALLBACKS.put(Locale.ENGLISH, Locale.US); in FALLBACKS.put() argument
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java634 String.format(Locale.ENGLISH, UNLOCKED_CONFIG_PREF, mCurrentUser), in UsbHandler()
1262 editor.putString(String.format(Locale.ENGLISH, UNLOCKED_CONFIG_PREF, in handleMessage()
1343 mSettings.getString(String.format(Locale.ENGLISH, in handleMessage()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java975 return name.flattenToShortString() + String.format(Locale.ENGLISH, format, in generateInputId()

12