Commit Graph

8816 Commits (d0d728ebdaabe5f66ef0601cfeb44e72022533c6)

Author SHA1 Message Date
Keisuke Kuroyanagi 07fe099765 am d00e4865: am 126d758c: Merge "Quit blocking getSuggestion during GC."
* commit 'd00e48656b02ff49fc834ed6762dc194d00b42ad':
  Quit blocking getSuggestion during GC.
2013-10-09 17:53:34 -07:00
Jean Chalard 645d992786 am bff2d14d: am 74730a46: Merge "Create the wiring for auto-commit confidence computation."
* commit 'bff2d14d1caf4d70f8c1fdcbbf8e9b41209a3e94':
  Create the wiring for auto-commit confidence computation.
2013-10-09 17:53:32 -07:00
Jean Chalard e9631bcda4 am 0152ff53: Merge "Update dictionaries"
* commit '0152ff53a261e1b8dd2a876120480cc103b7a799':
  Update dictionaries
2013-10-08 04:39:19 -07:00
Jean Chalard 0152ff53a2 Merge "Update dictionaries" 2013-10-08 11:36:35 +00:00
Satoshi Kataoka db7513bb25 am a701501c: Merge "Reduce memory of emoji palette"
* commit 'a701501cb67127f6a144f9cdbd62b8a97f37856f':
  Reduce memory of emoji palette
2013-10-08 04:27:13 -07:00
Satoshi Kataoka a701501cb6 Merge "Reduce memory of emoji palette" 2013-10-08 11:22:21 +00:00
Satoshi Kataoka 0e01df9baf Reduce memory of emoji palette
Bug: 10902556
Change-Id: I3c8da35a601de2bfb248292c7b59235fc1120988
2013-10-08 20:11:35 +09:00
Jean Chalard b1eedc6ba0 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1381130519 <=> 1381226409
  version : 41 <=> 42
Body :
Added: haha 45

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1380293342 <=> 1381226409
  version : 40 <=> 42
Body :
Added: haha 45

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1380293363 <=> 1381226429
  version : 40 <=> 42
Body :
Added: haha 45

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1380519383 <=> 1381226409
  version : 40 <=> 42
Body :
Freq changed: haha 0 -> 30

>>> java/res/raw/main_en.dict
Header :
  date : 1380293363 <=> 1381226429
  version : 40 <=> 42
Body :
Added: haha 45

>>> java/res/raw/main_fr.dict
Header :
  date : 1380519383 <=> 1381226409
  version : 40 <=> 42
Body :
Freq changed: haha 0 -> 30

Bug: 11114205
Change-Id: I39d429d24d93ee07a70d8613ce0752432b26acc4
2013-10-08 10:34:56 +00:00
Jean Chalard 17bec5cb1c am 92190d9a: Merge "Show the keyboard earlier when rotating."
* commit '92190d9a756b7bad95648075828b23e61340358d':
  Show the keyboard earlier when rotating.
2013-10-08 03:15:55 -07:00
Jean Chalard 92190d9a75 Merge "Show the keyboard earlier when rotating." 2013-10-08 10:14:41 +00:00
Satoshi Kataoka 67aa1a93f8 am 2d3e1210: Fix memory leak in EmojiPaletteView
* commit '2d3e121014a97b7de90f287f1ef82fa98f37007c':
  Fix memory leak in EmojiPaletteView
2013-10-08 03:12:41 -07:00
Satoshi Kataoka 2d3e121014 Fix memory leak in EmojiPaletteView
Bug: 10902556
Change-Id: I3a8c1e08d6f953b462d914acd1f411c36f9d80f2
2013-10-08 19:05:00 +09:00
Ken Wakasa 87f0603380 am d900b90d: Merge "Prep for RAM footprint optimization for Emoji palettes"
* commit 'd900b90db7d411c8cfc8ff9e41518bf98f50daff':
  Prep for RAM footprint optimization for Emoji palettes
2013-10-08 01:36:46 -07:00
Ken Wakasa d900b90db7 Merge "Prep for RAM footprint optimization for Emoji palettes" 2013-10-08 08:11:53 +00:00
Ken Wakasa 8cf2a5e59f Prep for RAM footprint optimization for Emoji palettes
bug: 10902556
Change-Id: I313948c73b60cd33c437cf02e8d3fb61c288a240
2013-10-08 17:09:24 +09:00
Jean Chalard 482aa129e4 Show the keyboard earlier when rotating.
Bug: 11107229
Change-Id: I0b36341d60b634a860eb13fafd0dc69fe734bdeb
2013-10-08 16:33:27 +09:00
Jean Chalard 620017028c am 36c56cae: Merge "Make the sentence separator a resource."
* commit '36c56caee3049737a55e2421bf9e3727c4936f24':
  Make the sentence separator a resource.
2013-10-07 23:45:52 -07:00
Jean Chalard 10581e68af Make the sentence separator a resource.
This will help handing correctly the armenian full stop.

