aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/DictionaryInfoUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove android.util.Log from FileUtils•••FileUtils is being used for other non android projects and hence breaks when built. Instead use the log statements at caller to record Log.e messages. Hence there is no side effect here. Bug:22042371 Change-Id: Ieb100006ff38e013bc30542637465f58bfc0f2f2 Jatin Matani2015-07-091-1/+4
* Load metadata.json from resources on DB reset.•••This will ensure that a new (or upgraded) keyboard instance will know which dictionaries are available for download so it requests missing dictionaries. In addition, we increment the database version number to ensure upgrades of existing Fava instances start with a clean slate. Bug 22069694. Change-Id: Id71310412682543a3931f9c5c03cb0369fa7b9ac Dan Zivkovic2015-06-241-1/+8
* Make the DictionaryService stage the downloaded files•••Bug: 20641948 Change-Id: I6639c995b12c033bc30241cd219201dd483ee516 Mohammadinamul Sheik2015-05-041-1/+59
* Do not re-download the unused dictionaries.•••Does the following 1. Uses dictionaries from the files/ directory while populating the entries into the pendingUpdates table. So that a download happens only if the metadata.json says so. 2. Delete an unusable dictionaries from the files/ directory. Bug: 20142708 Change-Id: Ibd738793585c39735868e324b8ad682dff0eba34 Mohammadinamul Sheik2015-04-151-21/+86
* Use the complete Locale in generating the dictionary id.•••- Also deleted a couple of dead methods. Bug:19929051 Change-Id: I4f88dbc2a8204d5e2a20d1ad8c205a23c6319f8d Mohammadinamul Sheik2015-03-251-25/+2
* Force download the dictionaries after the apk package is updated.•••- Also display the notification when the dictionaries are auto updated Bug: 19808828 Change-Id: If5c4efb73d8bb554d812afcf7deafec3ac40a462 Mohammadinamul Sheik2015-03-241-6/+31
* Introduce DictionaryHeaderUtils to get dictionary header values•••Change-Id: I86cef6c7f2f68a75428bb2b9c4d5a1dc1876b541 Mohammadinamul Sheik2015-03-031-16/+11
* Update the MAX supported file version for downloaded static Dictionaries.•••Change-Id: I72d37cc21585b18f4a41ff32627024502f10e993 Mohammadinamul Sheik2015-02-271-1/+1
* Do not crash when dictioanryInfo is NULL•••Bug: 19417599 Change-Id: I82174401c595b57b42fc74bc478b551869729ba6 Mohammadinamul Sheik2015-02-241-1/+5
* Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.•••Change-Id: Icec45c364732c0aa9ac713846cad23439b9e42b5 Mohammadinamul Sheik2015-02-231-1/+2
* Add Decoder specific dictionary suffix to resource lookup•••Change-Id: Ia2c74acdc8ac6f7b605bb06a1078d23b32f388a1 Mohammadinamul Sheik2015-02-121-3/+4
* Move decoder specific constants to DecoderSpecificConstants.java•••Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0 Mohammadinamul Sheik2015-02-051-2/+2
* Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull"Tadashi G. Takaoka2014-11-281-17/+48
|\
| * Make LocaleUtils.constructLocaleFromString as @Nonnull•••Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb Tadashi G. Takaoka2014-11-211-17/+48
* | Remove unused code from DictionaryFactory•••Change-Id: I666308ada968ee7993235ad98b92f2ad522af122 Tadashi G. Takaoka2014-11-211-0/+11
|/
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-0/+1
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-1/+1
* [ML25] Add an hasDict method.•••We used to have separate methods for existence of dicts according to whether it's a file or a resource. This unifies both. Bug: 11230254 Bug: 17979623 Change-Id: I728773461f3465f756d06297c3f3bee34390c3e6 Jean Chalard2014-10-161-0/+21
* Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them•••Bug: 16864527 Change-Id: I698a1b3e09e7e9a12722169b37f87bd51c8cbd34 Adrian Velicu2014-09-191-0/+2
* Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.•••Bug: 12725817 Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17 Keisuke Kuroyanagi2014-07-281-2/+1
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-1/+1
* Move code only used for dicttool and tests under tests.•••Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e Keisuke Kuroyanagi2014-03-271-2/+0
* Use BinaryDictionaryUtils to read dictionary header.•••Bug: 8187060 Bug:13035567 Change-Id: I90a5e0665c367f5a1bd786f4babf0d03e79e68fa Keisuke Kuroyanagi2014-03-051-2/+17
* Separate header class from FormatSpec.•••Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693 Keisuke Kuroyanagi2014-02-041-3/+3
* Check length of words for personalization dict.•••Bug: 12602903 Change-Id: I1ea4e558b6d2fde425ce28226647ad60095e3488 Keisuke Kuroyanagi2014-01-241-1/+5
* Fix build.•••Change-Id: I6d0b572190080e58e95f72856ad39e72a49537b7 Jean Chalard2014-01-101-0/+28
* Fix possible NPE.•••Bug: 11933670 Change-Id: Ib0ce853e691bdadffb73874ea9f188cfbec8bc93 Keisuke Kuroyanagi2014-01-061-1/+10
* Clean up unused imports.•••Change-Id: I7147ca237b99399e79210852aa5bf5a01101d779 Yuichiro Hanada2013-08-261-2/+0
* Fix getDictionaryFileHeader.•••Change-Id: I5186f41b0f38eb08f4154f7b3de7ffc2119fc44b Yuichiro Hanada2013-08-231-7/+1
* Use TimeUnit instead of DateUtils for readability•••Bug: 9550800 Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215 Tadashi G. Takaoka2013-07-051-3/+3
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-0/+366