Jean Chalard
83c879ad67
Fix typos.
...
One of these cost me a day and a half searching for a bug :(
Change-Id: I20f0b727f7c02e2754aaaf6a05b74c9cf9e6375e
2013-12-11 12:06:05 +09:00
Jean Chalard
3839defc90
Split the header into a separate file.
...
Bug: 11281748
Change-Id: Ia2490d18bf159990310e10ed45fb6b3a0dee1c5f
2013-12-11 12:03:40 +09:00
Keisuke Kuroyanagi
6038895611
Discard useless bigrams when overflowing.
...
Bug: 11734037
Change-Id: I339999dffc1902f62e0a6706d969c8f410bb656f
2013-12-10 18:49:28 +09:00
Keisuke Kuroyanagi
962d2c083a
Discard useless unigrams when overflowing.
...
Bug: 11734037
Change-Id: I5f991dd1f8fa79fd0c442be323d20c76b47ae22e
2013-12-10 18:37:06 +09:00
Keisuke Kuroyanagi
2fdb62a6a2
Start using historical info for decaying.
...
Bug: 11073222
Change-Id: Iad5f42d7268939df35589c4900bf6f4425adaa3f
2013-12-10 17:53:06 +09:00
Keisuke Kuroyanagi
51b5936cb0
Merge "Support current time controlling for testing."
2013-12-09 08:13:45 +00:00
Keisuke Kuroyanagi
4c46faa074
Support current time controlling for testing.
...
Bug: 11073222
Change-Id: I8a0e96ea6711f1f1165209873d8d6a2a77008541
2013-12-09 16:58:43 +09:00
Keisuke Kuroyanagi
ddef88d0bf
Use FormatSpec.VERSION4 instead of 4 for unit tests.
...
Bug: 10197478
Change-Id: I330bfa3f45b9e282b49ccde7868d49676506f268
2013-12-09 16:38:28 +09:00
Keisuke Kuroyanagi
8317acad48
Create dictionary with historical info for testing.
...
Bug: 11073222
Change-Id: I3573badceaceb9f4660884a4b23c337c63103701
2013-12-09 15:48:30 +09:00
Keisuke Kuroyanagi
5f88c1e0f1
Start to support adding shortcuts.
...
Bug: 11073222
Bug: 11956652
Change-Id: Iea81603a140697594cfea4f4939e82cd1d3963ca
2013-12-09 13:05:44 +09:00
Keisuke Kuroyanagi
fc16c320c6
Merge "Add a jni method to fetch unigram information."
2013-12-06 08:53:21 +00:00
Keisuke Kuroyanagi
9fb28f78f7
Add a jni method to fetch unigram information.
...
Bug: 11956652
Change-Id: I59f1823bbc0146f6d2f34cbed8166bb6de197208
2013-12-06 17:17:38 +09:00
Tadashi G. Takaoka
5bf55a86d0
Return null if "!text/" reference is an empty text
...
Change-Id: I01826f3e09527348fb4cba3302a9394ff34f424a
2013-12-06 16:51:11 +09:00
Keisuke Kuroyanagi
e33072eb50
Quit using obsolete methods for testing.
...
Bug: 11073222
Change-Id: I77c99fbea2f255dbfddb646b6e12bee574647eca
2013-12-04 16:03:53 +09:00
Keisuke Kuroyanagi
a0befc6490
Start passing timestamp for dynamic dictionaries.
...
Bug: 11073222
Change-Id: I89e1277f734d5959e33d61e7e9e7048084b9007a
2013-12-04 11:57:45 +09:00
Keisuke Kuroyanagi
8bfc8c46ff
Add required header attributes for user/contacts dictionary.
...
Bug: 11973488
Change-Id: I91ef720a24633aec0f4e81cd4f7c49c749805c49
2013-12-03 19:22:17 +09:00
Keisuke Kuroyanagi
e717f64659
Purge Ver3 dictionary writing in native code.
...
Bug: 11073222
Change-Id: Iccedd618970b270a1e4178cfb178cd87c8208f3d
2013-12-02 21:59:56 +09:00
Jean Chalard
ca5c7a9e14
Fix some more tests
...
Bug: 11960453
Bug: 11954718
Change-Id: I71e98cc6ab30cc89e921e9ef578d7f6366049d01
2013-12-02 21:05:26 +09:00
Keisuke Kuroyanagi
545e4191b3
Merge "Quit recording LastUserHistoryWriteTime."
2013-12-02 10:10:32 +00:00
Keisuke Kuroyanagi
cffe4d2d0f
Quit recording LastUserHistoryWriteTime.
...
Change-Id: I0f2b408b4976d8119c932654e23836803d42c568
2013-12-02 18:45:32 +09:00
Jean Chalard
9ab71eda83
Fix tests.
...
This fixes a few bugs that became apparent with the
reinstating of a test.
Bug: 11954718
Change-Id: I1127bc3180f856566429f40d14c944e6f0007e09
2013-12-02 18:15:22 +09:00
Jean Chalard
26c9af33a7
Fix auto-detection of format 4.
...
Bug: 11073222
Change-Id: I76e47d0399cf43fc3cc18cb1252f166be86b9a69
2013-11-29 19:10:19 +09:00
Jean Chalard
02b2b3fdd8
Add parameter descriptions
...
Change-Id: Ib4b883abbf7828cf042329523933190d05447564
2013-11-28 19:33:28 +09:00
Jean Chalard
4866a3e918
Change the timing of reading the previous word.
...
Bug: 11328842
Change-Id: I08229e895fc34403932648b9b931583d965f0e01
2013-11-28 18:51:03 +09:00
Jean Chalard
da459787e2
Fix getNthPreviousWord.
...
This should take into accounts word connectors.
Change-Id: Ic7fa5c837cd65a43ba43d7ae9d299b8d20019892
2013-11-28 11:41:23 +09:00
Jean Chalard
4735e1d32a
Merge "Fix messages in tests"
2013-11-27 08:44:31 +00:00
Jean Chalard
dfc5aade2d
Fix messages in tests
...
They are not failing because of this right now, but future
tests would fail without this.
Concretely, since the Handler for any given main thread is
a singleton managed by the framework, the messages won't
be removed automatically. In particular, messages posted
with a delay have a large destructive potential, because
they will go through before the startInputViewInternal
method is called, because it's called with a message too (in
turn, this is because of working around framework bugs).
Bug: 11142685
Change-Id: If81a168efcfd7d93806ddc4ea432d438c45a3e1d
2013-11-27 17:37:57 +09:00
Keisuke Kuroyanagi
63b7392b8d
Merge "Have ver4 support decaying dictionary"
2013-11-27 03:38:21 +00:00
Keisuke Kuroyanagi
24af6ed692
Have ver4 support decaying dictionary
...
Bug: 11073222
Change-Id: I7f0002c4743ab3bb1ebaac1bca6e367e6b220010
2013-11-27 12:14:00 +09:00
Jean Chalard
2d8a2aa337
Fix a settings dependency in tests
...
Bug: 11142685
Change-Id: I1db3488cee153358fa391817b3c03cad16eefdb7
2013-11-26 17:17:10 +09:00
Keisuke Kuroyanagi
ca16be7552
Implement addMultipleDictionaryEntries as a jni method.
...
Bug: 11757169
Change-Id: Ie1569e0b3c0503588ebfe5d09c7ca06116f54485
2013-11-26 16:03:10 +09:00
Keisuke Kuroyanagi
251fba54fc
Merge "BinaryDictionaryTests uses ver4 dictionary, too."
2013-11-25 09:06:49 +00:00
Keisuke Kuroyanagi
e74b01191f
BinaryDictionaryTests uses ver4 dictionary, too.
...
Bug: 11073222
Change-Id: Ib6a6cca7f5835f18405c5e81a1afa9b5bb931aa6
2013-11-25 17:48:35 +09:00
Jean Chalard
e629f860d1
Fix a flaky test.
...
Corrections depend on the proximity info, which depends
on the layout, which in turn depends on the subtype and
not only the language. Thus, we need to force the whole
subtype for meaningful tests.
Bug: 11142685
Change-Id: I9cf3d948259e0236061454a93ffc2e28c7e0768f
2013-11-25 17:22:15 +09:00
Keisuke Kuroyanagi
bcde771489
Implement ver4 dictionary GC.
...
Bug: 11391130
Change-Id: I8a8c5b24b5922df49f27341a2f94d85513bb7166
2013-11-22 19:37:33 +09:00
Tadashi G. Takaoka
42d9980a84
Rename ambiguous feature name and related resources
...
Bug: 11737015
Change-Id: I39f7ca13b99f019a2edb5aa690e3142ceba4e837
2013-11-21 10:52:53 +09:00
Ken Wakasa
d4520a02ee
Merge "Fix: BinaryDictionaryDecayingTests."
2013-11-20 10:18:18 +00:00
Keisuke Kuroyanagi
d3a4383299
Fix: BinaryDictionaryDecayingTests.
...
Change-Id: I3b415463bb23d1ad58ece62ba271412d66210a9c
2013-11-20 19:16:16 +09:00
Keisuke Kuroyanagi
963bd84515
Merge "Add dict encoder tests uning various code points."
2013-11-20 10:07:28 +00:00
Keisuke Kuroyanagi
7a52b4e289
Add dict encoder tests uning various code points.
...
Bug: 11772864
Change-Id: I3ba59fbb3fed226a1f4b80f33c70e168b3b2b7c5
2013-11-20 18:17:27 +09:00
Keisuke Kuroyanagi
dc14d5fbba
Implement Ver4PatriciaTriePolicy::flush().
...
Bug: 11073222
Change-Id: I7da5f7f8b7918ce6cc35d36e1ce993840cad797c
2013-11-20 14:12:04 +09:00
Keisuke Kuroyanagi
4e76fd0e59
Merge "Implement writing empty ver4 dictionary to file."
2013-11-18 06:17:47 +00:00
Keisuke Kuroyanagi
80bd4a7585
Implement writing empty ver4 dictionary to file.
...
Bug: 11073222
Change-Id: Ic1a9295953d091c8e8982264ffff15669c30544c
2013-11-18 14:57:53 +09:00
Ken Wakasa
9279863eb0
Trying to fix BlueUnderlineTests.testBlueUnderline()
...
Change-Id: Ia898a9fd0fd7b94f83337f4f980f7b7d7fb40a36
2013-11-14 20:24:03 +09:00
Ken Wakasa
ec256f4b8a
Update targetSdkVersion to KitKat
...
Change-Id: I4682aa854b244b58080c964bed1c3017ce365e87
2013-11-14 19:26:25 +09:00
Tadashi G. Takaoka
053424e56e
Merge "Add StringUtils.joinCommaSplittableText"
2013-11-14 09:04:24 +00:00
Tadashi G. Takaoka
6589751ace
Add StringUtils.joinCommaSplittableText
...
Change-Id: I80ad9d8b5aee53f1403486a56ffae8d09cbd4e28
2013-11-14 17:43:03 +09:00
Keisuke Kuroyanagi
97fdb184bc
Purge ExpandableDictionary.
...
Bug: 11245133
Change-Id: Ia0886686d8add940409dcd5c883c34eb5289380d
2013-11-14 14:18:02 +09:00
Keisuke Kuroyanagi
ff4b1d1fd0
Implement ver4 dictionary bigram removing methods.
...
Bug: 11073222
Change-Id: I0c42e283d1ff983dc2c51e91b167bc39cdfd3da8
2013-11-13 16:40:01 +09:00
Keisuke Kuroyanagi
99808b7b0d
Implement ver4 dictionary bigram writing methods.
...
Bug: 11073222
Change-Id: Ibb0e697fe14dac1edb1f3074fb59e2cdc91039d4
2013-11-12 21:10:01 +09:00