Commit graph

33212 commits

Author SHA1 Message Date
Keisuke Kuroyanagi
f36da2fdba Merge "Make dump dictionary settings easily extensible." 2014-06-10 11:08:38 +00:00
Keisuke Kuroyanagi
a20432479d Make dump dictionary settings easily extensible.
This adds "Dump contextual dictionary".

Bug: 14161647
Change-Id: I41a6d6e131d9d8c300ac0120d903d46d88bb3346
2014-06-10 19:59:19 +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
Keisuke Kuroyanagi
8badc761af am 48b00743: Merge "Purge dict reading code for 401 and create for 402."
* commit '48b0074349c47e37045c2d3c8dc5548f22489a7a':
  Purge dict reading code for 401 and create for 402.
2014-06-10 10:33:50 +00:00
Keisuke Kuroyanagi
48b0074349 Merge "Purge dict reading code for 401 and create for 402." 2014-06-10 10:31:05 +00:00
Keisuke Kuroyanagi
07e1412631 Purge dict reading code for 401 and create for 402.
Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb
2014-06-10 19:22:40 +09:00
Keisuke Kuroyanagi
18df192535 Add prefix to the arguments of getDictionary().
Bug: 13630847
Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc
2014-06-10 18:05:10 +09:00
Jean Chalard
afc14deb1b am 2d7feb5a: Merge "Split the sentences into words ourselves"
* commit '2d7feb5ad0131ac70c385278a29aa5503fdfe1eb':
  Split the sentences into words ourselves
2014-06-10 08:45:49 +00:00
Jean Chalard
2d7feb5ad0 Merge "Split the sentences into words ourselves" 2014-06-10 08:18:36 +00:00
Jean Chalard
453e09b052 am 1efc95df: Merge "Update dictionaries"
* commit '1efc95df7d3cd1a990850a6932238701d9e255f4':
  Update dictionaries
2014-06-10 05:37:16 +00:00
Jean Chalard
1efc95df7d Merge "Update dictionaries" 2014-06-10 05:34:03 +00:00
Keisuke Kuroyanagi
61ce0c7ef0 am 1ffb7cd4: Merge "Debug log when failed to add/remove n-gram entry."
* commit '1ffb7cd4481bb7ea6d364a26e658d0b930dd3a1b':
  Debug log when failed to add/remove n-gram entry.
2014-06-10 05:17:35 +00:00
Keisuke Kuroyanagi
1ffb7cd448 Merge "Debug log when failed to add/remove n-gram entry." 2014-06-10 05:14:23 +00:00
Jean Chalard
267a8614a0 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1400639634 <=> 1402373154
  version : 45 <=> 47
Body :
Shortcut added: lust list 15

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1400750526 <=> 1402373154
  version : 45 <=> 47
Body :
Shortcut added: lust list 15

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1400639659 <=> 1402373178
  version : 45 <=> 47
Body :
Shortcut added: lust list 15

>>> java/res/raw/main_en.dict
Header :
  date : 1400639659 <=> 1402373178
  version : 45 <=> 47
Body :
Shortcut added: lust list 15

Bug: 15347469
Change-Id: I35cb410bdb7b641f2f0d4d9bb19a17e3f4eb9c0b
2014-06-10 14:08:32 +09:00
Keisuke Kuroyanagi
354a59dfa4 Debug log when failed to add/remove n-gram entry.
Change-Id: Ibf0a4e01e1abc81b09aec104ba39d2ec18f4db8b
2014-06-10 13:04:57 +09:00
Jean Chalard
307d316f19 am e689d37f: Remove a useless method
* commit 'e689d37f720ef47f24fcfb5dde9c2754dfcd6f45':
  Remove a useless method
2014-06-10 03:57:41 +00:00
Jean Chalard
e689d37f72 Remove a useless method
Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1
2014-06-10 12:47:55 +09:00
Jean Chalard
69e93401f3 am 264afb10: Merge "Remove mPrevWordsInfo"
* commit '264afb10bd9ff63f1c2bf7f3823c601feefe3884':
  Remove mPrevWordsInfo
