aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add a constructor for testing to non-main dictionaries."Keisuke Kuroyanagi2013-12-124-1/+46
|\
| * Add a constructor for testing to non-main dictionaries.Keisuke Kuroyanagi2013-12-124-1/+46
| | | | | | | | | | | | | | | | The new constructor is used for creating dictionary instance that uses a given file. Bug: 11956652 Change-Id: Ifbf420a1a768eb95a5c3a58eeb1be5936b306d35
* | Merge "Add waitAllTasksForTests for testing."Keisuke Kuroyanagi2013-12-121-7/+14
|\|
| * Add waitAllTasksForTests for testing.Keisuke Kuroyanagi2013-12-121-7/+14
| | | | | | | | | | Bug: 10667710 Change-Id: I7a189e32286a6005393fbde8da736541ca9226a8
* | Remove flags from Java side.Jean Chalard2013-12-1214-267/+70
|/ | | | | | | | | | | | This simplifies the code quite a bit. - GERMAN_UMLAUTS are now handled through a key-value attribute. The dictionary generator does not need to know about it any more. - FRENCH_LIGATURES are deprecated as we handle them with shortcuts now. - CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied regardless of this flag. Bug: 11281748 Change-Id: I55a11ba61d3589c1584a3fa6c941374b349b7b5c
* Quit passing header file path to native.Keisuke Kuroyanagi2013-12-123-42/+15
| | | | | Bug: 12089197 Change-Id: Ia898f8d2836c0c131a1834dc0a396d9121ecb972
* Remove dependency from StringUtils to JsonJean Chalard2013-12-122-74/+103
| | | | Change-Id: I2a89497fb9ec12a37ba09f4598742e88f6700576
* Create ver4 dictionary files with the dictionary name.Keisuke Kuroyanagi2013-12-116-107/+109
| | | | | | Bug: 12025402 Change-Id: Ia0bb13b2e26aa60a67dff73f3f6a1e276f1bb1dd
* Merge "Rename deprecated locale directories"Tadashi G. Takaoka2013-12-111-4/+6
|\
| * Rename deprecated locale directoriesKen Wakasa2013-12-111-4/+6
| | | | | | | | | | | | | | | | cf. Ibe392f5f9dbc82c3cdff8e06b958bc3bcce3fa82 Also, cf. bug id 11340849 Change-Id: I43e84f8ca04eb1aa74037a705970a36434429a0f
* | Rename PersonalizationPredictionDictionary.Keisuke Kuroyanagi2013-12-119-78/+69
| | | | | | | | Change-Id: If7497310485a895dd22b8df29dc13508acaa0ab6
* | Merge "Fix typos."Jean Chalard2013-12-113-13/+13
|\ \
| * | Fix typos.Jean Chalard2013-12-113-13/+13
| | | | | | | | | | | | | | | | | | One of these cost me a day and a half searching for a bug :( Change-Id: I20f0b727f7c02e2754aaaf6a05b74c9cf9e6375e
* | | Merge "Split the header into a separate file."Jean Chalard2013-12-117-29/+57
|\| |
| * | Split the header into a separate file.Jean Chalard2013-12-117-29/+57
| |/ | | | | | | | | Bug: 11281748 Change-Id: Ia2490d18bf159990310e10ed45fb6b3a0dee1c5f
* / Remove PersonalizationDictinoary.Keisuke Kuroyanagi2013-12-117-147/+4
|/ | | | | | | | | Now, PersonalizationPredictionDictionary can be used not only for prediction but also for suggestions. We should rename PersonalizationPredictionDictionary to PersonalizationDictionary. Change-Id: Ifcf4459072f3523e3f3dc783f12e15b89cdbb12d
* Uncapitalized words for personalization dictionary.Keisuke Kuroyanagi2013-12-101-2/+4
| | | | | Bug: 11736529 Change-Id: I62a7469afe03092ec992bfb190f717223a8c556f
* Merge "[RF4] Actually remove ver4 dicts"Jean Chalard2013-12-063-13/+60
|\
| * [RF4] Actually remove ver4 dictsJean Chalard2013-12-063-13/+60
| | | | | | | | | | | | | | And fix a couple bugs. Bug: 11281748 Change-Id: If07953a4b1ff9eb1165af03fdb332d7e47cd8f32
* | Merge "Add a jni method to fetch unigram information."Keisuke Kuroyanagi2013-12-062-0/+126
|\ \ | |/ |/|
| * Add a jni method to fetch unigram information.Keisuke Kuroyanagi2013-12-062-0/+126
| | | | | | | | | | | | Bug: 11956652 Change-Id: I59f1823bbc0146f6d2f34cbed8166bb6de197208
* | [RF3] CleanupsJean Chalard2013-12-066-25/+9
| | | | | | | | | | | | | | | | | | | | Make the version number a single number on native and java side. Also, remove the hasValidContents method. It's useless since the native code already checks this when creating the dictionary (I wish I had known that when I added it). Bug: 11281748 Change-Id: I572d37429972b2f280e4bdb748b709e5d0d7737e
* | [RF2] Some refactoring and some cleanupJean Chalard2013-12-065-36/+28
|/ | | | | Bug: 11281748 Change-Id: Iff45fdf6b23f77c08271a169c7d7ca45912c85e8
* Merge "[RF1] Remove files that don't match the expected format, step 1"Jean Chalard2013-12-045-7/+89
|\
| * [RF1] Remove files that don't match the expected format, step 1Jean Chalard2013-12-045-7/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the skeleton implementation, and enables a fallback implementation in the case the file is coming from the dictionary provider. - A better scheme should be used for provider-supplied dicts. - This does not implement the solution for device-generated dicts yet. This will come in a future change. - This does not implement the checking process on the native side yet. This will come in a future change. Bug: 11281748 Change-Id: Ifa6e237d19dfbffe503e3674915480ea867b0ddf
* | Merge "Start to use historical info."Keisuke Kuroyanagi2013-12-042-0/+3
|\ \
| * | Start to use historical info.Keisuke Kuroyanagi2013-12-042-0/+3
| | | | | | | | | | | | | | | Bug: 11073222 Change-Id: I232d41bec5df7952856b5ba4765977707c39b94a
* | | Quit using obsolete methods for testing.Keisuke Kuroyanagi2013-12-041-24/+1
|/ / | | | | | | | | Bug: 11073222 Change-Id: I77c99fbea2f255dbfddb646b6e12bee574647eca
* / Start passing timestamp for dynamic dictionaries.Keisuke Kuroyanagi2013-12-045-22/+54
|/ | | | | Bug: 11073222 Change-Id: I89e1277f734d5959e33d61e7e9e7048084b9007a
* Merge "Add required header attributes for user/contacts dictionary."Ken Wakasa2013-12-0311-56/+70
|\
| * Add required header attributes for user/contacts dictionary.Keisuke Kuroyanagi2013-12-0311-56/+70
| | | | | | | | | | | | Bug: 11973488 Change-Id: I91ef720a24633aec0f4e81cd4f7c49c749805c49
* | Tiny refactoringJean Chalard2013-12-031-1/+4
|/ | | | | | | | Add a warning comment and make it so that openNative() is only called in one place in the code. Bug: 11281748 Change-Id: Ic7819a01deb62cf145ebf9d620da2d15fae19313
* Separate common config and dimensions resourcesTadashi G. Takaoka2013-12-032-7/+4
| | | | Change-Id: Ia16880e818927bc3df7292e130b2f7b5efc9776e
* Make contacts/user dictionary ver2.Keisuke Kuroyanagi2013-12-022-3/+4
| | | | Change-Id: I10c29bd45fd37d765f115333087e1700dd90570b
* Merge "Fix some more tests"Jean Chalard2013-12-021-5/+5
|\
| * Fix some more testsJean Chalard2013-12-021-5/+5
| | | | | | | | | | | | Bug: 11960453 Bug: 11954718 Change-Id: I71e98cc6ab30cc89e921e9ef578d7f6366049d01
* | Remove KeyEventHandlerTadashi G. Takaoka2013-12-021-11/+5
| | | | | | | | Change-Id: Iddde1f85139cb21bde6e4fc275c32f3d62f4862f
* | Merge "Add config_ prefix to the resource names merged from dimens.xml"Tadashi G. Takaoka2013-12-025-11/+15
|\ \ | |/ |/|
| * Add config_ prefix to the resource names merged from dimens.xmlTadashi G. Takaoka2013-12-025-11/+15
| | | | | | | | Change-Id: I6fb11b8cb52c06b805fb17d61450d7df50e4e20d
* | Fix an obvious bugJean Chalard2013-12-021-1/+1
| | | | | | | | | | | | This had to be a typo Change-Id: Id49e44d7667d64b00e883c55c683535398b6bdea
* | Merge "Quit recording LastUserHistoryWriteTime."Keisuke Kuroyanagi2013-12-029-158/+31
|\ \
| * | Quit recording LastUserHistoryWriteTime.Keisuke Kuroyanagi2013-12-029-158/+31
| |/ | | | | | | Change-Id: I0f2b408b4976d8119c932654e23836803d42c568
* / Fix tests.Jean Chalard2013-12-022-2/+13
|/ | | | | | | | This fixes a few bugs that became apparent with the reinstating of a test. Bug: 11954718 Change-Id: I1127bc3180f856566429f40d14c944e6f0007e09
* Avoid NPE by checkingTadashi G. Takaoka2013-12-021-0/+3
| | | | | Bug: 11956240 Change-Id: I3de1ebbf96fa2422124e4d8e50190adfa09b8a49
* Merge "Fix auto-detection of format 4."Jean Chalard2013-11-296-33/+50
|\
| * Fix auto-detection of format 4.Jean Chalard2013-11-296-33/+50
| | | | | | | | | | Bug: 11073222 Change-Id: I76e47d0399cf43fc3cc18cb1252f166be86b9a69
* | Rename StaticInnerHandlerWrapper to LeakGuardHandlerWrapperTadashi G. Takaoka2013-11-293-26/+26
|/ | | | Change-Id: I024f0ee9c7f7718afc8a4ca0c6c49f2e88b035ad
* Merge "Add version check to open binary dictionary."Keisuke Kuroyanagi2013-11-283-8/+45
|\
| * Add version check to open binary dictionary.Keisuke Kuroyanagi2013-11-283-8/+45
| | | | | | | | | | Bug: 11073222 Change-Id: Iabae12b8f14a9da3cdc804dcc6af443cedeb3f99
* | Merge "Change the timing of reading the previous word."Jean Chalard2013-11-282-22/+92
|\ \ | |/ |/|