Searched refs:expandShortcut (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | PersonalDictionaryLookupTest.java | 142 assertEquals("Expansion", lookup.expandShortcut("shortcut", Locale.US)); in testShortcutKeyMatching() 143 assertNull(lookup.expandShortcut("Shortcut", Locale.US)); in testShortcutKeyMatching() 144 assertNull(lookup.expandShortcut("SHORTCUT", Locale.US)); in testShortcutKeyMatching() 145 assertNull(lookup.expandShortcut("shortcu", Locale.US)); in testShortcutKeyMatching() 146 assertNull(lookup.expandShortcut("shortcutt", Locale.US)); in testShortcutKeyMatching() 161 assertEquals("Expansion", lookup.expandShortcut("shortcut", Locale.US)); in testShortcutMatchesInputCountry() 162 assertNull(lookup.expandShortcut("shortcut", Locale.UK)); in testShortcutMatchesInputCountry() 163 assertNull(lookup.expandShortcut("shortcut", Locale.ENGLISH)); in testShortcutMatchesInputCountry() 164 assertNull(lookup.expandShortcut("shortcut", Locale.FRENCH)); in testShortcutMatchesInputCountry() 165 assertNull(lookup.expandShortcut("shortcut", ANY_LOCALE)); in testShortcutMatchesInputCountry() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | PersonalDictionaryLookup.java | 457 @Nullable public String expandShortcut( in expandShortcut() method in PersonalDictionaryLookup 476 final String expansionForCountry = expandShortcut( in expandShortcut() 490 final String expansionForLanguage = expandShortcut( in expandShortcut() 501 final String expansionForGlobal = expandShortcut(shortcutsPerLocale, shortcut, ANY_LOCALE); in expandShortcut() 508 @Nullable private String expandShortcut( in expandShortcut() method in PersonalDictionaryLookup
|