Bug: 10082781
Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
2013-10-08 15:28:43 +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 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 e6e4c70a23 Fix build
Change-Id: I61341aa7b1ceb311aaa5faa5888ba31e463a95d5
2013-10-07 12:48:14 +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 f96391aee0 Import translations. DO NOT MERGE
Change-Id: I15036545751abe751f2768daef7f3f1605a5457e
Auto-generated-cl: translation import
2013-10-04 22:59:25 -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
Baligh Uddin a9a54bb4cd Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-10-04 16:55:51 +00:00
Baligh Uddin 2b361d95a6 Import translations. DO NOT MERGE
Change-Id: I50e530351c75746759fefc4113c4f881755405ec
Auto-generated-cl: translation import
2013-10-04 09:03:13 -07:00
Jean Chalard 73ca0f2cec am 423921ca: Merge "Fallback on empty locales."
* commit '423921ca131dd1f330599063d34acd714889edf1':
  Fallback on empty locales.
2013-10-04 06:47:34 -07:00
Jean Chalard 423921ca13 Merge "Fallback on empty locales." 2013-10-04 13:44:44 +00:00
Jean Chalard c5f7d74b2b am 5db7eaba: Merge "Accept double-space-period after emoji."
* commit '5db7eabafb75a595403309b74c86cba5d4d5486f':
  Accept double-space-period after emoji.
2013-10-04 06:08:34 -07:00
Jean Chalard 5db7eabafb Merge "Accept double-space-period after emoji." 2013-10-04 13:05:43 +00:00
Jean Chalard 43a8a0c527 Fallback on empty locales.
This is a very rare corner case.

Bug: 11072132
Change-Id: Iad2aa69511f7dc99105284a049c63f2f997b8ef0
2013-10-04 22:04:59 +09:00
Jean Chalard 8142fd83a6 Accept double-space-period after emoji.
This also includes a fix that allows this code to read surrogate
pairs in this processing.

Bug: 11070482
Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
2013-10-04 22:01:36 +09:00
Satoshi Kataoka 3bf2c59881 am 1d188a28: Merge "Fix emoji"
* commit '1d188a28fb0930217098fef10937674e24ca5a49':
  Fix emoji
2013-10-04 05:02:12 -07:00
Satoshi Kataoka 1d188a28fb Merge "Fix emoji" 2013-10-04 12:00:39 +00:00
Satoshi Kataoka 0cf92aa826 Fix emoji
Bug: 10538430

Change-Id: Ib11e29794216b54001806ab12fe440d157243dc1
2013-10-04 20:58:09 +09:00
Satoshi Kataoka 664f11f2ff am 0b288985: Merge "Fix emoji recent key behavior"
* commit '0b288985b7e6a74f94943f15be6d6d55d6cca872':
  Fix emoji recent key behavior
2013-10-04 04:31:32 -07:00
Satoshi Kataoka 0b288985b7 Merge "Fix emoji recent key behavior" 2013-10-04 11:18:07 +00:00
Satoshi Kataoka e7ed5cae44 Fix emoji recent key behavior
Bug: 10538430
Change-Id: I91e03a8e7914628cdc8e57c124c95e5e6e8ea2a6
2013-10-04 20:01:00 +09:00
Ken Wakasa f330de9526 am c01707db: Merge "Suppress exceptions that have always been happening."
* commit 'c01707db03c124ecab0c8ba14b4e4f2d24c973c9':
  Suppress exceptions that have always been happening.
2013-10-04 03:15:40 -07:00
Ken Wakasa c01707db03 Merge "Suppress exceptions that have always been happening." 2013-10-04 10:13:53 +00:00
Ken Wakasa fba1bd0ec4 Suppress exceptions that have always been happening.
Change-Id: I5f85a7a0f94ea9ecbe0c4a8caebcf551fa9c9669
2013-10-04 19:10:26 +09:00
Ken Wakasa e6a6402258 am 676bb517: Merge "Add Ver4DictUpdater."
* commit '676bb517ed7cf137c084a861ab0c2a88dd7a6452':
  Add Ver4DictUpdater.
2013-10-04 02:49:55 -07:00
Ken Wakasa d5c90d9d8b am 618158e6: Merge "Refactor BinaryDictIOUtilsTests."
* commit '618158e675c27854b0ab2cb53ec2eb2837a593c0':
  Refactor BinaryDictIOUtilsTests.
2013-10-04 02:49:52 -07:00
Ken Wakasa 676bb517ed Merge "Add Ver4DictUpdater." 2013-10-04 09:48:27 +00:00
Ken Wakasa 618158e675 Merge "Refactor BinaryDictIOUtilsTests." 2013-10-04 09:47:35 +00:00
Satoshi Kataoka 3944a67c32 am 6ec0cf12: Merge "Tentatively revert assets"
* commit '6ec0cf12b8f3dab05c48c81b1c0aaf5430d58c44':
  Tentatively revert assets
