Keisuke Kuroyanagi
8890b01550
Remove unigram for v402 with historical info.
...
Bug: 15531638
Change-Id: If1b73ac693e45a80df987ea16b2dece5597697e8
2014-08-15 15:47:53 +09:00
Jean Chalard
3dbc3ece26
am e04c8b10: am b8d76477: Add the input style to SuggestedWords.
...
* commit 'e04c8b10d7876effbfdf2340a1fec6bf368c3409':
Add the input style to SuggestedWords.
2014-08-14 18:10:05 +00:00
Jean Chalard
b8d764772b
Add the input style to SuggestedWords.
...
Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
2014-08-14 17:53:04 +09:00
Tadashi G. Takaoka
af078ce7b4
am 1901c331: am a94c89e0: Use light emoji icon for Material light tablet keyboard
...
* commit '1901c331283e2f60e6277a7773a103a447bd31ca':
Use light emoji icon for Material light tablet keyboard
2014-08-13 15:54:51 +00:00
Tadashi G. Takaoka
a94c89e017
Use light emoji icon for Material light tablet keyboard
...
Bug: 16808603
Change-Id: I39ce0ed8b5580754dfd0cf1494289b0a23863d50
2014-08-14 00:25:34 +09:00
Tadashi G. Takaoka
78cff10f8d
Add BuildCompatUtils to get an effective platfrom API version
...
This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT.
Bug: 13888366
Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a
2014-08-13 16:21:23 +09:00
Tadashi G. Takaoka
8f3e778a21
Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
...
This reverts commit 5380acfd04
.
Bug: 13888366
Change-Id: Iae0fb6798cef9d59c9de3790123f6acaf8b2746b
2014-08-13 04:00:36 +00:00
Keisuke Kuroyanagi
82be1873f1
Merge "Add additional wait for writing file in testAddManyWords()."
2014-08-12 23:14:42 +00:00
Tadashi G. Takaoka
089371b649
am bdb05cc8: am 78cff10f: Add BuildCompatUtils to get an effective platfrom API version
...
* commit 'bdb05cc89f63f4f3956936fa062d0b4555aa072a':
Add BuildCompatUtils to get an effective platfrom API version
2014-08-13 07:52:52 +00:00
Keisuke Kuroyanagi
18c562871f
Merge "Print files when dict file existence check is failed."
2014-08-12 23:14:48 +00:00
Keisuke Kuroyanagi
caee2c1876
Print files when dict file existence check is failed.
...
Change-Id: Id71f239afa95b68961192714998695c21ed48002
2014-08-13 15:51:34 +09:00
Keisuke Kuroyanagi
7185f30a5c
Remove all test dictionary files before and after unit test.
...
Change-Id: I92db6318daa98684639ab959f55d047a941fe265
2014-08-13 15:51:16 +09:00
Keisuke Kuroyanagi
24cb234778
Merge "Remove all test dictionary files before and after unit test."
2014-08-12 23:14:42 +00:00
Tadashi G. Takaoka
4ac551d189
am 7edc27f1: am 8f3e778a: Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
...
* commit '7edc27f17b450e690f08a972c4573b92b39ef7ee':
Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
2014-08-13 05:28:51 +00:00
Tadashi G. Takaoka
89a2145448
am a70542a5: am 5380acfd: Remove reference of VERSION_CODES.CUR_DEVELOPMENT
...
* commit 'a70542a5ef2c7f4d5cfe62150ed17be3776904c5':
Remove reference of VERSION_CODES.CUR_DEVELOPMENT
2014-08-12 15:02:59 +00:00
Tadashi G. Takaoka
5380acfd04
Remove reference of VERSION_CODES.CUR_DEVELOPMENT
...
Bug: 13888366
Change-Id: I0b829e2cf9a11c694cf01b6f02753233c9c85105
2014-08-12 23:13:18 +09:00
Keisuke Kuroyanagi
9f584e15eb
Add additional wait for writing file in testAddManyWords().
...
Change-Id: Ibb79b9821dac3d48e18c684e8aca605254bec045
2014-08-12 22:29:02 +09:00
Tadashi G. Takaoka
7ad1fb2a43
Fix typo in keyboard layout test comment
...
Change-Id: Ib7800840dd8f2d37a0ef7e03d67f16490f9c0dea
2014-08-12 22:15:25 +09:00
Tadashi G. Takaoka
e1758f8cdf
Disable Sinhala keyboard for E-release
...
This CL also disables Tamil (Sri Lanka) subtype in conjunction with
Sinhala (Sri Lanka) subtype.
Bug: 6911143
Bug: 9978106
Change-Id: Ie56051eb04141114ca02c72b256942a838e38721
2014-08-11 20:16:16 +09:00
Tadashi G. Takaoka
c9add10c38
(DO NOT MERGE) Disable Sinhala keyboard for L-release
...
This CL also disables Tamil (Sri Lanka) subtype in conjunction with
Sinhala (Sri Lanka) subtype.
Bug: 6911143
Bug: 9978106
Change-Id: I686b4e5d2c79039ca8d837d3227448d69c7e47de
2014-08-11 11:14:07 +00:00
Tadashi G. Takaoka
463339f195
resolved conflicts for merge of aca5785a
to master
...
Change-Id: I01e8af21d6d019859da4a05995e77701a0d9c585
2014-08-11 19:34:23 +09:00
Tadashi G. Takaoka
25906373ff
Fix Tamil keyboard
...
This CL adds Tamil (Sri Lanka) and Tamil (Singapore) subtypes.
This CL also fixes Sinhala Keyboard's currency symbol.
Bug: 9978106
Bug: 6911143
Change-Id: I2060978097882d0f4b1ec10f1103260ed8a447d0
2014-08-11 18:07:27 +09:00
Tadashi G. Takaoka
e5e1e70015
am a23dda38: am 2863997a: Fix Kannada keyboard
...
* commit 'a23dda38a04d8fe7402c1866c97bc53d7540f22b':
Fix Kannada keyboard
2014-08-11 08:07:19 +00:00
Tadashi G. Takaoka
2863997abd
Fix Kannada keyboard
...
Bug: 10029252
Change-Id: I5ae056ca6ada4ffb921e9882bf57ad21a9bb4d47
2014-08-11 15:51:56 +09:00
Tadashi G. Takaoka
015fcc2685
(DO NOT MERGE) Enable InScript keyboards for L
...
This CL enables the followin InScript keyboards for L-release.
- Sinhala
- Tamil
- Bengali
- Telugu
- Marathi
- Kannada
- Malayalam
Bug: 6911143
Bug: 9978106
Bug: 10028755
Bug: 10028759
Bug: 10028772
Bug: 10029252
Bug: 10417006
Change-Id: Id8962b429fbb58b5c2c90a65849af6a6fe84a8c9
2014-08-11 15:51:12 +09:00
Keisuke Kuroyanagi
0c60d7c16c
am 0e74d71f: am a848c094: Merge "Rename distracter filter class." into lmp-dev
...
* commit '0e74d71f254ad40d989e82d387fafe0fbc83969c':
Rename distracter filter class.
2014-08-08 09:01:08 +00:00
Keisuke Kuroyanagi
9306c027b1
am aaa2ce26: am 6fef4ff0: Merge "Use suggestions in the distracter filter." into lmp-dev
...
* commit 'aaa2ce26203f3e85e7783ccd21275702ebfbe366':
Use suggestions in the distracter filter.
2014-08-08 09:01:07 +00:00
Keisuke Kuroyanagi
33ca0c80c1
Use suggestions in the distracter filter.
...
Bug: 13142176
Bug: 15531638
Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
2014-08-08 17:01:16 +09:00
Keisuke Kuroyanagi
e05eb21826
Rename distracter filter class.
...
Bug: 13142176
Bug: 15531638
Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
2014-08-08 17:01:19 +09:00
Ken Wakasa
3316dcd453
Merge "Revert "Introduce onEvent() to improve testability"" into lmp-dev
2014-08-05 00:07:36 +00:00
Ken Wakasa
f5f5fb4b64
Revert "Introduce onEvent() to improve testability"
...
This reverts commit ef74e737f5
.
Apparently, this CL broke several unit tests.
Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f
2014-08-06 23:57:03 +00:00
Jean Chalard
ef74e737f5
Introduce onEvent() to improve testability
...
...and prepare for the future
Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
2014-08-06 07:29:35 +00:00
Jean Chalard
93daa04d60
Deactivate tests for Myanmar
...
They are pretty extensive already and require an implementation
that works pretty well. However ours is based on an old architecture
and updating them will take time, so for the time being it's best
to just deactivate the tests.
Change-Id: I649a220d13fc455b4306706bb964602c27a5a28c
2014-08-06 16:42:30 +09:00
Akifumi Yoshimoto
c21619fe73
Make dict log cleanup.
...
Delete unneeded output when creating a dictionary
Change-Id: If7dc5dc74a53d0054967cb801e5ccfdd53ebe179
2014-08-06 15:32:18 +09:00
Tadashi G. Takaoka
fd8b4522df
(DO NOT MERGE) Remove preliminary keyboards from L
...
Change-Id: I9e1209b80b8919669b4496102b967220ab16146b
2014-08-07 13:00:34 +09:00
Tadashi G. Takaoka
03a1c442ae
Clean up compatible utility classes
...
Change-Id: I95a682052037d292801477db0f05e04926b61412
2014-08-04 01:21:29 +00:00
Tadashi G. Takaoka
ab661e3ef8
Make "Show correction suggestions" as a binary option
...
Formerly "Show correction suggestions" had three options, "always
show", "show in portrait mode", and "always hide". The reason behind
"show in portrait mode" was that there may not be enough screen estate
in landscape mode to show suggestions. Because recent phone devices
have relatively large screen, we decide to remove "show in portrait
mode" option.
Bug: 15780939
Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
2014-07-27 14:47:07 +09:00
Tadashi G. Takaoka
254c5c1e4b
Update Hindi Compact keyboard layout
...
Bug: 13779052
Change-Id: I350e5521b41d2a0b1cc17b6d4a48e6a816db916c
2014-07-19 16:43:35 -07:00
Yohei Yukawa
eac8670830
Enable StringUtils to split CharSequence like String#split
...
This is a groundwork for enabling LocaleSpan.
To enable LocaleSpan everywhere, we need to switch to
CharSequence from String so that Span infromation can be
preserved end-to-end. To achieve this, we need to have
CharSequence version of String#split.
BUG: 16029304
Change-Id: I0dd103185dcf62fb1e25054a374340790e6a4678
2014-07-19 22:47:56 +09:00
Ken Wakasa
e645715b25
Clean up under the util package.
...
- Move util classes that are unused in AOSP
- Remove unused methods
Change-Id: Ic97fd313f1e2bafd50609d42aa3a2d090b63eafc
2014-07-18 17:47:14 +09:00
Tadashi G. Takaoka
facfd28a47
Merge "Add some virama combinations and tall-a for Myanmar"
2014-07-09 17:22:29 +00:00
Tadashi G. Takaoka
f9f409530c
Add Material Light theme
...
Bug: 15782668
Change-Id: Id2ae47cfb2065d73f13701b9c6a041129dfd08ae
2014-07-10 07:43:04 +09:00
Yohei Yukawa
fc137f35c8
Simplify the wrapper for TextInfo#getCharSequence
...
This CL simplifies the wrapper method for
TextInfo#getCharSequence() because in the almost all cases we want
to use the result of TextInfo#getText() as the default value.
BUG: 16029304
Change-Id: I62f987aed8ca42b093255e6c0703d6120fa01299
2014-07-09 23:52:44 +09:00
Tadashi G. Takaoka
b657c053c4
Add some virama combinations and tall-a for Myanmar
...
Bug: 7963632
Change-Id: I478ecdc3b7409ccd8dc729da28ad4816a2eda75e
2014-07-09 17:41:56 +09:00
Yohei Yukawa
ba1cd8a44a
Merge "Fix test failur on pre-L devices"
2014-07-02 21:09:42 +00:00
Yohei Yukawa
05c053992b
Fix test failur on pre-L devices
...
This is a follow up CL for Iafbf2877db393dbd040295c21d.
BUG: 16029304
Change-Id: I0bfdcf901adb3178e6b9201d598ce9f588dcd253
2014-07-09 16:49:33 +09:00
Tadashi G. Takaoka
36713e5782
Fix alphabet label of Kannada and Telugu
...
Bug: 10029252
Bug: 10028759
Change-Id: Iea9cc1b7cafa97280503b0236b005cea57ba2c3d
2014-07-09 15:52:03 +09:00
Tadashi G. Takaoka
d5f32b38f5
Add Telugu keyboard
...
Bug: 10028759
Change-Id: Id1bf030a9928124ead695aa7bf76db48ca58de4b
2014-07-09 02:36:15 +09:00
Tadashi G. Takaoka
03aa084ccd
Add Kannada keyboard
...
Bug: 10029252
Change-Id: Ia03ff886f9e62a2fe228fe59b504b033eead7631
2014-07-09 01:44:04 +09:00
Tadashi G. Takaoka
cc8f4491e3
Merge "Add Malayalam keyboard"
2014-07-02 20:35:42 +00:00
Tadashi G. Takaoka
59e795ca3f
Add Malayalam keyboard
...
Bug: 10417006
Change-Id: Ieb03fe1f08c85417b5d9ad4d62c8a5bc6d0632bc
2014-07-08 23:42:01 +09:00
Tadashi G. Takaoka
2d4559f6c2
Fix Tamil keyboard unit test for tablet device
...
This is a follow up change of I226e640fe4.
Bug: 9978106
Change-Id: I6b4657a57bc36e01b0b6f8c56c48d31320b90702
2014-07-08 23:38:27 +09:00
Yohei Yukawa
e81ef9d360
Merge "Add a compatibility utility class for TextInfo"
2014-07-02 19:52:36 +00:00
Yohei Yukawa
733ec699cd
Add a compatibility utility class for TextInfo
...
This is a groundwork for enabling LocaleSpan support in spell
checker service. TextInfo#getCharSequence is supposed to be
available in API Level 21 and later. We need some abstraction
layer as usual.
BUG: 16029304
Change-Id: Iafbf2877db393dbd040295c21d429334e3a13a5f
2014-07-08 14:10:12 +00:00
Tadashi G. Takaoka
074e9812ee
Merge "Add Tamil keyboard"
2014-07-02 19:52:36 +00:00
Tadashi G. Takaoka
b5696b4f67
Add Tamil keyboard
...
Bug: 9978106
Change-Id: I226e640fe453076063121176121ed5923d1ccfa1
2014-07-08 18:05:07 +09:00
Tadashi G. Takaoka
af2e0a5697
Update Bengali keyboard to add a few vowel signs
...
Bug: 10028755
Change-Id: Ia0b8624470c5b0667a3d7267d3cf8d4c937b0b0c
2014-07-08 18:29:56 +09:00
Tadashi G. Takaoka
1c9e9ecdfb
Fix Armenian comma on phone device
...
Bug: 7963631
Change-Id: Ia28b4020652174daa2731b3eed7636db9639c6b6
2014-07-08 15:40:06 +09:00
Yohei Yukawa
da19daf570
Merge "Ensure each character is coverted by at most one LocaleSpan"
2014-07-02 21:09:42 +00:00
Yohei Yukawa
ece4548eb5
Ensure each character is coverted by at most one LocaleSpan
...
This is a groundwork to attach LocaleSpan for committed text
in LatinIME.
This CL adds a utility method to ensure that a given range
of the text is coverted by at most one LocaleSpan. Of course
it could be possible to allow a substring to be coverted by
multiple LocaleSpans at the same time, but ensuring uniqueness
for LocaleSpan is supposed to be a good starting point.
BUG: 16029304
Change-Id: Ic33a7178d0df1f05d3626aeb5773ec902254703f
2014-07-07 20:13:55 +09:00
Tadashi G. Takaoka
b1807d0bc7
Fix keyboard layout unit test
...
This is a followup of I065824f3fa.
Bug: 6911143
Change-Id: I47de962f9fbcfd8bbcd3af2f8005538322ffb932
2014-07-07 18:35:28 +09:00
Tadashi G. Takaoka
013ea9d57a
Merge "Add Bengali keyboard layout"
2014-07-02 21:09:42 +00:00
Tadashi G. Takaoka
0205fb220d
Add Bengali keyboard layout
...
This is a preliminary keyboard layout.
Bug: 10028755
Change-Id: I365fb8e942a60d4b690a4af95fcd35bf73fffbe4
2014-07-04 20:59:37 +09:00
Keisuke Kuroyanagi
bb843eb223
Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.
...
Bug: 14425059
Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
2014-07-07 13:07:57 +09:00
Yohei Yukawa
c4571a2e29
Merge "Add compatibility utility class for LocaleSpan"
2014-07-02 19:52:36 +00:00
Yohei Yukawa
a92fead202
Add compatibility utility class for LocaleSpan
...
This is a groundwork for enabling LocaleSpan support.
LocaleSpan is available in API Level 17 and later. We need some
abstraction layer as usual.
BUG: 16029304
Change-Id: Iead1afdc540216edb1b17f91a40d9edb2e790168
2014-07-04 20:31:34 +09:00
Yohei Yukawa
73065b778c
Remove dead code to fix test failure due to NoSuchMethodError
...
This CL removes following methods from StringUtils, which are
no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3.
- #joinCommaSplittableText
- #appendToCommaSplittableTextIfNotExists
BUG: 16000850
Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
2014-07-04 19:12:14 +09:00
Yohei Yukawa
3895d7f8dc
Additional subtype ID should be independent of OS-version
...
This CL consolidates the initialization logic for additional
subtypes so that each additional subtypes can have predictable
subtype ID regardless of OS version.
Previously subtype IDs for additional subtypes are calculated
differently depending on the running OS version with hoping it
minimizes the risk of compatibility issues. However, it is
getting harder and harder to maintain slightly different
logic between OSes. Thus we decided to unify the logic into
that in KitKat even though it may causes some breaking changes.
Note that the actual extra values that are used to instantiate
InputMethodSubtype object are still determined on the fly
depending on the running OS version. However these actual
extra values are no longer used for the subtype ID calculation.
BUG: 16000850
Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
2014-07-04 15:08:58 +09:00
Jean Chalard
e063e1b218
Merge "Fix a unit test"
2014-06-26 23:14:30 +00:00
Jean Chalard
fa4c59f9b6
Fix a unit test
...
When switching languages, we need to wait until the dictionary is
loaded to compute suggestions.
Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f
2014-07-01 18:19:11 +09:00
Jean Chalard
292deb632c
[SD7] Actually check for script.
...
...also implement the check for Hebrew and Arabic.
Bug: 15840116
Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
2014-07-01 15:01:22 +09:00
Jean Chalard
20c89b1cf5
[SD5(2)] Remove useless args
...
Bug: 15840116
Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa
2014-07-01 13:34:25 +09:00
Jean Chalard
3fb5a541a4
Fix tests
...
Change-Id: I12ba56d021b50c03dc62e3f3c8db3ecada2f6a4b
2014-06-30 15:25:31 +09:00
Ken Wakasa
92223c04de
Merge "Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.""
2014-06-26 23:14:58 +00:00
Ken Wakasa
4569a734ad
Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."
...
This reverts commit ba463c9a66
that broke the dicttool build.
Bug: 14425059
Change-Id: Ie1685587104d26e4416624747c97f6087c13388a
2014-06-27 15:07:07 +00:00
Keisuke Kuroyanagi
ba463c9a66
Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.
...
Bug: 14425059
Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6
2014-06-27 18:08:17 +09:00
Keisuke Kuroyanagi
1c2f1ada83
Find multiple previous word information to support n-gram.
...
Bug: 14425059
Change-Id: Ieace636334a9b2a094527341d4fcfc05958296c5
2014-06-27 17:59:21 +09:00
Keisuke Kuroyanagi
1a2f3c4433
Merge "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."
2014-06-26 23:14:30 +00:00
Keisuke Kuroyanagi
17c5a388d6
Merge "Find multiple previous word information to support n-gram."
2014-06-26 23:14:58 +00:00
Tadashi G. Takaoka
8f70552a21
Add preliminary subtypes disabled for L-preview
...
Bug: 13966540
Bug: 13779052
Bug: 10028772
Bug: 7963632
Change-Id: Ieec809f2d391e90b1ec547a3a89e929db47a5ed1
2014-06-27 16:26:23 +09:00
Tadashi G. Takaoka
00da6ee5e8
Add Sinhala keyboard layout
...
Bug: 6911143
Change-Id: I9ff87ece3e68381c0e9855106e7320c227f09965
2014-06-27 16:16:30 +09:00
Keisuke Kuroyanagi
92827b0712
Merge "Make PrevWordsInfo have multiple words' information."
2014-06-24 01:52:26 +00:00
Keisuke Kuroyanagi
e708b1bc2e
Make PrevWordsInfo have multiple words' information.
...
Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
2014-06-25 14:14:37 +09:00
Keisuke Kuroyanagi
0aef59746c
Make Beginning-of-Sentence prediction require two exposures.
...
Bug: 15868192
Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba
2014-06-25 20:20:44 +09:00
Keisuke Kuroyanagi
52cef13211
Fix: unit tests by clearing personalized dicts
...
Bug: 14119293
Change-Id: I61cc05fb09342103f453ba83709c6be68d2f695e
2014-06-25 11:40:29 +09:00
Keisuke Kuroyanagi
702e153fbc
Merge "Support migration/dump of Beginning-of-Sentence entries."
2014-06-24 01:59:00 +00:00
Keisuke Kuroyanagi
88fa47a27d
Support migration/dump of Beginning-of-Sentence entries.
...
Bug: 14119293
Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
2014-06-24 12:37:07 +09:00
Jean Chalard
bfea7dec1a
Add a test for Armenian periods.
...
Bug: 11463389
Change-Id: Ic1a612bd6b2693369a1688e6a2273cff26fbe6d1
2014-06-18 17:45:53 +09:00
Keisuke Kuroyanagi
17f03583c8
Merge "Add a method to update contextual dictionary."
2014-06-10 22:31:57 +00:00
Keisuke Kuroyanagi
356539699a
Add a method to update contextual dictionary.
...
Bug: 14161647
Change-Id: I2111f841c94e31d62b670da4236fc738df03a708
2014-06-16 17:00:12 +09:00
Keisuke Kuroyanagi
e041bfab5c
Update unit test for beginning-of-sentence.
...
Bug: 14119293
Change-Id: I594a1ca1096f0c12c678dd30eb75de905e55c5bb
2014-06-12 16:07:39 +09:00
Jean Chalard
4863a06544
Special case periods in the spell checker
...
Special case <valid word>.<valid word> to send as a suggestion
the same string where the periods is replaced by a space.
Bug: 10780091
Change-Id: I43c94675977f9ab5d7ee5671486cb742b39f3974
2014-06-10 19:52:58 +09:00
Jean Chalard
e689d37f72
Remove a useless method
...
Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1
2014-06-10 12:47:55 +09:00
Jean Chalard
367c199de1
Remove mPrevWordsInfo
...
This member has outlived its usefulness. It's not clear now that it
makes things really faster, but it does bring a lot of complexity
that we can avoid by removing it.
Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721
2014-06-10 12:07:51 +09:00
Tadashi G. Takaoka
f4d3a6a31a
Merge "Make keyboard theme test robust"
2014-06-09 03:12:40 +00:00
Keisuke Kuroyanagi
bdf745da32
Check isInDictionary() before the distracter test.
...
Bug: 13142176
Bug: 15428247
Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e
2014-06-09 11:43:45 +09:00
Tadashi G. Takaoka
f671725520
Make keyboard theme test robust
...
Change-Id: I2547c8af6fa73e646f697cb4450140859d87625e
2014-06-09 11:14:40 +09:00
Keisuke Kuroyanagi
1910392eed
Add Dictionary.isInDictionary().
...
Bug: 13142176
Bug: 15428247
Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
2014-06-09 11:04:28 +09:00
Keisuke Kuroyanagi
166d8c2293
Make Distracter filter use getMaxFrequencyOfExactMatches().
...
Bug: 13142176
Bug: 15428247
Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b
2014-06-06 19:38:44 +09:00
Keisuke Kuroyanagi
d9b8602f48
Implement getMaxProbabilityOfExactMatches().
...
Bug: 13142176
Bug: 15428247
Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54
2014-06-06 17:37:46 +09:00