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
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
Tadashi G. Takaoka
3ca65c8fd5
Remove unused supportsSwitchingToShortcutIme attribute
...
Change-Id: I51c5247ac925a158facb79057f704b763b903552
2014-06-06 13:11:57 +09:00
Tadashi G. Takaoka
c5dc740673
Add action key test for Lxx theme
...
Change-Id: I849cec7deb5607e8ce8fb25c1f903f15328fb611
2014-06-06 12:56:57 +09:00
Jean Chalard
07706dc347
Merge "Refactoring"
2014-06-04 07:43:31 +00:00
Jean Chalard
4a1113b6b0
Refactoring
...
Rename `initialize' to `start' and `deactivate' to `stop' for ease
of understanding. It's completely bizarre that you can "deactivate"
a recapitalization and that will just restart a new one the next time
you press shift. Start and stop are easier to understand.
Change-Id: I455175aebfcfe11198c6c61bf2c6b19efc3f82df
2014-06-04 16:29:29 +09:00
Tadashi G. Takaoka
dc62c711aa
Reorder keys around the spacebar
...
This CL reorders keys around the spacebar.
- On phone's symbols and symbols shift layout, the comma key is moved
to the left of the spacebar to aligned with main layout.
- On tablet's layout, the comma key is moved to the left of the
spacebar on all layout to aligned with the same layout of
phone's. Also the comma key has "settings" as more keys.
- In Arabic and Perisan, the comma key of tablet already has some more keys
This CL remove "/" and add "settings" instead.
Bug: 15281451
Change-Id: I6e0e75e4d4abfb1f356e7499be91424c7c57c58b
2014-06-04 00:45:25 +09:00
Keisuke Kuroyanagi
8f71fab2ed
Make prevWord = null if the next word starts from a connector.
...
This fixes PunctuationTests#
testAutoCorrectionWithSingleQuotesAround.
Bug: 14119293
Bug: 15334309
Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
2014-05-30 20:30:17 +09:00
Jean Chalard
d0d3d813d2
Fix tests
...
DEBUG in LatinIME has been changed by Ie52007dc to mean both
DebugSettings.PREF_DEBUG_MODE and Settings.PREF_KEY_IS_INTERNAL
instead of just DEBUG_MODE as used to be the case. Tests depend
on the debug mode to test many things and they make sure they run
in debug mode or they fail. This has tests understand the change in
policy.
Change-Id: Ie9f29e6a1d85e19704c8940d3fcf97c13c3dbaa6
2014-05-29 22:15:56 +09:00
Keisuke Kuroyanagi
c4a3b9f0d6
Merge "Remove PrioritizedSerialExecutor."
2014-05-29 08:52:23 +00:00
Jean Chalard
944923f266
Fix: too many calls to getSuggestedWordsForTypingInput
...
This reverts commit d941ea18
and builds on it to fix the behavior
of the broken cases.
It also fixes a small, related bug that probably has existed for
a very long time: predictions not displayed when cancelling
double-space-to-period.
Bug: 15148015
Change-Id: I1f9358f8b6f5804f831643611576be347e83999d
2014-05-29 17:36:46 +09:00
Keisuke Kuroyanagi
94f88b4881
Remove PrioritizedSerialExecutor.
...
Bug: 15320560
Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
2014-05-29 17:36:32 +09:00
Keisuke Kuroyanagi
b9a3775203
Merge "Add PersonalizationDictionaryTests."
2014-05-29 07:37:47 +00:00
Keisuke Kuroyanagi
8d0a0d1f3e
Add PersonalizationDictionaryTests.
...
Bug: 11778342
Change-Id: Ice88f439ae11714e5ec9dd3b7616d0c2d59ea812
2014-05-29 16:33:21 +09:00
Tadashi G. Takaoka
262b1e7518
Merge "Remove researcher logger"
2014-05-29 07:30:16 +00:00
Tadashi G. Takaoka
bbf556e8e1
Remove researcher logger
...
This CL must be checked in together with I5cc76807e3.
Bug: 15318007
Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
2014-05-29 15:10:28 +09:00
Jean Chalard
2381b8cfdc
Disable a test that fails for an unknown reason
...
It works when tested on the actual device, and on some versions
of the platform. Until we know what's wrong with resource loading
when running under the test harness, we need to disable this test.
Change-Id: I2d7ed9db940b9b73739de8325665bdafb6af58cb
2014-05-29 14:02:44 +09:00
Keisuke Kuroyanagi
b1e43d58a6
Merge "Stop directly checking SuggestedWordInfo.mKind"
2014-05-28 11:52:00 +00:00
Keisuke Kuroyanagi
4bffac6db9
Stop directly checking SuggestedWordInfo.mKind
...
Bug: 15298959
Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f
2014-05-28 20:35:45 +09:00