| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | Put temporary files under a separate directory.•••Bug: 7328003
Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
|  Jean Chalard | 2012-10-11 | 1 | -0/+12 |
* | Use a freq of 1 instead of 0 for non-word shortcuts.•••Also fix a spelling mistake in a comment
Bug: 7301525
Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
|  Jean Chalard | 2012-10-09 | 1 | -1/+1 |
* | Cleanup: Make some classes as final•••Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
|  Tadashi G. Takaoka | 2012-09-27 | 1 | -3/+3 |
* | Remove populateOptions(final ByteBuffer buffer).•••Change-Id: Ifc4c64c9cffe4f343c5a604c192db010a1792acc
|  Yuichiro Hanada | 2012-09-18 | 1 | -6/+6 |
* | Fix hackCanUseDictionaryFile.•••Bug: 7169473
Change-Id: I575aaa350042af076a8da5756993cdae9e73422c
|  Yuichiro Hanada | 2012-09-18 | 1 | -0/+3 |
* | Move constants and comments.•••Change-Id: Ifd66bda7d528827ba61c60531121ea206a2325be
|  Yuichiro Hanada | 2012-09-13 | 1 | -1/+2 |
* | Use ByteBuffer when reading FusionDictionary from file.•••Change-Id: Ia71561648e17f846d277c22309ac37c21c67a537
|  Yuichiro Hanada | 2012-08-24 | 1 | -6/+21 |
* | Add CollectionUtils class to create generic collection easily•••Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
|  Tadashi G. Takaoka | 2012-08-22 | 1 | -4/+3 |
* | Hack to skip reading an outdated binary file.•••Bug: 7005813
Change-Id: Ie0d8d4b2d5eb147838ca23bdd5ec1cecd4f01151
|  Jean Chalard | 2012-08-20 | 1 | -3/+46 |
* | 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
|  Jean Chalard | 2012-05-23 | 1 | -0/+33 |
* | Use the best matching cached dictionary for each category•••Bug: 6327270
Change-Id: I5a0e732c8a3fd55fd8ac3c8fe1c58e7f91555d97
|  Jean Chalard | 2012-04-23 | 1 | -9/+62 |
* | 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
|  Jean Chalard | 2012-04-12 | 1 | -1/+3 |
* | Read the dictionary resource in a more sensical place.•••We don't need to pass this down all the way from LatinIME any more.
It fetched be done exactly where it needs to be.
Change-Id: I9f277f9c4f9de70ae755a1334d86c67bbb24c988
|  Jean Chalard | 2012-04-11 | 1 | -2/+4 |
* | Add language suffix to main dictionary•••Bug: 6319377
Change-Id: Ie6a887fefa12e33c17bfeb5d22984e7c1a7bdb46
|  Tadashi G. Takaoka | 2012-04-11 | 1 | -13/+3 |
* | Add RunInLocale class to guard locale switching•••Bug: 6128216
Change-Id: I8d9c75c773c3de886183b291ada7a3836295839b
|  Tadashi G. Takaoka | 2012-04-03 | 1 | -5/+9 |
* | Small performance improvement by removing interface accesses.•••Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
|  Ken Wakasa | 2012-03-17 | 1 | -3/+2 |
* | Fix string iterations in a couple places.•••Seems I didn't get how to iterate on a String correctly >.>
Talk about a big bug. Anyway, I think it's working now.
Bug: 5955228
Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0
|  Jean Chalard | 2012-02-03 | 1 | -2/+4 |
* | Cleanup unused import•••This change also gets rid of several compiler warnings.
Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
|  Tadashi G. Takaoka | 2011-10-04 | 1 | -3/+0 |
* | Move locale-related utility methods to LocaleUtils.•••Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
|  Jean Chalard | 2011-08-29 | 1 | -2/+2 |
* | Allow sharing dictionaries between similar locales.•••Bug: 5058488
Change-Id: Ib12013f58afad957a8205b439f87480cc12ea06f
|  Jean Chalard | 2011-08-25 | 1 | -14/+49 |
* | 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
|  Jean Chalard | 2011-08-24 | 1 | -6/+6 |
* | Check the main dict id to be able to fallback.•••Bug: 5095140
Change-Id: I02032923ca2a65bd8fbabc0abbe6a476f7542187
|  Jean Chalard | 2011-08-18 | 1 | -7/+20 |
* | Move the settings test to a more appropriate place.•••This change refactors the dictionary selection code so that the
cached dictionary files list and the settings tests are more
cleanly separated.
This will also help with future refactorings that will test for
the presence of the main dictionary and insert the fall back if
it's not supplied by the dictionary pack.
Bug: 5095140
Change-Id: I8d7caad7c054031df71fe78b043801a774d50f65
|  Jean Chalard | 2011-08-18 | 1 | -22/+28 |
* | Merge "Exception refactoring" |  Jean Chalard | 2011-08-18 | 1 | -16/+9 |
|\ |
|
| * | 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
|  Jean Chalard | 2011-08-18 | 1 | -16/+9 |
* | | Factor dict pack settings reading into a static inner class•••This is essentially refactoring to help next steps
Bug: 5095140
Change-Id: Ic97044d2ed354027bac4f84e6ce69d20ef6da092
|  Jean Chalard | 2011-08-17 | 1 | -14/+37 |
|/ |
|
* | Read shared prefs from the dictionary pack.•••Bug: 5095140
Change-Id: I227fbd95d8a0330b6dede6de99fde3a5a715fe2d
|  Jean Chalard | 2011-08-12 | 1 | -4/+59 |
* | Use the dictionaries cached LatinIME-side•••Dictionaries are now copied over from the dictionary pack to Latin IME.
This change enables Latin IME to use all dictionaries that have been
cached until now.
Bug: 5095140
Change-Id: Id9a2bacf9dc1c693189b0ac8aa3f75756dc1e3e6
|  Jean Chalard | 2011-08-11 | 1 | -5/+32 |
* | Rename a function and update a comment•••Bug: 5095140
Change-Id: Idf66a04c6a1a05015f94187a8dbce3d443bbf38b
|  Jean Chalard | 2011-08-11 | 1 | -4/+66 |
* | 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
|  Jean Chalard | 2011-08-02 | 1 | -27/+16 |
* | 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
|  Jean Chalard | 2011-07-21 | 1 | -3/+10 |
* | Add a number of NULL pointer guards.•••None of these are expected to actually be null, but those are
included for peace of mind and foolproofing against future
code changes.
Bug: 4580040
Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
|  Jean Chalard | 2011-07-19 | 1 | -1/+3 |
* | 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 Chalard | 2011-05-17 | 1 | -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 Chalard | 2011-04-28 | 1 | -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 Chalard | 2011-04-26 | 1 | -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 Chalard | 2011-03-18 | 1 | -0/+96 |