a91561aa58db1c43092c1caecc051a11fa5391c7 |
|
23-May-2014 |
Tadashi G. Takaoka <takaoka@google.com> |
Use Java 7 diamond operator Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
9087d19fc03ac16d8e64ff35c07d4e88343141cf |
|
21-May-2014 |
Jean Chalard <jchalard@google.com> |
Check the md5 checksum of the copied file. If it doesn't match, mark it broken. It means the dictionary pack will try to install it again next time it updates. We may want to rethink this. Bug: 13125743 Change-Id: I0eb547aa7066bed8cb00c009debbafe9181c37ad
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
267e528253801423768a1197b0c7d76e073ee9ab |
|
20-May-2014 |
Jean Chalard <jchalard@google.com> |
Arrange to send the rawChecksum to LatinIME. Bug: 13125743 Change-Id: I5d111336e6a0f5ab4e93ff333654a7a1f8f46480
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
b8ff8ca9d9d17f61f3f0e019ed0b62fe13d1a33f |
|
18-Feb-2014 |
Jean Chalard <jchalard@google.com> |
Straighten out database cursors behavior. Some were never closed, other closed twice. This change makes all Cursor instances behave, having the #close() call in a finally{} clause, and puts the burden of closing the cursor squarely on the creator rather than in the called methods. There is however one exception that is beyond the scope of this change: UserDictionarySettings have a Cursor member, it's never closed, and fixing the problem is not obvious. This change adds a TODO for now. It's not very clear if this change actually helps with bug#12670151, but it may be related and it's a good think to do anyway. Bug: 12670151 Change-Id: I87cc44387e7dee3da1488671b93a28d9d73f7dc0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
2fa3693c264a4c150ac307d9bb7f6f8f18cc4ffc |
|
13-Dec-2013 |
Ken Wakasa <kwakasa@google.com> |
Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
a7d2fc6befa1b16883200a653fc01deb4d94944d |
|
21-Jul-2013 |
Ken Wakasa <kwakasa@google.com> |
Move settings related classes to "settings" Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
cb13d11c0af95b0621c012be9c01e04a463e40c5 |
|
04-Jul-2013 |
Jean Chalard <jchalard@google.com> |
Add a trace. Emit a trace when a new dictionary is copied to LatinIME successfully, not just when it fails. That will help diagnosing some problems by being able to ensure this step succeeded looking at the log. This does not happen often (like, maybe 3 times at device activation, and once every few weeks afterwards), so I think the extra line in the log is more than acceptable. Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
555c4236db885532e51d8a26d715608b2b738c1b |
|
27-Jun-2013 |
Jean Chalard <jchalard@google.com> |
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
e28eba5074664d5716b8e58b8d0a235746b261eb |
|
23-Jun-2013 |
Ken Wakasa <kwakasa@google.com> |
Move util classes to the latin/utils directory Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
e6125db98d9e61841a4bde791ff0d9aed151f126 |
|
31-May-2013 |
Kurt Partridge <kep@google.com> |
Merge "Catch a permission exception"
|
d63f756013de6455a9a8b0c3675de214bb95a430 |
|
30-May-2013 |
Kurt Partridge <kep@google.com> |
Catch a permission exception This change catches a SecurityException if the DictionaryProvider is unavailable. Change-Id: I4f2d87327c40765383d8847fd4e934b3cf799488
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
e90d039e0cf192d36caaac72b457b5e3b0d9c3c5 |
|
30-May-2013 |
Jean Chalard <jchalard@google.com> |
Fix two strict mode warnings. Bug: 9052555 Change-Id: I86e90488679a78a9f6e901b640025619293765a0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
0d6c87d113e56f8d701ec9ab6197a48b908d1f6d |
|
30-Apr-2013 |
Ken Wakasa <kwakasa@google.com> |
Cleanup an unused return value Change-Id: I974964aa3cc24b5480e57bd38c197fe7a49acaa4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
c3f4783649b0f818a8b37a9d2b2a2e5b5f37f894 |
|
19-Apr-2013 |
Jean Chalard <jchalard@google.com> |
Add an additional ID to the client info. Bug: 8651863 Change-Id: I748f35726d72ede926d5b06ed87ff029317f1ac3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
8987cccf89fe54b42125f9b05069152db91e31f7 |
|
11-Apr-2013 |
Jean Chalard <jchalard@google.com> |
Add a class to encapsulate getting the metadata URI Bug: 8376173 Change-Id: Icaac8ad412e0180c44e6a955943e3b208981b2ea
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
76d5f512f99700a963aa20a02590833e37221bff |
|
28-Mar-2013 |
Jean Chalard <jchalard@google.com> |
Ask the client to make itself known when it's not Upon invoking the settings of the dictionary pack with an unknown client, we now launch an intent to ask the client to make itself known. This change also includes the code that receives this intent and acts upon it. Bug: 8492879 Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
1061bfdb34bbcb63bf0046eec42313d264ac33fa |
|
19-Mar-2013 |
Jean Chalard <jchalard@google.com> |
Break dependencies to allow offdevice tests to build Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
d4cbc4fd078cbb23be4eafe1cb82a8a470fca3a0 |
|
14-Feb-2013 |
Jean Chalard <jchalard@google.com> |
Implement getting data files with protocol v2 This also does it for deleting them Bug: 8167342 Bug: 6789534 Change-Id: I1823f98508881f109a667146d3608003f87aa4cb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
b1f27a2e264199e104be51464f50f258454059d5 |
|
13-Feb-2013 |
Jean Chalard <jchalard@google.com> |
Determine the protocol version of the dictionary pack ...for query. Bug: 8167342 Change-Id: Ieb8e5b31c4b62bf507593c4631e31799aad5f267
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
a9df97278016716af2446d98454a8fb3219eef65 |
|
13-Feb-2013 |
Jean Chalard <jchalard@google.com> |
Clean up dictionary pack presence test. This method is much cleaner and much more readable. Change-Id: I8055c169ef7c4453ab45c463704bd56a6080da4f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
8018051022419819de6b857f3c6ed2a5da518568 |
|
12-Feb-2013 |
Jean Chalard <jchalard@google.com> |
Some cleanups Improve a slew of logging statements, and put commands that we don't expect to need protecting against exceptions out of a try {} block. This is a followup to Id3dc510a Change-Id: Idc6f419ac095b5b0f2d6862d58926ef888cb34e6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
82441e60e242681f2ea0d6e97105f819e3bd5071 |
|
11-Feb-2013 |
Jean Chalard <jchalard@google.com> |
Remove unnecessary whitespace This is a cleanup followup to Id3dc510a Change-Id: Ie64395eb4b6218fd8c73cacddeed2fba1df65d26
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
b2eac474ff82d0dad41991cd0f1ae80a58f01be2 |
|
11-Feb-2013 |
Jean Chalard <jchalard@google.com> |
Don't try to issue delete() commands on missing provider Bug: 8173622 Change-Id: Id3dc510ae3535169b5290e87075cb2f433a1f603
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
3623ad238c3fa76f36cb54de63bd31cf320befb4 |
|
03-Feb-2013 |
Jean Chalard <jchalard@google.com> |
[B14] Implement sending the dictionary list. Bug: 7005813 Change-Id: Ic3ef69510d2b385d0d403191b2f701b6527d0166
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
6ecb4c4dcc9cededd94f9c010add9889f590def1 |
|
02-Feb-2013 |
Jean Chalard <jchalard@google.com> |
[B11] Implement reset and passing of the URL to the dict pack Bug: 7601410 Bug: 7595195 Change-Id: I78cf04dce7c1e64de6725d32317de288a83bd39d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
8192b4a6efe568b7809cb7c39392dac7f3924932 |
|
02-Feb-2013 |
Jean Chalard <jchalard@google.com> |
[B9] Pass the client id parameter for dict info requests Bug: 6789534 Change-Id: Ie3ea75b19ae4da2dea531e0077c58742a9502bc6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
f1acb0e52d2a104861cc2ee4cc3adcb9e0a81f3b |
|
01-Feb-2013 |
Jean Chalard <jchalard@google.com> |
Make some strings private Change-Id: I0ffdbcf6bede86a3cdcb3a0e4ec263398502617c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
d515f134f726c432c0bab5600e7b31ed989fb1b5 |
|
29-Jan-2013 |
Jean Chalard <jchalard@google.com> |
Refactoring This creates a new DictionaryInfoUtils class and moves a bunch of static methods there for later usage. Change-Id: Iecb0643e6029a7be36bd6cb36aa918c40e6d8c6a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
8aa9963a895f9dd5bb1bc92ab2e4f461e058f87a |
|
21-Jan-2013 |
Tadashi G. Takaoka <takaoka@google.com> |
Fix Apache license comment Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
b56260b8917233a902c8cce45364850afc0b99b2 |
|
18-Jan-2013 |
Jean Chalard <jchalard@google.com> |
[AD4] Actually copy the file in place. This finally makes it work. Bug: 7702011 Change-Id: I3508c88567f79598e4d1dff561b6ba7dc5c3808f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
372f9da4f9b6ea78227fbb48033c1a5b36d0abca |
|
14-Nov-2012 |
Jean Chalard <jchalard@google.com> |
am 18ff5612: am f592270a: am 7648b37d: Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev * commit '18ff56125345746e288118d177fcabf3c079ead3': Make sure all FDs are correctly closed.
|
5c32b6da4400c85db2245de3bc18c91d495ce1c5 |
|
13-Nov-2012 |
Jean Chalard <jchalard@google.com> |
Make sure all FDs are correctly closed. In this kind of series of calls, it's possible that an outer call to a constructor fails, but the inner succeeded. Example: try { is = new A(new B()); } finally { if (null != is) is.close(); } In this case, if new B() succeeds but new A() throws an exception, is stays null and the intermediate object is never closed. This is what was happening in this instance. Bug: 7377336 Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
1e0cc86b6f77e69273f41f6f291af25968a790f6 |
|
23-Oct-2012 |
Jean Chalard <jchalard@google.com> |
Fix the build. It seems this change snuck out from a previous version. Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88ab
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
9bb4eebf48f3e15bcdfe37d73f26693bd4eaf0f4 |
|
22-Oct-2012 |
Jean Chalard <jchalard@google.com> |
Add reader and writer for the combined dict format. This introduces a new textual format for the dictionary that combines words, bigrams and shortcuts to avoid complexity. It is also extensible to n-grams to fool-prof for the future, and easier to read than XML. Bug: 7388540 Change-Id: I942bbad51bd0c905a5a54c278667563fd6dd66ec
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
01e0913ad20b24cc2b7b4dc2f4cbac03ccd4bc0e |
|
12-Oct-2012 |
Jean Chalard <jchalard@google.com> |
Make a better choice for the temporary file Change-Id: I745bb285b6b52875c8d2b3a94deb962352f9754e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
66c90cd2ae49c49da8aeda5ab1d86bd9b76434c7 |
|
11-Oct-2012 |
Jean Chalard <jchalard@google.com> |
Put temporary files under a separate directory. Bug: 7328003 Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
c15726482eee1fe9eb5c84e337ae5d40735da2d3 |
|
04-Oct-2012 |
Jean Chalard <jchalard@google.com> |
Unlink an old file before moving the new file over it This is unlikely to be relevant to this bug, but just in case. Bug: 7274972 Change-Id: I56b31b377af16cc2c15ceb90a19792bed3aab367
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
a28a05e971cc242b338331a3b78276fa95188d19 |
|
27-Sep-2012 |
Tadashi G. Takaoka <takaoka@google.com> |
Cleanup: Make some classes as final Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
5f282ea9e4a4590fcbab6e27d5fca7dacbb40a6a |
|
21-Aug-2012 |
Tadashi G. Takaoka <takaoka@google.com> |
Add CollectionUtils class to create generic collection easily Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
4bcf70c93106f17e3119fcb4c7ec9eaff6d54e4c |
|
04-Jul-2012 |
Jean Chalard <jchalard@google.com> |
Fix a bad interaction with mmap Bug: 6761221 Change-Id: I7e6d98dc9d7cb34a6163c3957e401ff97abb975c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
3abac7e28e9fbfc96b146abc0028fb5a2a5973da |
|
23-May-2012 |
Jean Chalard <jchalard@google.com> |
Notify the dictionary pack about copy failures Bug: 6532896 Change-Id: I57f7b1a400222c89776f9bff652a7da4470232c5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
b9e2bce95e955b6393c25226ab62fa44d24b904a |
|
23-May-2012 |
Jean Chalard <jchalard@google.com> |
Remove an updated dictionary that changed locales When a dictionary changes locale, we need to remove the file that corresponds to the old version. It has a different path than the new one, so we have to search for it explicitly. Bug: 6540631 Change-Id: Ie9d63ba636651fe90f8fbb9627b7265ac7b34ccd
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
04b03f4dd63a6cc5ea1b4d6afc93c442b907b282 |
|
20-Apr-2012 |
Jean Chalard <jchalard@google.com> |
Allow using a format version 2 word list in LatinIME Change-Id: I73a4df3a83e49be6e8d3a7d14eb027cfe10f1a23
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
cec8552b18fd74517512a43a8d75f64e64bd12c3 |
|
11-Apr-2012 |
Jean Chalard <jchalard@google.com> |
Pass a parameter to the dict pack if we don't have a default dict Also, optimize quite a bit the code that decides whether we have a default dict or not. Bug: 5705834 Change-Id: Ied20fbcbbc42cbe8c01759d11b1804d1156c6960
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
c61cd79229b1871d0f603a23389695d7f7751e66 |
|
29-Mar-2012 |
Tadashi G. Takaoka <takaoka@google.com> |
Fix some obvious compiler warnings Change-Id: I10a634f7492b45d5a72345f14d36cf341946387d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
bc89f5d3a5a2771b56643e1b9c47744268fff3a6 |
|
21-Mar-2012 |
Jean Chalard <jchalard@google.com> |
Correctly close the gzip stream I had gotten the chain call in reverse. Bug: 6177523 Change-Id: Ic5b76425de2d5d05d5132f8d2c7ade0d79c14ccc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
ab72a97d7ce44230a0c824797d1675a5ca354a56 |
|
04-Oct-2011 |
Tadashi G. Takaoka <takaoka@google.com> |
Cleanup unused import This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
7a408431fe6b77bc7a317b86c7adfb1aeebd5def |
|
30-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Check the magic number of a decoded file Checking the magic number of a file upon decoding is necessary, because if the file is corrupt and we don't check it, we will fall back to a simple copy of the corrupted file. Latin IME would realize this and would not crash, but would not use the corrupted dictionary. If this happened to be a main dictionary, then the user would lose the ability to use the correct built-in dictionary. Not the same, but kinda similar to Bug: 5223031 Change-Id: Ic2783dc9dd5f3dcf2865623d9452765fe3778db7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
de4e8dedccc7b6db6df4c3f75d9f2458432c558a |
|
25-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Allow sharing dictionaries between similar locales. Bug: 5058488 Change-Id: Ib12013f58afad957a8205b439f87480cc12ea06f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
a16621ada43c7b499857bc8967e454994098bff3 |
|
24-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Add a debug variable ...that was missing Change-Id: Ia3b17909f295e0a93dee633c8d67c0e03840023e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
20973de72b8e3ba607d17e50bb4fbc3cc815a6eb |
|
24-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Avoid unnecessary output to the system log. The message this removes gets printed under normal conditions. Normally dictionary files are compressed then crypted, but not compressed a second time; however LatinIME tries to open a compressed-crypted-compressed file first, because it could not do it afterwards and we want to support this case. So under normal operations, the first method LatinIME tries is actually expected to fail. Also, if we decide to stop compressing or/and encrypting dicts LatinIME supports it as a valid use case. It should not print errors to the log. If the file cannot be open at all, then it is an unexpected case, and Latin IME still reports to the log. Change-Id: Ic5228c51365a101af1d03e2c893484d3050b5a1c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
38d512c0b24f3e5ce595e0b4b9092f84af380517 |
|
24-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Call the decrypt/unzip routines upon copying a dictionary. Bug: 5095140 Change-Id: I7000f752bc9b7fd6a7af4839b2f225c085300128
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
7b1f74bb9ddae952f4da6c8d9bbb0057984b0988 |
|
23-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Refactoring: cut out a method for caching a word list This is preparation to have the decrypting/unzipping code moved over to LatinIME. Bug: 5095140 Change-Id: Ic3fdcc3de673b46cef2eb9ebe6a52cbdd614e50a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
80e0bf04292867ddc769aca75ebaee817b95a941 |
|
16-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Exception refactoring Now that the dictionary pack can return several files, it's better to handle IO exceptions for each file rather than globally. This also will help with next implementation steps. Bug: 5095140 Change-Id: I5ed135ad2ad4f55f61f9b3f92c48a35d5c24bdb2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
28966734619251f78812f6a53f5efacbf5f77c49 |
|
11-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Rename a function and update a comment Bug: 5095140 Change-Id: Idf66a04c6a1a05015f94187a8dbce3d443bbf38b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
5774908bb30db63f912ae588caebf257251884c8 |
|
10-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Give the orders to delete the source files to the dict pack Bug: 5095140 Change-Id: I64552861768ca30073ffe0d631b2e0c44dad4aa9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
d4c08d9be3540466c8253ee02fecf4b6035d8ee0 |
|
10-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Make sure the directory where to put files actually exists Bug: 5095140 Change-Id: I764471e54ce0bf6aefe5d604cee97639d5ad0af9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
3a22708e653193ee42d197c8fddbde87ea85d2d5 |
|
08-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Have Latin IME copy files from the dictionary pack. Also some minor cleanup: remove unused methods, minor refactoring into methods. Bug: 5095140 Change-Id: I035537b37a31adfc8db3b933fb0cefcf703d6c7c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
fae8d60ee926e9f340392789119cf81655ad46e9 |
|
02-Aug-2011 |
Jean Chalard <jchalard@google.com> |
Change the dictionary file passing schema to a list of ids The dictionary filename used to be passed directly to Latin IME. This change implements, on the part of Latin IME, the passing of them as an id that should then be passed through openAssetFileDescriptor. Bug: 5095140 Change-Id: I7d1e9d57c19f0645045368f68681680f238189fc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
d3da6e631111aaaa66d5988beafb7e95e7656c2d |
|
26-Jul-2011 |
Jean Chalard <jchalard@google.com> |
Close a multiprocess file handle. Bug: 5034192 Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
e150ef98569d61078e0f8c67ded8364a9c3d4a20 |
|
21-Jul-2011 |
Jean Chalard <jchalard@google.com> |
Set the locale for opening an asset This is necessary because we don't know any more whether the locale of the process is the expected one when the dictionary is loaded asynchronously. Bug: 5023141 Change-Id: Ia9e4741f3b4a04a9f085f5b65ec122471b0c2dff
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
d8f52a4f18d22aa150846b01017410ce70bbad6f |
|
27-Apr-2011 |
Jean Chalard <jchalard@google.com> |
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
4e3bd58b862afadd0325746b5c7ca9145b771762 |
|
15-Apr-2011 |
Jean Chalard <jchalard@google.com> |
Allow use of assets for data in the dictionary content provider. This update is necessary to allow dictionary content providers to use assets, which are part of their apk, as data to pass to the keyboard. Using plain file descriptors doesn't allow for sections of files to be correctly used. Change-Id: Ia94c26d6387bce61c73d38f5c2821f20e50e54d4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|
cba93f50c3d46ada773ec49435689dc3e2094385 |
|
14-Mar-2011 |
Jean Chalard <jchalard@google.com> |
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/BinaryDictionaryFileDumper.java
|