Home
last modified time | relevance | path

Searched refs:shortcutsPerLocale (Results 1 – 1 of 1) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPersonalDictionaryLookup.java353 final Map<Locale, HashMap<String, String>> shortcutsPerLocale = mShortcutsPerLocale; in getShortcutsForLocale() local
354 if (CollectionUtils.isNullOrEmpty(shortcutsPerLocale)) { in getShortcutsForLocale()
361 final Map<String, String> countryShortcuts = shortcutsPerLocale.get(inputLocale); in getShortcutsForLocale()
370 final Map<String, String> languageShortcuts = shortcutsPerLocale.get(languageOnlyLocale); in getShortcutsForLocale()
376 final Map<String, String> globalShortcuts = shortcutsPerLocale.get(ANY_LOCALE); in getShortcutsForLocale()
464 final HashMap<Locale, HashMap<String, String>> shortcutsPerLocale = mShortcutsPerLocale; in expandShortcut() local
467 if (CollectionUtils.isNullOrEmpty(shortcutsPerLocale)) { in expandShortcut()
477 shortcutsPerLocale, shortcut, inputLocale); in expandShortcut()
491 shortcutsPerLocale, shortcut, languageOnlyLocale); in expandShortcut()
501 final String expansionForGlobal = expandShortcut(shortcutsPerLocale, shortcut, ANY_LOCALE); in expandShortcut()
[all …]