2014-06-10 03:24:15 +00:00
Jean Chalard
264afb10bd Merge "Remove mPrevWordsInfo" 2014-06-10 03:21:47 +00: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
Baligh Uddin
5f5b5bf6bb Import translations. DO NOT MERGE
Change-Id: I12199bc91f977541d1ca0293bf02ab4f7716041b
Auto-generated-cl: translation import
2014-06-09 17:27:48 -07:00
Baligh Uddin
947055223f Import translations. DO NOT MERGE
Change-Id: I5e5094703d39f8cd24ea51a00007a7ffb5671ac2
Auto-generated-cl: translation import
2014-06-09 17:26:07 -07:00
Tadashi G. Takaoka
0ec60573ef am 874a600d: Add audio and haptic feedback for Emoji and Suggestions
* commit '874a600dc805b6ab9fe92fccddfe4765b8d29a35':
  Add audio and haptic feedback for Emoji and Suggestions
2014-06-10 00:25:19 +00:00
Tadashi G. Takaoka
96af879295 Merge "Revert "Fix build due to auto merged I1b6ed80d85"" into jb-ub-latinimegoogle 2014-06-10 00:23:18 +00:00
Baligh Uddin
47b956e37a Import translations. DO NOT MERGE
Change-Id: I619995358078fd20eb65070a85c78d483521760b
Auto-generated-cl: translation import
2014-06-09 17:22:26 -07:00
Baligh Uddin
9be87abd43 Import translations. DO NOT MERGE
Change-Id: I657fd88fd14ba67f2e6ad0db2d515118ff7abb35
Auto-generated-cl: translation import
2014-06-09 17:21:35 -07:00
Tadashi G. Takaoka
1919fb6f4a Revert "Fix build due to auto merged I1b6ed80d85"
This reverts commit bc4fe8d836.

Bug: 15472289
Change-Id: I106300b39fd5999b77410890da835efb8ce19c7c
2014-06-10 00:19:59 +00:00
Tadashi G. Takaoka
874a600dc8 Add audio and haptic feedback for Emoji and Suggestions
Bug: 15378862
Change-Id: Ia14929bd9eb63ad5735cae0ad98ad0e2ad301128
2014-06-10 09:15:59 +09:00
Ying Wang
fb57fe263c Use LOCAL_MULTILIB to build host lib as 64-bit
Also we should use LOCAL_REQUIRED_MODULES instead of
LOCAL_ADDITIONAL_DEPENDENCIES.

Bug: 13751317
Change-Id: I742ff14b3de168e14e646749cf4f6bc9c9e7bc62
2014-06-09 12:16:30 -07:00
Tadashi G. Takaoka
5ddbe65a51 am d022df49: Merge "Set content descrition of words in suggestions strip"
* commit 'd022df49bd083b3de68463295d04bbcaadb479a6':
  Set content descrition of words in suggestions strip
2014-06-09 13:04:54 +00:00
Tadashi G. Takaoka
d022df49bd Merge "Set content descrition of words in suggestions strip" 2014-06-09 13:01:44 +00:00
Tadashi G. Takaoka
f3c852efad Set content descrition of words in suggestions strip
Bug: 14849593
Change-Id: If020e2352c8e950ce87dc4711c39b8a6a41f66fc
2014-06-09 21:40:36 +09:00
Jean Chalard
bd9e199630 am 43ea8f6e: Merge "Use RichInputConnection to get the previous word."
* commit '43ea8f6e774c46f8285657020d02202e447bba78':
  Use RichInputConnection to get the previous word.
2014-06-09 10:49:45 +00:00
Jean Chalard
43ea8f6e77 Merge "Use RichInputConnection to get the previous word." 2014-06-09 10:47:28 +00:00
Jean Chalard
453711abe2 Use RichInputConnection to get the previous word.
We don't need the optimization of storing the old words now
that the RichInputConnection can supply it without IPC.

