/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | StringUtilsTests.java | 264 StringUtils.capitalizeFirstCodePoint("iab", Locale.ENGLISH)); in testCapitalizeFirstCodePoint() 266 StringUtils.capitalizeFirstCodePoint("cAmElCaSe", Locale.ENGLISH)); in testCapitalizeFirstCodePoint() 272 StringUtils.capitalizeFirstCodePoint("a", Locale.ENGLISH)); in testCapitalizeFirstCodePoint() 274 StringUtils.capitalizeFirstCodePoint("A", Locale.ENGLISH)); in testCapitalizeFirstCodePoint() 284 StringUtils.capitalizeFirstAndDowncaseRest("iab", Locale.ENGLISH)); in testCapitalizeFirstAndDowncaseRest() 286 StringUtils.capitalizeFirstAndDowncaseRest("cAmElCaSe", Locale.ENGLISH)); in testCapitalizeFirstAndDowncaseRest() 292 StringUtils.capitalizeFirstAndDowncaseRest("a", Locale.ENGLISH)); in testCapitalizeFirstAndDowncaseRest() 294 StringUtils.capitalizeFirstAndDowncaseRest("A", Locale.ENGLISH)); in testCapitalizeFirstAndDowncaseRest() 360 checkCapitalize("", "", SPACE, Locale.ENGLISH); in testCapitalizeEachWord() 361 checkCapitalize("test", "Test", SPACE, Locale.ENGLISH); in testCapitalizeEachWord() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LocaleSetTest.java | 49 assertFalse(LocaleSet.isLanguageChinese(Locale.ENGLISH)); in testIsLanguageChinese() 59 assertEquals(null, LocaleSet.getScriptIfChinese(Locale.ENGLISH)); in testGetScriptIfChinese() 74 assertFalse(LocaleSet.isLocaleSimplifiedChinese(Locale.ENGLISH)); in testIsLocaleSimplifiedChinese() 87 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.ENGLISH)); in testIsLocaleTraditionalChinese() 96 assertFalse(LocaleSet.isLanguageJapanese(Locale.ENGLISH)); in testIsLanguageJapanese() 107 assertFalse(LocaleSet.isLanguageKorean(Locale.ENGLISH)); in testIsLanguageKorean() 118 assertFalse(LocaleSet.isLocaleCJK(Locale.ENGLISH)); in testIsLocaleCJK() 122 assertFalse(LocaleSet.newForTest(Locale.ENGLISH) in testShouldPreferJapanese() 127 assertTrue(LocaleSet.newForTest(Locale.ENGLISH, Locale.KOREAN, Locale.JAPAN) in testShouldPreferJapanese() 139 assertFalse(LocaleSet.newForTest(Locale.ENGLISH, Locale.SIMPLIFIED_CHINESE, Locale.JAPAN) in testShouldPreferJapanese() [all …]
|
D | ContactLocaleUtilsTest.java | 130 setLocales(Locale.ENGLISH); in testEnglishContactLocaleUtils() 198 setLocales(Locale.ENGLISH, Locale.SIMPLIFIED_CHINESE); in testPinyinEnabledSecondaryLocale() 207 setLocales(Locale.ENGLISH, Locale.JAPAN); in testPinyinDisabledSecondaryLocale() 231 setLocales(Locale.ENGLISH); in testChineseStyleNameWithDifferentLocale() 290 setLocales(Locale.ENGLISH); in testOtherLocales() 300 setLocales(Locale.ENGLISH, LOCALE_SPANISH); in testOtherLocales()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | RecapitalizeStatusTests.java | 39 status.start(30, 40, "abcdefghij", Locale.ENGLISH, SPACE); in testTrim() 45 status.start(30, 44, " abcdefghij", Locale.ENGLISH, SPACE); in testTrim() 51 status.start(30, 40, "abcdefgh ", Locale.ENGLISH, SPACE); in testTrim() 57 status.start(30, 45, " abcdefghij ", Locale.ENGLISH, SPACE); in testTrim() 67 status.start(29, 40, "abcd efghij", Locale.ENGLISH, SPACE); in testRotate() 79 status.start(29, 40, "Abcd Efghij", Locale.ENGLISH, SPACE); in testRotate() 91 status.start(29, 40, "ABCD EFGHIJ", Locale.ENGLISH, SPACE); in testRotate() 103 status.start(29, 39, "AbCDefghij", Locale.ENGLISH, SPACE); in testRotate() 117 status.start(29, 40, "Abcd efghij", Locale.ENGLISH, SPACE); in testRotate()
|
D | CapsModeUtilsTests.java | 73 SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode() 117 sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode() 139 sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode()
|
D | SubtypeLocaleUtilsTests.java | 278 tests.runInLocale(mRes, Locale.ENGLISH); in testPredefinedSubtypesInEnglishSystemLocale() 312 tests.runInLocale(mRes, Locale.ENGLISH); in testAdditionalSubtypesInEnglishSystemLocale()
|
D | DictionaryInfoUtilsTests.java | 49 final SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH); in testLooksValidForDictionaryInsertion()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
D | SpacingAndPunctuationsTests.java | 63 private SpacingAndPunctuations ENGLISH; field in SpacingAndPunctuationsTests 88 ENGLISH = getSpacingAndPunctuations(Locale.ENGLISH); in setUp() 160 testingStandardWordSeparator(ENGLISH); in testWordSeparator() 213 testingStandardWordConnector(ENGLISH); in testWordConnector() 267 testingStandardPrecededBySpace(ENGLISH); in testIsUsuallyPrecededBySpace() 321 testingStandardFollowedBySpace(ENGLISH); in testIsUsuallyFollowedBySpace() 369 testingStandardSentenceSeparator(ENGLISH); in testIsSentenceSeparator() 382 assertTrue(ENGLISH.mCurrentLanguageHasSpaces); in testLanguageHasSpace() 395 assertTrue(ENGLISH.mUsesAmericanTypography); in testUsesAmericanTypography() 406 assertFalse(ENGLISH.mUsesGermanRules); in testUsesGermanRules() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputConnectionAndTextRangeTests.java | 69 mSpacingAndPunctuations = job.runInLocale(res, Locale.ENGLISH); in setUp() 315 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS1, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() 328 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS1, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() 330 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS2, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() 341 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS1, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() 343 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS2, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() 353 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS1, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() 355 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS2, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() 365 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS1, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() 367 text.setSpan(new SuggestionSpan(Locale.ENGLISH, SUGGESTIONS2, 0 /* flags */), in helpTestGetSuggestionSpansAtWord() [all …]
|
D | RichInputMethodSubtypeTests.java | 311 testsPredefinedSubtypesForSpacebar.runInLocale(mRes, Locale.ENGLISH); in testPredefinedSubtypesForSpacebarInEnglish() 316 testsAdditionalSubtypesForSpacebar.runInLocale(mRes, Locale.ENGLISH); in testAdditionalSubtypeForSpacebarInEnglish()
|
D | ContactsDictionaryUtilsTest.java | 58 assertTrue(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.ENGLISH)); in testUseFirstLastBigramsForLocale()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
D | LocaleSpanCompatUtilsTests.java | 181 text.setSpan(LocaleSpanCompatUtils.newLocaleSpan(Locale.ENGLISH), 3, 5, in testUpdateLocaleSpan() 191 text.setSpan(LocaleSpanCompatUtils.newLocaleSpan(Locale.ENGLISH), 3, 7, in testUpdateLocaleSpan() 195 assertLocaleSpan(text, 0, 3, 5, Locale.ENGLISH, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testUpdateLocaleSpan() 196 assertLocaleSpan(text, 1, 6, 7, Locale.ENGLISH, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testUpdateLocaleSpan() 203 text.setSpan(LocaleSpanCompatUtils.newLocaleSpan(Locale.ENGLISH), 3, 7, in testUpdateLocaleSpan() 207 assertLocaleSpan(text, 0, 5, 7, Locale.ENGLISH, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testUpdateLocaleSpan() 214 text.setSpan(LocaleSpanCompatUtils.newLocaleSpan(Locale.ENGLISH), 3, 7, in testUpdateLocaleSpan() 218 assertLocaleSpan(text, 0, 3, 5, Locale.ENGLISH, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testUpdateLocaleSpan()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/ |
D | TtsPlaybackPreferenceControllerTest.java | 71 private static final Voice VOICE = new Voice("Test Name", Locale.ENGLISH, /* quality= */ 0, 197 Locale.ENGLISH.toString(), in voiceDataCheck_processActivityResult_checkSuccess_hasVoices_populatesPreference() 256 Locale.ENGLISH.toString(), in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault() 279 Locale.ENGLISH.toString(), in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale() 288 mDefaultLanguagePreference.callChangeListener(Locale.ENGLISH.toString()); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale() 290 verify(mTextToSpeech).setLanguage(Locale.ENGLISH); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale() 302 Locale.ENGLISH.toString(), in defaultLanguage_handlePreferenceChanged_passLocale_setsSummary() 310 mDefaultLanguagePreference.callChangeListener(Locale.ENGLISH.toString()); in defaultLanguage_handlePreferenceChanged_passLocale_setsSummary() 313 Locale.ENGLISH.getDisplayName()); in defaultLanguage_handlePreferenceChanged_passLocale_setsSummary() 462 Locale.ENGLISH.toString(), in refreshUi_initialized_defaultLocaleSupported_enablesPreference()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/ |
D | LeanbackLocales.java | 85 public static final Locale ENGLISH = Locale.ENGLISH; field in LeanbackLocales 87 public static final Locale[] QWERTY_US = new Locale[] {ENGLISH, CANADIAN_FRENCH};
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/language/ |
D | LanguageBasePreferenceControllerTest.java | 58 private static final Locale HAS_MULTIPLE_CHILD_LOCALE = Locale.ENGLISH; 103 ShadowLocaleStore.addLocaleRelationship(Locale.ENGLISH, Locale.CANADA); in setUp() 104 ShadowLocaleStore.addLocaleRelationship(Locale.ENGLISH, Locale.US); in setUp()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | AlphabeticIndexCompat.java | 27 Locale primaryLocale = localeCount == 0 ? Locale.ENGLISH : locales.get(0); in AlphabeticIndexCompat() 32 indexBuilder.addLabels(Locale.ENGLISH); in AlphabeticIndexCompat()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorUtils.java | 129 .setPhoneNumber(String.format(Locale.ENGLISH, "+%d", i)) in addVoicemailNotifications() 130 .setTranscription(String.format(Locale.ENGLISH, "Short transcript %d", i)) in addVoicemailNotifications()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ContactsDictionaryUtils.java | 50 if (locale != null && locale.getLanguage().equals(Locale.ENGLISH.getLanguage())) { in useFirstLastBigramsForLocale()
|
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/ |
D | DisconnectMessage.java | 59 Locale.ENGLISH, in toString()
|
/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/ |
D | CalendarFormatterTest.java | 39 private static final Locale LOCALE = Locale.ENGLISH;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Utils.java | 441 return String.format(Locale.ENGLISH, "%+d", hour); in getGMTHourOffset() 443 return String.format(Locale.ENGLISH, "GMT %+d:%02d", hour, min); in getGMTHourOffset()
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | LocaleUtils.java | 165 return locale.getDisplayName(Locale.ENGLISH); in getLocaleDisplayName()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 824 updatemap += String.format(Locale.ENGLISH, " WHEN %1$s=%2$d THEN %3$d", in onUpgrade() 829 String query = String.format(Locale.ENGLISH, in onUpgrade() 1060 String.format(Locale.ENGLISH, query, args), in getMaxId()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpecStringReferenceTests.java | 41 private static final Locale TEST_LOCALE = Locale.ENGLISH;
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ArchiveFileTestRule.java | 72 Log.e(TAG, String.format(Locale.ENGLISH, in starting()
|