aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/DictionaryInfoUtils.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-613/+0
|
* Remove android.util.Log from FileUtilsJatin Matani2015-07-091-1/+4
| | | | | | | | | | 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
* Load metadata.json from resources on DB reset.Dan Zivkovic2015-06-241-1/+8
| | | | | | | | | | | 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
* Make the DictionaryService stage the downloaded filesMohammadinamul Sheik2015-05-041-1/+59
| | | | | Bug: 20641948 Change-Id: I6639c995b12c033bc30241cd219201dd483ee516
* Do not re-download the unused dictionaries.Mohammadinamul Sheik2015-04-151-21/+86
| | | | | | | | | | | 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
* Use the complete Locale in generating the dictionary id.Mohammadinamul Sheik2015-03-251-25/+2
| | | | | | | - Also deleted a couple of dead methods. Bug:19929051 Change-Id: I4f88dbc2a8204d5e2a20d1ad8c205a23c6319f8d
* Force download the dictionaries after the apk package is updated.Mohammadinamul Sheik2015-03-241-6/+31
| | | | | | | | - Also display the notification when the dictionaries are auto updated Bug: 19808828 Change-Id: If5c4efb73d8bb554d812afcf7deafec3ac40a462
* Introduce DictionaryHeaderUtils to get dictionary header valuesMohammadinamul Sheik2015-03-031-16/+11
| | | | Change-Id: I86cef6c7f2f68a75428bb2b9c4d5a1dc1876b541
* Update the MAX supported file version for downloaded static Dictionaries.Mohammadinamul Sheik2015-02-271-1/+1
| | | | Change-Id: I72d37cc21585b18f4a41ff32627024502f10e993
* Do not crash when dictioanryInfo is NULLMohammadinamul Sheik2015-02-241-1/+5
| | | | | Bug: 19417599 Change-Id: I82174401c595b57b42fc74bc478b551869729ba6
* Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.Mohammadinamul Sheik2015-02-231-1/+2
| | | | Change-Id: Icec45c364732c0aa9ac713846cad23439b9e42b5
* Add Decoder specific dictionary suffix to resource lookupMohammadinamul Sheik2015-02-121-3/+4
| | | | Change-Id: Ia2c74acdc8ac6f7b605bb06a1078d23b32f388a1
* Move decoder specific constants to DecoderSpecificConstants.javaMohammadinamul Sheik2015-02-051-2/+2
| | | | Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
* Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull"Tadashi G. Takaoka2014-11-281-17/+48
|\
| * Make LocaleUtils.constructLocaleFromString as @NonnullTadashi G. Takaoka2014-11-211-17/+48
| | | | | | | | Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
* | Remove unused code from DictionaryFactoryTadashi G. Takaoka2014-11-211-0/+11
|/ | | | Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
* Move util classes under commonJean Chalard2014-11-071-0/+1
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* [ML25] Add an hasDict method.Jean Chalard2014-10-161-0/+21
| | | | | | | | | 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
* Added @UsedForTesting to 'missing' methods to avoid ProGuard removing themAdrian Velicu2014-09-191-0/+2
| | | | | Bug: 16864527 Change-Id: I698a1b3e09e7e9a12722169b37f87bd51c8cbd34
* Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.Keisuke Kuroyanagi2014-07-281-2/+1
| | | | | Bug: 12725817 Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-1/+1
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Move code only used for dicttool and tests under tests.Keisuke Kuroyanagi2014-03-271-2/+0
| | | | | Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
* Use BinaryDictionaryUtils to read dictionary header.Keisuke Kuroyanagi2014-03-051-2/+17
| | | | | | Bug: 8187060 Bug:13035567 Change-Id: I90a5e0665c367f5a1bd786f4babf0d03e79e68fa
* Separate header class from FormatSpec.Keisuke Kuroyanagi2014-02-041-3/+3
| | | | | Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693
* Check length of words for personalization dict.Keisuke Kuroyanagi2014-01-241-1/+5
| | | | | | Bug: 12602903 Change-Id: I1ea4e558b6d2fde425ce28226647ad60095e3488
* Fix build.Jean Chalard2014-01-101-0/+28
| | | | Change-Id: I6d0b572190080e58e95f72856ad39e72a49537b7
* Fix possible NPE.Keisuke Kuroyanagi2014-01-061-1/+10
| | | | | Bug: 11933670 Change-Id: Ib0ce853e691bdadffb73874ea9f188cfbec8bc93
* Clean up unused imports.Yuichiro Hanada2013-08-261-2/+0
| | | | Change-Id: I7147ca237b99399e79210852aa5bf5a01101d779
* Fix getDictionaryFileHeader.Yuichiro Hanada2013-08-231-7/+1
| | | | Change-Id: I5186f41b0f38eb08f4154f7b3de7ffc2119fc44b
* Use TimeUnit instead of DateUtils for readabilityTadashi G. Takaoka2013-07-051-3/+3
| | | | | Bug: 9550800 Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-0/+366
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa