Searched refs:mDictionaries (Results 1 – 2 of 2) sorted by relevance
35 protected final CopyOnWriteArrayList<Dictionary> mDictionaries; field in DictionaryCollection39 mDictionaries = new CopyOnWriteArrayList<>(); in DictionaryCollection()45 mDictionaries = new CopyOnWriteArrayList<>(); in DictionaryCollection()47 mDictionaries = new CopyOnWriteArrayList<>(dictionaries); in DictionaryCollection()48 mDictionaries.removeAll(Collections.singleton(null)); in DictionaryCollection()54 mDictionaries = new CopyOnWriteArrayList<>(dictionaries); in DictionaryCollection()55 mDictionaries.removeAll(Collections.singleton(null)); in DictionaryCollection()63 final CopyOnWriteArrayList<Dictionary> dictionaries = mDictionaries; in getSuggestions()83 for (int i = mDictionaries.size() - 1; i >= 0; --i) in isInDictionary()84 if (mDictionaries.get(i).isInDictionary(word)) return true; in isInDictionary()[all …]
62 private Dictionaries mDictionaries = new Dictionaries(); field in DictionaryFacilitator186 return mDictionaries.mLocale; in getLocale()223 final boolean localeHasBeenChanged = !newLocale.equals(mDictionaries.mLocale); in resetDictionariesWithDictNamePrefix()243 newMainDict = mDictionaries.getDict(Dictionary.TYPE_MAIN); in resetDictionariesWithDictNamePrefix()253 if (!localeHasBeenChanged && mDictionaries.hasDict(dictType)) { in resetDictionariesWithDictNamePrefix()255 dict = mDictionaries.getSubDict(dictType); in resetDictionariesWithDictNamePrefix()268 oldDictionaries = mDictionaries; in resetDictionariesWithDictNamePrefix()269 mDictionaries = newDictionaries; in resetDictionariesWithDictNamePrefix()300 if (locale.equals(mDictionaries.mLocale)) { in asyncReloadMainDictionary()301 mDictionaries.setMainDict(mainDict); in asyncReloadMainDictionary()[all …]