Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitator.java345 final Dictionaries dictionaries; in closeDictionaries() local
347 dictionaries = mDictionaries; in closeDictionaries()
351 dictionaries.closeDict(dictType); in closeDictionaries()
410 final Dictionaries dictionaries = mDictionaries; in addToUserHistory() local
416 addWordToUserHistory(dictionaries, prevWordsInfoForCurrentWord, currentWord, in addToUserHistory()
423 private void addWordToUserHistory(final Dictionaries dictionaries, in addWordToUserHistory() argument
427 dictionaries.getSubDict(Dictionary.TYPE_USER_HISTORY); in addWordToUserHistory()
435 final String lowerCasedWord = word.toLowerCase(dictionaries.mLocale); in addWordToUserHistory()
456 final int lowerCaseFreqInMainDict = dictionaries.hasDict(Dictionary.TYPE_MAIN) ? in addWordToUserHistory()
457 dictionaries.getDict(Dictionary.TYPE_MAIN).getFrequency(lowerCasedWord) : in addWordToUserHistory()
[all …]
DDictionaryCollection.java42 public DictionaryCollection(final String dictType, final Dictionary... dictionaries) { in DictionaryCollection() argument
44 if (null == dictionaries) { in DictionaryCollection()
47 mDictionaries = new CopyOnWriteArrayList<>(dictionaries); in DictionaryCollection()
52 public DictionaryCollection(final String dictType, final Collection<Dictionary> dictionaries) { in DictionaryCollection() argument
54 mDictionaries = new CopyOnWriteArrayList<>(dictionaries); in DictionaryCollection()
63 final CopyOnWriteArrayList<Dictionary> dictionaries = mDictionaries; in getSuggestions() local
64 if (dictionaries.isEmpty()) return null; in getSuggestions()
67 ArrayList<SuggestedWordInfo> suggestions = dictionaries.get(0).getSuggestions(composer, in getSuggestions()
71 final int length = dictionaries.size(); in getSuggestions()
73 final ArrayList<SuggestedWordInfo> sugg = dictionaries.get(i).getSuggestions(composer, in getSuggestions()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1402373178, ...