Bug: 13703802
Change-Id: I37ccb8d5fba879fb04b4f23d33571849736d897c
2014-06-09 19:43:20 +09:00
Jean Chalard
7a6bc607ca Split the sentences into words ourselves
The framework's default split is not suitable for all
languages. Also it does not perform very well when space
is mistyped as period.

Bug: 9063355
Bug: 10780091
Change-Id: I400d790ff1c29f221697fd94d79bbf67c61c7b8a
2014-06-09 19:38:03 +09:00
Tadashi G. Takaoka
6dd4465d5f am 48b96a6a: Fix TalkBack descriptions of keyboard shift mode transition
* commit '48b96a6a52dab6f3a44adf80b40832d629fe5871':
  Fix TalkBack descriptions of keyboard shift mode transition
2014-06-09 08:45:07 +00:00
Tadashi G. Takaoka
48b96a6a52 Fix TalkBack descriptions of keyboard shift mode transition
Bug: 14846348
Change-Id: I32435a31f919974a506e598d1f3cc1b55a0866ae
2014-06-09 17:28:49 +09:00
Tadashi G. Takaoka
df1464d9a2 am 402e8474: Merge "Use rectangle region to ignore hover events after long press"
* commit '402e8474774d66d102676758e54733602d181236':
  Use rectangle region to ignore hover events after long press
2014-06-09 07:58:24 +00:00
Tadashi G. Takaoka
b5e2da1e6d am 862d7ec3: Merge "Refactor KeyCodeDescriptionMapper class a bit"
* commit '862d7ec32e22a32878114a799bebe2de9080c5bc':
  Refactor KeyCodeDescriptionMapper class a bit
2014-06-09 07:58:23 +00:00
Tadashi G. Takaoka
402e847477 Merge "Use rectangle region to ignore hover events after long press" 2014-06-09 07:56:41 +00:00
Tadashi G. Takaoka
862d7ec32e Merge "Refactor KeyCodeDescriptionMapper class a bit" 2014-06-09 07:56:28 +00:00
Tadashi G. Takaoka
176f803176 Use rectangle region to ignore hover events after long press
Bug: 15500282
Bug: 15501718
Change-Id: Ia4771198c3120a980b0a2cdd210928a4f47f5b83
2014-06-09 16:32:19 +09:00
Tadashi G. Takaoka
24fab555f9 Refactor KeyCodeDescriptionMapper class a bit
This CL adds getDescriptionForCode() method.

Bug: 15500282
Change-Id: I3bb92c8f356ea623fc992c924506b11e09256e98
2014-06-09 16:28:30 +09:00
Keisuke Kuroyanagi
859fdbcd73 am 7f0316c2: Merge "Add distracter cache to optimize the distracter test."
* commit '7f0316c27e7fd91a54044d474c5c9086d8438602':
  Add distracter cache to optimize the distracter test.
2014-06-09 05:39:09 +00:00
Keisuke Kuroyanagi
f7cf57ed3d am 9f02a67c: Merge "Fix: NPE after turning on personalized suggestion."
* commit '9f02a67c77a1fdfb011bd93d6caf2f455ba358f6':
  Fix: NPE after turning on personalized suggestion.
2014-06-09 05:39:08 +00:00
Keisuke Kuroyanagi
7f0316c27e Merge "Add distracter cache to optimize the distracter test." 2014-06-09 05:35:46 +00:00
Keisuke Kuroyanagi
9f02a67c77 Merge "Fix: NPE after turning on personalized suggestion." 2014-06-09 05:35:32 +00:00
Keisuke Kuroyanagi
104b582c35 Add distracter cache to optimize the distracter test.
Bug: 13142176
Bug: 15428247
Change-Id: Ia390b148ffb36ace6c2010daf0f14838492413e8
2014-06-09 12:39:06 +09:00
Keisuke Kuroyanagi
65cf23eb38 Fix: NPE after turning on personalized suggestion.
Bug: 13142176
Bug: 15428247
Change-Id: I236202e3c1b70a11d512c946798035087945c0ac
2014-06-09 12:26:59 +09:00