| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Bug: 7328003
Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
|
|
|
|
|
|
|
| |
Also fix a spelling mistake in a comment
Bug: 7301525
Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
|
|
|
|
| |
Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
|
|
|
|
| |
Change-Id: Ifc4c64c9cffe4f343c5a604c192db010a1792acc
|
|
|
|
|
|
| |
Bug: 7169473
Change-Id: I575aaa350042af076a8da5756993cdae9e73422c
|
|
|
|
| |
Change-Id: Ifd66bda7d528827ba61c60531121ea206a2325be
|
|
|
|
| |
Change-Id: Ia71561648e17f846d277c22309ac37c21c67a537
|
|
|
|
| |
Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
|
|
|
|
|
| |
Bug: 7005813
Change-Id: Ie0d8d4b2d5eb147838ca23bdd5ec1cecd4f01151
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 6327270
Change-Id: I5a0e732c8a3fd55fd8ac3c8fe1c58e7f91555d97
|
|
|
|
|
|
|
|
| |
Also, optimize quite a bit the code that decides whether we have
a default dict or not.
Bug: 5705834
Change-Id: Ied20fbcbbc42cbe8c01759d11b1804d1156c6960
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 6319377
Change-Id: Ie6a887fefa12e33c17bfeb5d22984e7c1a7bdb46
|
|
|
|
|
| |
Bug: 6128216
Change-Id: I8d9c75c773c3de886183b291ada7a3836295839b
|
|
|
|
| |
Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This change also gets rid of several compiler warnings.
Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
|
|
|
|
| |
Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
|
|
|
|
|
| |
Bug: 5058488
Change-Id: Ib12013f58afad957a8205b439f87480cc12ea06f
|
|
|
|
|
|
|
|
| |
This is preparation to have the decrypting/unzipping code
moved over to LatinIME.
Bug: 5095140
Change-Id: Ic3fdcc3de673b46cef2eb9ebe6a52cbdd614e50a
|
|
|
|
|
| |
Bug: 5095140
Change-Id: I02032923ca2a65bd8fbabc0abbe6a476f7542187
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
This is essentially refactoring to help next steps
Bug: 5095140
Change-Id: Ic97044d2ed354027bac4f84e6ce69d20ef6da092
|
|
|
|
|
| |
Bug: 5095140
Change-Id: I227fbd95d8a0330b6dede6de99fde3a5a715fe2d
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 5095140
Change-Id: Idf66a04c6a1a05015f94187a8dbce3d443bbf38b
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This change is only there to fix warning issued by Eclipse.
It should have absolutely no impact on the program logic.
Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
|
|
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
|