Commit Graph

23756 Commits (13319cb1d887be2f24ff525a8add28da27bb2128)

Author SHA1 Message Date
Baligh Uddin 03b4809729 Import translations. DO NOT MERGE
Change-Id: If76652b1bdfc62f8c8d60ca8d5a8c3b7346e75a3
Auto-generated-cl: translation import
2013-10-07 23:01:43 -07:00
Baligh Uddin 7cbd5d63fc Import translations. DO NOT MERGE
Change-Id: I8dc4664964ed153fc79309d7e70f4a36bfacceb6
Auto-generated-cl: translation import
2013-10-07 22:49:43 -07:00
Keisuke Kuroyanagi 551cc99e44 am 61aae2b4: Merge "Add Ime language switching test."
* commit '61aae2b4500788b5524d9bea4b6f57fc4ca86673':
  Add Ime language switching test.
2013-10-07 22:38:20 -07:00
Keisuke Kuroyanagi 61aae2b450 Merge "Add Ime language switching test." 2013-10-08 05:35:25 +00:00
Keisuke Kuroyanagi 72bc9ad37e Add Ime language switching test.
Change-Id: I6a96dc5fdd533899353d537382608c2759faff1c
2013-10-08 14:00:57 +09:00
Keisuke Kuroyanagi a798a16a42 am 6d3d5395: Merge "Fix a bug: wrong parent position is written when moving."
* commit '6d3d53955e58b180db131458431db46b32d79f5d':
  Fix a bug: wrong parent position is written when moving.
2013-10-07 21:51:16 -07:00
Keisuke Kuroyanagi 6d3d53955e Merge "Fix a bug: wrong parent position is written when moving." 2013-10-08 04:48:53 +00:00
Keisuke Kuroyanagi bf4c72c4d6 am a81d37ee: Merge "Add a large test adding bigrams for decaying dictionary."
* commit 'a81d37eef640ffee430be813fcccf0a448cf7ed0':
  Add a large test adding bigrams for decaying dictionary.
2013-10-07 20:54:41 -07:00
Keisuke Kuroyanagi a81d37eef6 Merge "Add a large test adding bigrams for decaying dictionary." 2013-10-08 03:52:09 +00:00
Keisuke Kuroyanagi 802e6383ea Fix a bug: wrong parent position is written when moving.
Change-Id: I93d33ba9105eb85327108cca5706d8db3399de6a
2013-10-08 12:44:00 +09:00
Keisuke Kuroyanagi a2821fde60 Add a large test adding bigrams for decaying dictionary.
Bug: 10197478
Change-Id: I34d3c21bd7f70885a3031ce91a4d4c4ba3564856
2013-10-08 12:43:58 +09:00
Satoshi Kataoka da9408c8d8 am 984aa60e: Merge "Extend hitbox of emoji keys"
* commit '984aa60e11a160ae712527dcaa1bc837db2e7466':
  Extend hitbox of emoji keys
2013-10-07 16:29:33 -07:00
Satoshi Kataoka 984aa60e11 Merge "Extend hitbox of emoji keys" 2013-10-07 23:27:07 +00:00
Jean Chalard 6e979246be am 7712baa5: Merge "Fix a possible IOOB"
* commit '7712baa59baadccf2da64f8dc5d21621fba860af':
  Fix a possible IOOB
2013-10-07 07:23:12 -07:00
Jean Chalard 9493affce3 am 3c4e8cb6: Call loadKeyboard later if it can\'t be called right away
* commit '3c4e8cb693ce584ea1f87e354430c069cdd3da39':
  Call loadKeyboard later if it can't be called right away
2013-10-07 07:23:09 -07:00
Satoshi Kataoka 5d27cb9397 Extend hitbox of emoji keys
Bug: 11105065
Change-Id: I5e90ba55cf708bf7be27d7d101cbc0719ac583c8
2013-10-07 23:22:12 +09:00
Jean Chalard 7712baa59b Merge "Fix a possible IOOB" 2013-10-07 14:21:00 +00:00
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