Searched refs:dictionaries (Results 1 – 5 of 5) sorted by relevance
345 final Dictionaries dictionaries; in closeDictionaries() local347 dictionaries = mDictionaries; in closeDictionaries()351 dictionaries.closeDict(dictType); in closeDictionaries()410 final Dictionaries dictionaries = mDictionaries; in addToUserHistory() local416 addWordToUserHistory(dictionaries, prevWordsInfoForCurrentWord, currentWord, in addToUserHistory()423 private void addWordToUserHistory(final Dictionaries dictionaries, in addWordToUserHistory() argument427 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 …]
42 public DictionaryCollection(final String dictType, final Dictionary... dictionaries) { in DictionaryCollection() argument44 if (null == dictionaries) { in DictionaryCollection()47 mDictionaries = new CopyOnWriteArrayList<>(dictionaries); in DictionaryCollection()52 public DictionaryCollection(final String dictType, final Collection<Dictionary> dictionaries) { in DictionaryCollection() argument54 mDictionaries = new CopyOnWriteArrayList<>(dictionaries); in DictionaryCollection()63 final CopyOnWriteArrayList<Dictionary> dictionaries = mDictionaries; in getSuggestions() local64 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()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1402373178, ...