aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug where autocaps would jam auto-commitJean Chalard2013-10-221-2/+8
| | | | | Bug: 11311002 Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
* (2/2) Implement insertWord in Ver4DictUpdater.Yuichiro Hanada2013-10-181-2/+1
| | | | Change-Id: I2328a9df0a009b564e8acaf4180f9b0c1ed0901a
* (1/2) Implement insertWord in Ver4DictUpdater.Yuichiro Hanada2013-10-181-3/+22
| | | | Change-Id: Ia3079d5ef00ca7d831c91fb9220ad9c17038c5a3
* [Refactor] Add BinaryDictUtils.Yuichiro Hanada2013-10-173-214/+236
| | | | Change-Id: I95c5fb58e2cab3a2c523d2bc3c6fbad06692ac59
* Merge "Revert "Revert "Add Swiss French and German keyboard layouts."""Ken Wakasa2013-10-151-0/+30
|\
| * Revert "Revert "Add Swiss French and German keyboard layouts.""Ken Wakasa2013-10-101-0/+30
| | | | | | | | | | | | | | | | | | This reverts commit 56402cf10a3a26ca7add62678d7e1ab3064feab7. I'll submit this on 10/16 after the final cut for Bayo. Change-Id: I0fe4ab64fd8dfa1e63e29adf00388743fca6a1ed bug: 11144401
* | Fix unit test for If8c94ef91ed58bb5028f51be7c8d9beb677436a4Ken Wakasa2013-10-111-1/+1
| | | | | | | | Change-Id: I056013de3a5e09feed429dfd8097d3d85331a0ab
* | Add the new format of bigram entries.Yuichiro Hanada2013-10-111-0/+11
|/ | | | | | | | | In new format, each bigram entry has flags (1 byte), a terminal id (3 byte), a time-stamp (4 byte), a counter (1 byte) and a level (1 byte). Bug: 10920255 Bug: 10920165 Change-Id: I0f7fc125a6178e6d25a07e8462afc41a7f57e3e1
* Revert "Add Swiss French and German keyboard layouts."Ken Wakasa2013-10-101-30/+0
| | | | | | | | This reverts commit 220ce8f269e8d2507a2a57ec919e48ddb6f496f8. Sorry, but we are now in the week before the final cut for the next launch. We shouldn't be taking new features like this at this point. Let me revert this change for now. I'll re-revert this after the cut next week. Change-Id: Ia8b00680c992ec526e6a858945f2380cbcdfdd55
* Add Swiss French and German keyboard layouts.Fredrik Roubert2013-10-091-0/+30
| | | | | | | | | | | | | | | There used to be two "Swiss" keyboard layouts, labelled fr_CH and de_QY, available in LatinIME. They were, however, not actually Swiss layouts but instead work-arounds to be able to get French or German with qwertz or qwerty (instead of azerty and qwertz) layouts, respectively. These were thus removed by commit f6972561fcb45310f18230ce217f0c6bb57e7eee replacing them with the generic fr-qwertz and de-qwerty layouts instead. Here, now, is a proper Swiss keyboard layout, following Swiss standards for people accustomed to typing on Swiss keyboards, with the expected tailorings for French and German. Change-Id: I9feed752053ecc694c84db713284f69bc1daf155
* Merge "Make the sentence separator a resource."Jean Chalard2013-10-081-40/+42
|\
| * Make the sentence separator a resource.Jean Chalard2013-10-081-40/+42
| | | | | | | | | | | | | | This will help handing correctly the armenian full stop. Bug: 10082781 Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
* | Merge "Add Ime language switching test."Keisuke Kuroyanagi2013-10-083-1/+102
|\ \ | |/ |/|
| * Add Ime language switching test.Keisuke Kuroyanagi2013-10-083-1/+102
| | | | | | | | Change-Id: I6a96dc5fdd533899353d537382608c2759faff1c
* | Merge "Add a large test adding bigrams for decaying dictionary."Keisuke Kuroyanagi2013-10-081-1/+73
|\ \
| * | Add a large test adding bigrams for decaying dictionary.Keisuke Kuroyanagi2013-10-081-1/+73
| | | | | | | | | | | | | | | Bug: 10197478 Change-Id: I34d3c21bd7f70885a3031ce91a4d4c4ba3564856
* | | Merge "Set the shortcut frequency correctly."Jean Chalard2013-10-072-9/+12
|\ \ \ | |/ / |/| |
| * | Set the shortcut frequency correctly.Jean Chalard2013-10-072-9/+12
| | | | | | | | | | | | | | | | | | | | | 14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
* | | Fix bug and Add large test for decaying dictionary.Keisuke Kuroyanagi2013-10-071-0/+54
|/ / | | | | | | | | | | | | | | - GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
* | Merge "Accept double-space-period after emoji."Jean Chalard2013-10-041-4/+11
|\ \
| * | Accept double-space-period after emoji.Jean Chalard2013-10-041-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | This also includes a fix that allows this code to read surrogate pairs in this processing. Bug: 11070482 Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
* | | Merge "Add Ver4DictUpdater."Ken Wakasa2013-10-042-0/+4
|\ \ \
| * | | Add Ver4DictUpdater.Yuichiro Hanada2013-10-042-0/+4
| | | | | | | | | | | | | | | | Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
* | | | Merge "Refactor BinaryDictIOUtilsTests."Ken Wakasa2013-10-042-25/+59
|\| | |
| * | | Refactor BinaryDictIOUtilsTests.Yuichiro Hanada2013-10-042-25/+59
| |/ / | | | | | | | | | Change-Id: I2208378b33038771b460abb33f9a690872e998e2
* | | Merge "Make BinaryDictionaryTests use current time as a seed."Keisuke Kuroyanagi2013-10-041-54/+60
|\ \ \ | |_|/ |/| |
| * | Make BinaryDictionaryTests use current time as a seed.Keisuke Kuroyanagi2013-10-041-54/+60
| | | | | | | | | | | | | | | Bug: 10197478 Change-Id: Ib79cd3a81b01b16259df29b36e1df6b8f0affca8
* | | Merge "Check the elapsed time for decaying."Keisuke Kuroyanagi2013-10-041-2/+2
|\| | | |/ |/|
| * Check the elapsed time for decaying.Keisuke Kuroyanagi2013-10-041-2/+2
| | | | | | | | | | Bug: 6669677 Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9
* | Merge "Fix UserHistoryDictionaryTests."Keisuke Kuroyanagi2013-10-031-47/+45
|\ \
| * | Fix UserHistoryDictionaryTests.Keisuke Kuroyanagi2013-10-031-47/+45
| |/ | | | | | | | | | | | | Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
* / Add DictUpdater.Yuichiro Hanada2013-10-032-35/+12
|/ | | | Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
* Merge "Remove some unused variables."Ken Wakasa2013-10-022-20/+16
|\
| * Remove some unused variables.Yuichiro Hanada2013-10-022-20/+16
| | | | | | | | Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef
* | Merge "Stochastic decay."Keisuke Kuroyanagi2013-10-021-4/+8
|\ \ | |/ |/|
| * Stochastic decay.Keisuke Kuroyanagi2013-10-021-4/+8
| | | | | | | | | | Bug: 6669677 Change-Id: Ib2d9228b951c77dab7a8675ce9db60677e87e771
* | Make SparseTable have multiple content tables.Yuichiro Hanada2013-10-021-32/+70
| | | | | | | | | | Bug: 10920165 Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e
* | Fix a test and crash with a better error message when readingJean Chalard2013-10-021-1/+3
|/ | | | | | | | | When there are too many bigrams, we stop reading the file, so the file pointer is in an inconsistent place. This means we have no idea what's going to happen next. It's better to crash right away. Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3
* Separate "GC" and "GC with decay".Keisuke Kuroyanagi2013-10-011-0/+7
| | | | | Bug: 6669677 Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467
* Implement simple dictionary decay.Keisuke Kuroyanagi2013-09-301-0/+171
| | | | | | | | | | Groundwork and implement simple decay. Increment probability when typed and decrement probability at GC. Bug: 6669677 Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe
* Fix build.Keisuke Kuroyanagi2013-09-301-1/+1
| | | | Change-Id: If7c76ca5f7030ba2003228ed1877bdb948b4b99d
* Merge "Set header attributes for ExpandableBinaryDictionary."Keisuke Kuroyanagi2013-09-291-13/+13
|\
| * Set header attributes for ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-09-281-13/+13
| | | | | | | | | | | | Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
* | Merge "Add unigram/bigram counting."Keisuke Kuroyanagi2013-09-271-0/+54
|\ \
| * | Add unigram/bigram counting.Keisuke Kuroyanagi2013-09-271-0/+54
| | | | | | | | | | | | | | | Bug: 6669677 Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
* | | Fix PrioritizedSerialExecutor.Yuichiro Hanada2013-09-271-9/+4
| |/ |/| | | | | | | | | | | | | It was possible that fetchNextTasks() would be called by multiple threads concurrently. If it happens, some tasks in the task queues might be ignored. Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8
* | Merge "Create empty dictionary file in native code."Keisuke Kuroyanagi2013-09-261-36/+11
|\|
| * Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-261-36/+11
| | | | | | | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* | Add SparseTable.Yuichiro Hanada2013-09-261-0/+160
|/ | | | | Bug: 10920165 Change-Id: I749dd0269e788799e30b10beb2671813d40ce15f
* Fix the offdevice regression test buildKen Wakasa2013-09-252-35/+58
| | | | | | | Followup to If4e44eca3cdc5bb02cf2e0c8c44ecd4bf27fae57 bug: 10622489 Change-Id: If98b2c75725f8692f0c2b41c33e448086404479b