aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix a bug in one of the methods to get a dictionary.•••One of the two methods for getting a dictionary from the dictionary pack had a bug and would not tolerate not getting an actual dictionary. This change fixes that. Change-Id: Id58bb27258494fb3aa60ec07a4eb27cfb5cc7279 Jean Chalard2011-05-171-3/+7
* Improve the architecture to support multiple dictionaries.•••This change enables the interface to get multiple dictionaries from a dictionary pack. It only implements it to the end in the case of the proprietary method, as the open method needs still some working out, and the "inside the package" method does not need it. This change goes together with Iaa95bf36, and breaks the build without it. Bug: 1752028 Change-Id: I3ccfd696e8ef083ef9c074e1c3e4bb0bf2fcfd23 Jean Chalard2011-04-281-15/+15
* Fix Eclipse warnings.•••This change is only there to fix warning issued by Eclipse. It should have absolutely no impact on the program logic. Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1 Jean Chalard2011-04-261-3/+0
* Add different ways of reading the dictionary file.•••This change adds basic support for an external dictionary provider. It adds methods for reading the dictionary itself from an asset in the dictionary provider package directly, obtaining the file name through the ContentProvider interface; it also adds a way of getting the data through an InputStream and copying the file locally. Incidentally this change also adds the code needed to listen for updating the dictionary provider package and reloading it in time. This change also goes hand-in-hand with Iab31db6e, which implements the small closed part of this. Issue: 3414944 Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a Jean Chalard2011-03-181-0/+96