aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update language to comply with Android’s inclusive language guidance•••See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: tapas LatinIME && m Change-Id: I2ffb39ff70f61e579b62761d3da526a545dead1f Seigo Nonaka2020-07-221-3/+3
* Make the DictionaryService stage the downloaded files•••Bug: 20641948 Change-Id: I6639c995b12c033bc30241cd219201dd483ee516 Mohammadinamul Sheik2015-05-041-38/+11
* Merge "Don't log stack trace for missing LM."Dan Zivkovic2015-03-271-1/+1
|\
| * Don't log stack trace for missing LM.•••We only have "en" included in the APK. Everything else shows a stack trace. Bug 19946159 Change-Id: Ie213529d52175eb929b2c875a5558aea347af01f Dan Zivkovic2015-03-271-1/+1
* | Don't notify dictpack for updates for service dump•••Bug:19961803 Change-Id: I464e840bc5f75d164a519d84b0f09d8e64ed5061 Jatin Matani2015-03-271-3/+5
|/
* Handle missing resources.•••Needed for unit tests related to various bug fixes. Bug 19930761. Change-Id: I776ccccb032e3d1b181b02c6bb768500790870f7 Dan Zivkovic2015-03-261-5/+9
* Make checksum and header checks decoder dependent.•••Change-Id: I0ec4aa69d9b5f013ae926cc368e25225d9d3073b Mohammadinamul Sheik2015-02-201-0/+8
* Remove unused code from DictionaryFactory•••Change-Id: I666308ada968ee7993235ad98b92f2ad522af122 Tadashi G. Takaoka2014-11-211-1/+2
* More verbosity when reporting broken dictionaries•••Also added toString for AssetFileAddress for easier debugging. Change-Id: Ie5d15d12bae46c31b28d8c67002e627f4c6690e3 Adrian Velicu2014-11-141-1/+2
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-1/+1
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-231-2/+2
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-211-5/+4
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-3/+2
* Use BinaryDictionaryUtils to read dictionary header.•••Bug: 8187060 Bug:13035567 Change-Id: I90a5e0665c367f5a1bd786f4babf0d03e79e68fa Keisuke Kuroyanagi2014-03-051-6/+3
* Correctly read the header of APK-embedded dicts•••Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca Jean Chalard2014-02-241-1/+1
* Separate header class from FormatSpec.•••Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693 Keisuke Kuroyanagi2014-02-041-2/+2
* Remove some warnings•••Change-Id: I5cfa0d2fccc139bd6c45c5590a68c3e0c90534b8 Jean Chalard2014-01-091-1/+1
* Fix an NPE.•••Apparently, it is possible that File#getPath() returns null. In this case, we'll have a null AssetFileAddress and an NPE later down the road. Bug: 9944824 Change-Id: Id6ceac1cb55439660f9811cf0fe3b574200d5a20 Jean Chalard2013-09-181-1/+2
* Add getDictDecoder.•••Bug: 9618601 Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4 Yuichiro Hanada2013-09-121-2/+3
* Add DictDecoder.readDictionaryBinary.•••Bug: 10434720 Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4 Yuichiro Hanada2013-08-231-2/+0
* Rename BinaryDictDecoder to Ver3DictDecoder.•••Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832 Yuichiro Hanada2013-08-201-8/+3
* Remove populateOptions.•••Change-Id: I1a1830aaa8ea586b68fc34ff3a27ae52b810e8af Yuichiro Hanada2013-08-201-22/+11
* [Refactor] Rename BinaryDictReader and BinaryDictDecoder.•••BinaryDictReader -> BinaryDictDecoder. BinaryDictDecoder -> BianryDictDecoderUtils. Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37 Yuichiro Hanada2013-08-191-7/+7
* [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDict...•••Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744 Yuichiro Hanada2013-08-151-4/+4
* Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and...•••This reverts commit 4c63d0614e7ed7aea4bcbab3a17090d841661d92. Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5 Ken Wakasa2013-08-151-4/+4
* [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryD...•••Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de Yuichiro Hanada2013-08-151-4/+4
* Remove the code and comments about version 1 format.•••Change-Id: I827052f234eeaa4dbcfd37da69a99866896a158b Yuichiro Hanada2013-08-091-1/+1
* Fix some warnings•••Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd Jean Chalard2013-07-311-1/+0
* Merge "Regenerate old version dictionaries using new format."Keisuke Kuroynagi2013-07-011-7/+3
|\
| * Regenerate old version dictionaries using new format.•••Bug: 9617181 Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60 Keisuke Kuroynagi2013-07-011-7/+3
* | Merge "Fix a bug where AOSP Latin IME would not fill dictionaries"Jean Chalard2013-06-281-7/+2
|\ \ | |/ |/|
| * Fix a bug where AOSP Latin IME would not fill dictionaries•••There is no reason not to contact the dictionary provider when we don't have internet permission or when the URL is empty. It knows how to handle both these cases. Bug: 9388602 Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89 Jean Chalard2013-06-281-7/+2
* | Fix some warnings•••Mostly remove unused imports Change-Id: If8ceffdfad79b78194094527759f5c334746973e Jean Chalard2013-06-271-2/+0
|/
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-5/+8
* Allow downloadable dictionaries in development builds•••Bug: 9305379 Change-Id: Iab32753070a056d3861a45aa898911b7ab67dfb6 Kurt Partridge2013-06-051-10/+6
* Cleanup an unused return value•••Change-Id: I974964aa3cc24b5480e57bd38c197fe7a49acaa4 Ken Wakasa2013-04-301-3/+0
* Avoid leaking AssetFileDescriptor.•••Change-Id: Iac388c8aefc684980cb4c7131fb47319f6073eb3 Jeff Sharkey2013-04-291-2/+10
* Put temp files within app files•••Bug: 8715614 Change-Id: I307d83923070994525cf0d27aad403e881a89314 Jean Chalard2013-04-251-1/+7
* Merge the dictionary pack in Latin IME.•••Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172 Jean Chalard2013-03-191-12/+2
* Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICS•••bug: 8393568 Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3 Ken Wakasa2013-03-181-2/+3
* Access the dictionary pack only if have INTERNET permission•••Bug: 8161354 Change-Id: I68ee3acb2955a017d25666cc2dad791798f9064a Jean Chalard2013-03-181-2/+8
* Fix a possible crash•••If the dictionary ID, as indicated in the metadata, is less than three chars long, it crashes LatinIME. Of course we don't have such dictionary IDs in the current metadata, but it's still better to be able to handle the case gracefully ^^; Change-Id: I60cdf6f8ecce9f4d44b42ddd5d157aebff9a4163 Jean Chalard2013-02-231-3/+7
* Cleanups•••Follow-up to Idc6f419a Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5 Jean Chalard2013-02-111-1/+1
* Create methods in LatinIME to make the current dict lists•••Bug: 7005813 Change-Id: I82232af8e3071333b6fd01e4453b6b3c0a3ddb1f Jean Chalard2013-01-311-2/+2
* Refactoring•••This creates a new DictionaryInfoUtils class and moves a bunch of static methods there for later usage. Change-Id: Iecb0643e6029a7be36bd6cb36aa918c40e6d8c6a Jean Chalard2013-01-291-154/+15
* Fix Apache license comment•••Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086 Tadashi G. Takaoka2013-01-211-8/+8
* [AD4] Actually copy the file in place.•••This finally makes it work. Bug: 7702011 Change-Id: I3508c88567f79598e4d1dff561b6ba7dc5c3808f Jean Chalard2013-01-211-1/+1
* Suppress dictionary pack support when IS_EXPERIMENTAL is true•••Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3 Ken Wakasa2012-11-091-2/+6
* Make a better choice for the temporary file•••Change-Id: I745bb285b6b52875c8d2b3a94deb962352f9754e Jean Chalard2012-10-121-7/+2
* Put temporary files under a separate directory.•••Bug: 7328003 Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e Jean Chalard2012-10-111-0/+12