2013-10-04 02:18:45 -07:00
Satoshi Kataoka 6ec0cf12b8 Merge "Tentatively revert assets" 2013-10-04 09:17:12 +00:00
Satoshi Kataoka 0b4d75c2fa Tentatively revert assets
Change-Id: I403fc24a407fdd3b433d5820f1b46e6985cbe83e
2013-10-04 18:09:03 +09:00
Yuichiro Hanada e4e0add9fb Add Ver4DictUpdater.
Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
2013-10-04 17:33:29 +09:00
Satoshi Kataoka f4aa9a7bd7 Do not merge. Revert emoji key position to JB-mr2
Cherry pick of Ie2033b2f5253b2e2

Bug: 10954182
Change-Id: I9cc61e27a207055d5a43fe3da6fd1ec63bae49fd
2013-10-04 16:38:54 +09:00
Yuichiro Hanada 10100b2c52 am 14d31d46: Add AbstractDictDecoder.
* commit '14d31d464037c31e7f7d382a8a86f6acf4694b06':
  Add AbstractDictDecoder.
2013-10-03 22:21:44 -07:00
Yuichiro Hanada 75d60e821c Refactor BinaryDictIOUtilsTests.
Change-Id: I2208378b33038771b460abb33f9a690872e998e2
2013-10-04 14:19:13 +09:00
Yuichiro Hanada 14d31d4640 Add AbstractDictDecoder.
Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7
2013-10-04 14:16:59 +09:00
Ken Wakasa 73ddd40419 am 78409cd9: Merge "Separate shortcut targets from the trie file."
* commit '78409cd9409f5d5bc706718a5a50963596810716':
  Separate shortcut targets from the trie file.
2013-10-03 22:15:15 -07:00
Ken Wakasa 78409cd940 Merge "Separate shortcut targets from the trie file." 2013-10-04 05:12:55 +00:00
Satoshi Kataoka eb0526a9c3 am ef64676b: Merge "Revert emoji key position to JB-mr2"
* commit 'ef64676bf8e843e0f5c3b8ed1ad409219da3493a':
  Revert emoji key position to JB-mr2
2013-10-03 21:24:35 -07:00
Satoshi Kataoka ef64676bf8 Merge "Revert emoji key position to JB-mr2" 2013-10-04 02:30:26 +00:00
Satoshi Kataoka 5a54a5769c Revert emoji key position to JB-mr2
Bug: 10538430

Change-Id: Ie2033b2f5253b2e2fc2229ba6c95568e7b2a58fa
2013-10-04 11:21:51 +09:00
Yuichiro Hanada 73b9d3b879 Separate shortcut targets from the trie file.
Bug: 10920165
Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8
2013-10-04 11:16:10 +09:00
Alan Viverette f6c2a0fe59 am afa56511: Merge "Update string comments for translation"
* commit 'afa565119cd3e8fd7f92ee22033932fc8e8d47d4':
  Update string comments for translation
2013-10-03 13:37:51 -07:00
Alan Viverette afa565119c Merge "Update string comments for translation" 2013-10-03 20:34:24 +00:00
Keisuke Kuroyanagi f28ca53b33 am 864ee881: Merge "Fix UserHistoryDictionaryTests."
* commit '864ee881bd2f4a5dbde8f31c68e7f89522c67db6':
  Fix UserHistoryDictionaryTests.
2013-10-03 05:04:10 -07:00
Keisuke Kuroyanagi 864ee881bd Merge "Fix UserHistoryDictionaryTests." 2013-10-03 12:02:34 +00:00
Keisuke Kuroyanagi 11f7cae094 Fix UserHistoryDictionaryTests.
Bug: 6669677
Bug: 10667710

Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
2013-10-03 20:55:34 +09:00
Yuichiro Hanada be7db63ad9 am 3dd77a6d: Add SparseTableContentWriter to Ver4DictEncoder.
* commit '3dd77a6d6696bb426b200b27adeb8be7e887a667':
  Add SparseTableContentWriter to Ver4DictEncoder.
2013-10-03 04:35:34 -07:00
Yuichiro Hanada 8e19d4a120 am d6e307a4: Add DictUpdater.
* commit 'd6e307a4b7933ad5efebc6b0d3b775c5ab5c0e6e':
  Add DictUpdater.
2013-10-03 04:32:12 -07:00
Yuichiro Hanada 3dd77a6d66 Add SparseTableContentWriter to Ver4DictEncoder.
Bug: 10920165
Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b
2013-10-03 20:31:01 +09:00
Yuichiro Hanada d6e307a4b7 Add DictUpdater.
Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
2013-10-03 20:16:34 +09:00
Satoshi Kataoka 5fbd356a73 am 85607c59: Merge "Fix the subtype id of the additional subtypes"
* commit '85607c59651ed2341265253d5ab7cd9f5326e7f1':
  Fix the subtype id of the additional subtypes
2013-10-03 00:46:45 -07:00
Satoshi Kataoka 85607c5965 Merge "Fix the subtype id of the additional subtypes" 2013-10-03 07:45:24 +00:00
Satoshi Kataoka 9ecdb831db Fix the subtype id of the additional subtypes
Bug: 11032428
Change-Id: I5d422f1c15a582015770ef9a652348ca6eb8ab85
2013-10-03 16:41:13 +09:00