Jean Chalard
ca9c3c0613
Fix a possible IOOB
...
We want to use StringUtils here, but it's full of references to
stuff not accessible host-side like JsonReader and TextUtils
and SettingsValues :/
Bug: 11061476
Change-Id: I3c0194979833ede283b4f9190335dba5376fe6fc
2013-10-07 23:16:57 +09:00
Jean Chalard
3c4e8cb693
Call loadKeyboard later if it can't be called right away
...
Since loadKeyboard relies on the input connection being
available to give it the auto-caps state, but also can't
be called twice in a row because it needs to save and
restore its state and invalidates it after the restore,
we need to wait until we know we have a valid input
connection to call it.
Bug: 11107229
Change-Id: I1c7baf3215682df6f6ceb357bd37254f9e7418c7
2013-10-07 22:57:59 +09:00
Satoshi Kataoka
4a0af2cbba
am 291ef1c9: Merge "Clear the cache of subtypes in onStartInputViewInternal"
...
* commit '291ef1c9c304bc6eae352e08f4ca86854853ee29':
Clear the cache of subtypes in onStartInputViewInternal
2013-10-07 04:35:25 -07:00
Satoshi Kataoka
291ef1c9c3
Merge "Clear the cache of subtypes in onStartInputViewInternal"
2013-10-07 11:19:47 +00:00
Satoshi Kataoka
4be5f221e6
Clear the cache of subtypes in onStartInputViewInternal
...
Bug: 11077905
Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59
2013-10-07 20:10:58 +09:00
Jean Chalard
0675d37487
am 86f77114: Merge "Don\'t auto-correct to non-whitelist shortcuts"
...
* commit '86f7711407b65c341b38a9fb297c3e5f0532da26':
Don't auto-correct to non-whitelist shortcuts
2013-10-07 03:06:26 -07:00
Jean Chalard
86f7711407
Merge "Don't auto-correct to non-whitelist shortcuts"
2013-10-07 10:04:18 +00:00
Jean Chalard
d44b249043
am a6047aae: Merge "Set the shortcut frequency correctly."
...
* commit 'a6047aae941e0723367fa9c52157271eb405b6fb':
Set the shortcut frequency correctly.
2013-10-07 03:02:06 -07:00
Jean Chalard
f309f2288b
Don't auto-correct to non-whitelist shortcuts
...
Bug: 11076722
Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
2013-10-07 19:01:57 +09:00
Jean Chalard
a6047aae94
Merge "Set the shortcut frequency correctly."
2013-10-07 10:00:34 +00:00
Jean Chalard
f3204eebb1
Set the shortcut frequency correctly.
...
14 is the right value.
Bug: 11076722
Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
2013-10-07 18:55:42 +09:00
Keisuke Kuroyanagi
eafff65bbe
am be4d85fe: Merge "Fix bug and Add large test for decaying dictionary."
...
* commit 'be4d85feb0b7aa65c9c0f09affe2583eb837cc2b':
Fix bug and Add large test for decaying dictionary.
2013-10-07 02:36:31 -07:00
Keisuke Kuroyanagi
be4d85feb0
Merge "Fix bug and Add large test for decaying dictionary."
2013-10-07 09:32:56 +00:00
Jean Chalard
93622c4fe0
am 69d10385: Merge "Update en_GB dictionary"
...
* commit '69d103854deb62ecec078d7a595e5e924519b55d':
Update en_GB dictionary
2013-10-07 02:06:16 -07:00
Jean Chalard
69d103854d
Merge "Update en_GB dictionary"
2013-10-07 09:03:52 +00:00
Jean Chalard
0ce97695dc
Update en_GB dictionary
...
Header :
date : 1380293342 <=> 1381130519
version : 40 <=> 41
Body :
Added: filter 115
Bug: 11076171
Change-Id: I4e88b38b61b794c58b645f7b39e28524d979caba
2013-10-07 17:58:38 +09:00
Jean Chalard
dff8229925
am 7da62bbe: Merge "Remove suggestions when string contains a period"
...
* commit '7da62bbe24e86ba95cab95cb5f10023ea07c08c5':
Remove suggestions when string contains a period
2013-10-07 01:38:22 -07:00
Satoshi Kataoka
6a83a87569
am 47462172: Enter -> Alpha keyboard switcher in Emoji palette view
...
* commit '4746217247d14f26249217aab28215e9c6867614':
Enter -> Alpha keyboard switcher in Emoji palette view
2013-10-07 01:38:19 -07:00
Satoshi Kataoka
192414a4b1
am 32cf6f85: Show Emoji key by longpressing the enter key
...
* commit '32cf6f85a2e166f8a43d9bccd4ddefa0b7167cd1':
Show Emoji key by longpressing the enter key
2013-10-07 01:38:17 -07:00
Jean Chalard
7da62bbe24
Merge "Remove suggestions when string contains a period"
2013-10-07 08:34:52 +00:00
Keisuke Kuroyanagi
cfb018ba6d
Fix bug and Add large test for decaying dictionary.
...
- GC gets failure when the dictionary become empty.
- Useless unigrams are sometimes not removed.
Bug: 10197478
Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
2013-10-07 17:31:01 +09:00
Jean Chalard
df33982fce
Remove suggestions when string contains a period
...
This is not the right way to do it, but it's simple and will kill the
regression. We should investigate why the return values are
wrong in this case.
Bug: 10780091
Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
2013-10-07 17:27:27 +09:00
Satoshi Kataoka
4746217247
Enter -> Alpha keyboard switcher in Emoji palette view
...
Bug: 11103091
Change-Id: I0c5384e9f148566d1ac1d178a8227eb913d59908
2013-10-07 17:05:54 +09:00
Satoshi Kataoka
32cf6f85a2
Show Emoji key by longpressing the enter key
...
Bug: 11074625
Change-Id: I5fc57a2b68d7dcfb8dbebf5821b76b0895a947f9
2013-10-07 16:47:13 +09:00
Satoshi Kataoka
b3ac25f1d9
am 4deb824f: Add navigateEmoji
...
* commit '4deb824f3a91e2e157a3a0334e46b9bba394bc1a':
Add navigateEmoji
2013-10-06 23:35:34 -07:00
Satoshi Kataoka
4deb824f3a
Add navigateEmoji
...
Bug: 11074625
Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733
2013-10-07 15:28:39 +09:00
Satoshi Kataoka
8822a52c3f
am 287c739d: Merge "Fix build"
...
* commit '287c739db9715222733af18b5e575f0bba1033bf':
Fix build
2013-10-06 20:51:10 -07:00
Satoshi Kataoka
287c739db9
Merge "Fix build"
2013-10-07 03:49:43 +00:00
Satoshi Kataoka
e6e4c70a23
Fix build
...
Change-Id: I61341aa7b1ceb311aaa5faa5888ba31e463a95d5
2013-10-07 12:48:14 +09:00
Keisuke Kuroyanagi
8b6b9e3367
am 785eed9b: Merge "Parameter optimization."
...
* commit '785eed9be5e3d969823ba5d3a80121a2acdb8d83':
Parameter optimization.
2013-10-06 20:43:44 -07:00
Keisuke Kuroyanagi
785eed9be5
Merge "Parameter optimization."
2013-10-07 03:42:29 +00:00
Keisuke Kuroyanagi
15b1a0fd14
Parameter optimization.
...
[Category diff]
+1 194
-1 21
+2 15
-2 1
+3 1
-3 15
+4 152
-4 90
+5 108
-5 197
+6 94
-6 136
+7 28
-7 132
[Weighted category diff]
+1 230
-1 23
+2 15
-2 1
+3 1
-3 15
+4 180
-4 106
+5 122
-5 224
+6 107
-6 158
+7 29
-7 157
show diff for ./en_user_log_phones_2011_08.csv
+1 171
-1 9
+2 7
-2 1
+3 1
-3 7
+4 123
-4 76
+5 84
-5 157
+6 66
-6 119
+7 20
-7 103
Before
---- count ----
Count(1):75.64%, 177913
Count(2):1.06%, 2510
Count(3):0.56%, 1319
Count(4):6.63%, 15612
Count(5):9.87%, 23223
Count(6):2.79%, 6580
Count(7):3.41%, 8038
---- weight ----
Weight(1):96.88%, 2009907
Weight(2):0.24%, 5157
Weight(3):0.09%, 2025
Weight(4):0.77%, 16095
Weight(5):1.11%, 23077
Weight(6):0.39%, 8172
Weight(7):0.48%, 10146
---- score ----
Conservative score = 66.406
Normal score = 81.512
Agressive score = 89.064
Insane score = 92.841
After
---- count ----
Count(1):75.71%, 178087
Count(2):1.07%, 2524
Count(3):0.55%, 1305
Count(4):6.66%, 15677
Count(5):9.83%, 23133
Count(6):2.78%, 6539
Count(7):3.37%, 7930
---- weight ----
Weight(1):96.89%, 2010118
Weight(2):0.24%, 5171
Weight(3):0.09%, 2011
Weight(4):0.78%, 16184
Weight(5):1.1%, 22972
Weight(6):0.39%, 8109
Weight(7):0.48%, 10014
---- score ----
Conservative score = 66.431
Normal score = 81.531
Agressive score = 89.08
Insane score = 92.855
No diffs for 10+ freq user log.
Change-Id: Ica4a7604507a2c91aaa7daf5bacf4fce4039f547
2013-10-07 12:39:51 +09:00
Satoshi Kataoka
6f726f6fff
am d76b5529: Rename EmojiKeyboardView -> EmojiPalettesView
...
* commit 'd76b55297940a65bb9479020a9ed58aa978a0aea':
Rename EmojiKeyboardView -> EmojiPalettesView
2013-10-06 20:35:15 -07:00
Satoshi Kataoka
d76b552979
Rename EmojiKeyboardView -> EmojiPalettesView
...
Change-Id: I226bb8e21fd2b2b6639896a1cc433d19f3f431c2
2013-10-07 12:28:13 +09:00
Baligh Uddin
7b8c9dd0b0
am a8f4efd0: (-s ours) am 069b185d: (-s ours) am 0de11871: (-s ours) am b2ffcd64: (-s ours) Import translations. DO NOT MERGE
...
* commit 'a8f4efd0132592c34ab87b6a3cf6ce1baa0f522d':
Import translations. DO NOT MERGE
2013-10-06 18:23:03 -07:00
Baligh Uddin
a8f4efd013
am 069b185d: (-s ours) am 0de11871: (-s ours) am b2ffcd64: (-s ours) Import translations. DO NOT MERGE
...
* commit '069b185d83ed7ab2c96db03aa8271b4bbf34233a':
Import translations. DO NOT MERGE
2013-10-06 18:19:58 -07:00
Baligh Uddin
069b185d83
am 0de11871: (-s ours) am b2ffcd64: (-s ours) Import translations. DO NOT MERGE
...
* commit '0de11871c5569921296a72a56a33bddab1167ed0':
Import translations. DO NOT MERGE
2013-10-06 18:14:51 -07:00
Baligh Uddin
0de11871c5
am b2ffcd64: (-s ours) Import translations. DO NOT MERGE
...
* commit 'b2ffcd6424eaed951302889079773f6a51c9d380':
Import translations. DO NOT MERGE
2013-10-06 18:11:59 -07:00
Baligh Uddin
e9557d4b89
am f645402a: (-s ours) Merge "Import translations. DO NOT MERGE"
...
* commit 'f645402a0797486004c71dd5677f630dde9b7e11':
Import translations. DO NOT MERGE
2013-10-05 21:20:23 -07:00
Baligh Uddin
f645402a07
Merge "Import translations. DO NOT MERGE"
2013-10-06 02:43:10 +00:00
Baligh Uddin
d7e90dad0e
Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
2013-10-06 02:42:46 +00:00
Baligh Uddin
f96391aee0
Import translations. DO NOT MERGE
...
Change-Id: I15036545751abe751f2768daef7f3f1605a5457e
Auto-generated-cl: translation import
2013-10-04 22:59:25 -07:00
Baligh Uddin
b2ffcd6424
Import translations. DO NOT MERGE
...
Change-Id: I6f88694633aa9f39c6b1731ea7634b80d3e3bf69
Auto-generated-cl: translation import
2013-10-04 22:55:10 -07:00
Baligh Uddin
4d4fe3eb5e
Import translations. DO NOT MERGE
...
Change-Id: I04aed3599ff9570197b408a5d16ea48422294f97
Auto-generated-cl: translation import
2013-10-04 22:46:44 -07:00
Qiwen Zhao
e30c888598
am 791a5a6a: am 06ba3ef1: (-s ours) am 551a1c24: reset to klp-dev branch to fix merging problem.
...
* commit '791a5a6a3c8e89fd6c442a8ebac4019ace892276':
2013-10-04 12:59:58 -07:00
Qiwen Zhao
791a5a6a3c
am 06ba3ef1: (-s ours) am 551a1c24: reset to klp-dev branch to fix merging problem.
...
* commit '06ba3ef19fba91dcb9071cadc4b4bd4d0b454366':
2013-10-04 12:57:05 -07:00
Qiwen Zhao
06ba3ef19f
am 551a1c24: reset to klp-dev branch to fix merging problem.
...
* commit '551a1c246ff348353a57ea3be13aa419457923f5':
2013-10-04 12:30:48 -07:00
Satoshi Kataoka
39ccc44b5a
am 6594318e: (-s ours) am 5ce96037: (-s ours) am d03f1793: am f4aa9a7b: Do not merge. Revert emoji key position to JB-mr2
...
* commit '6594318e7db5998c4be634ca0ec957d4115706d3':
Do not merge. Revert emoji key position to JB-mr2
2013-10-04 12:00:19 -07:00
Satoshi Kataoka
6594318e7d
am 5ce96037: (-s ours) am d03f1793: am f4aa9a7b: Do not merge. Revert emoji key position to JB-mr2
...
* commit '5ce9603784423f6dfa4f0654b0b104591f7ac1ae':
Do not merge. Revert emoji key position to JB-mr2
2013-10-04 11:10:43 -07:00
Qiwen Zhao
551a1c246f
reset to klp-dev branch to fix merging problem.
2013-10-04 11:04:56 -07:00