Create a dictionary collection and a dictionary factory.
The dictionary collection is a class complying to the Dictionary interface that acts as a front end to a collection of arbitrarily many dictionaries of any type. The dictionary factory is a helper class for creating various dictionaries and get some meta information about them. At the same time, this change makes the BinaryDictionary class not a singleton any more. This also needs I9afe61a9 to not break the build. Change-Id: I61fdcc4867fcda18342807bf1865e6e46979e5d5
Showing
- java/src/com/android/inputmethod/deprecated/languageswitcher/InputLanguageSelection.java 2 additions, 13 deletions...d/deprecated/languageswitcher/InputLanguageSelection.java
- java/src/com/android/inputmethod/latin/BinaryDictionary.java 19 additions, 93 deletionsjava/src/com/android/inputmethod/latin/BinaryDictionary.java
- java/src/com/android/inputmethod/latin/DictionaryCollection.java 66 additions, 0 deletions...c/com/android/inputmethod/latin/DictionaryCollection.java
- java/src/com/android/inputmethod/latin/DictionaryFactory.java 159 additions, 0 deletions.../src/com/android/inputmethod/latin/DictionaryFactory.java
- java/src/com/android/inputmethod/latin/Suggest.java 8 additions, 10 deletionsjava/src/com/android/inputmethod/latin/Suggest.java
Loading
Please register or sign in to comment