Commit graph

15528 commits

Author SHA1 Message Date
Jean Chalard
af5fbe70ac Add looksValidForDictionaryInsertion
...and test it.

Also at the same time, add a facility to create a SettingsValues for
test, and some minor performance improvement to surrounding
methods.

Change-Id: I13b629ae14755c244af2a9406a7e9b4a4a16090f
2013-08-14 18:39:28 +09:00
Tadashi G. Takaoka
ab16237e69 Thin out audio and haptic feedback while key repeat
Bug: 6522943
Change-Id: Id60f256ab0f8741578eda276116817fa48917325
2013-08-14 18:37:58 +09:00
Keisuke Kuroyanagi
a460016b74 am c3dc9021: Merge "Remove NodeFilter."
* commit 'c3dc9021daca2108c1494d9cb24e9b56701bd9c4':
  Remove NodeFilter.
2013-08-14 02:36:04 -07:00
Keisuke Kuroyanagi
c3dc9021da Merge "Remove NodeFilter." 2013-08-14 09:34:00 +00:00
Jean Chalard
668a441be9 am fdfc8ad2: Merge "Re-evaluate auto-caps earlier."
* commit 'fdfc8ad2d09d3b475df22ba22fca8593a63ae9f5':
  Re-evaluate auto-caps earlier.
2013-08-14 02:32:46 -07:00
Jean Chalard
fdfc8ad2d0 Merge "Re-evaluate auto-caps earlier." 2013-08-14 09:29:48 +00:00
Keisuke Kuroyanagi
7fd9667d76 Remove NodeFilter.
Change-Id: I27d905dd3581cbb0e67d071dba04066aaa2ba22e
2013-08-14 18:20:15 +09:00
Tadashi G. Takaoka
e18439d5c7 Add empty key background type
Change-Id: I9b07c58a9b70ae0228f87e1f066ca8cd959b4f03
2013-08-14 18:12:11 +09:00
Jean Chalard
9c396a24c9 am 4bc74d19: Merge "Delete surrogate together."
* commit '4bc74d19ef72a919e09611e7d7b0d2d3d9e00a30':
  Delete surrogate together.
2013-08-14 02:09:38 -07:00
Jean Chalard
4bc74d19ef Merge "Delete surrogate together." 2013-08-14 09:06:07 +00:00
Tadashi G. Takaoka
5c915bc749 Remove unused drawables
Change-Id: I83f752dcb0d607e3f77bfbee519993aa37bfd5e4
2013-08-14 17:58:22 +09:00
Jean Chalard
b2d954cad6 Delete surrogate together.
Stop deleting them one after the other, it makes no sense. We
can know in advance if we should delete two of them, so let's
use that.

Bug: 6526420
Change-Id: Ifa2263cbde8fedc78bb750b84d4acd3f979774ea
2013-08-14 17:53:33 +09:00
Jean Chalard
b7e782d868 Re-evaluate auto-caps earlier.
We have all we know to re-evaluate auto-caps in this case.
We don't need to wait until we get the callback from TextView.

Bug: 10287972
Change-Id: I87e4e26cd193a001f91fe852ffc5a8f728db2449
2013-08-14 17:40:23 +09:00
Jean Chalard
324d4d7290 am 1162c053: Merge "Remove dead code"
* commit '1162c0537d48fcec6dd5dc02594a16d24b4d1008':
  Remove dead code
2013-08-14 01:38:04 -07:00
Keisuke Kuroyanagi
a05c94747b am dfecc86f: Fix ShortcutListPolicy::getStartPos().
* commit 'dfecc86f255538840461c1a30e98cf6eba445c2e':
  Fix ShortcutListPolicy::getStartPos().
2013-08-14 01:38:02 -07:00
Jean Chalard
1162c0537d Merge "Remove dead code" 2013-08-14 08:35:46 +00:00
Keisuke Kuroyanagi
dfecc86f25 Fix ShortcutListPolicy::getStartPos().
Bug: 6669677
Change-Id: I1fa9967fc6aa0956986954c8ea1f990a47c15764
2013-08-14 17:23:57 +09:00
Yuichiro Hanada
bbc8a930f7 Add FusionDictionaryBufferFromWritableByteBufferFactory.
Change-Id: I23de0a178e7f11f2cf301fd433cde60c6152055b
2013-08-14 17:07:44 +09:00
Jean Chalard
d81b9d0276 Remove dead code
isComposingWord() is actually defined as size > 0, so this test
can never be false.

Change-Id: If71afae6f0b16bff46178f0fae3244597354fecb
2013-08-14 16:38:37 +09:00
Jean Chalard
f6236e7e9e am e18fdf80: Merge "Fix a bug with surrogate pairs"
* commit 'e18fdf804acdc7cd8db19c2a03adecc44d71f1ef':
  Fix a bug with surrogate pairs
2013-08-14 00:31:02 -07:00
Jean Chalard
e18fdf804a Merge "Fix a bug with surrogate pairs" 2013-08-14 07:27:54 +00:00
Keisuke Kuroyanagi
d0d2d239c0 am 90619ae0: Move utils for reading dict to policyimpl.
* commit '90619ae02b1861e644db6a0d72d0e5f9c195ef3e':
  Move utils for reading dict to policyimpl.
2013-08-14 00:03:38 -07:00
Jean Chalard
a74ae9c451 Fix a bug with surrogate pairs
Bug: 10316781
Change-Id: I528c59c8823cda11975cb01b0ae59f12cfadef3b
2013-08-14 16:00:28 +09:00
Keisuke Kuroyanagi
90619ae02b Move utils for reading dict to policyimpl.
Bug: 6669677
Change-Id: Ia1da3cb84b457665cf26172d3810e1d28329bca4
2013-08-14 15:50:42 +09:00
Keisuke Kuroyanagi
66facd37dd Make dictionary structure policy have updating methods.
Bug: 6669677

Change-Id: I6aa8e377c6347e0db4b7a82293b316ec64d87bec
2013-08-14 11:34:42 +09:00
Ken Wakasa
c95a7aa797 am ae59ce02: Merge "Remove audio and haptic feedback while key repeating"
* commit 'ae59ce026213cd9c92f8202ccb2a337e6495119d':
  Remove audio and haptic feedback while key repeating
2013-08-13 14:54:17 -07:00
Ken Wakasa
ae59ce0262 Merge "Remove audio and haptic feedback while key repeating" 2013-08-13 21:50:20 +00:00
Keisuke Kuroyanagi
018ab17ef5 am 3cc55024: Merge "Move files for headerPolicy to policyimpl."
* commit '3cc550248b308b49db677ffa7ee716660373c3a6':
  Move files for headerPolicy to policyimpl.
2013-08-13 04:41:07 -07:00
Keisuke Kuroyanagi
3cc550248b Merge "Move files for headerPolicy to policyimpl." 2013-08-13 11:36:25 +00:00
Keisuke Kuroyanagi
23d3ed962f Move files for headerPolicy to policyimpl.
Bug: 6669677
Change-Id: Ic90feb9c3a9a7b698e588c8ad25c765a246706a8
2013-08-13 20:35:16 +09:00
Keisuke Kuroyanagi
94fc555a42 am 9e0bb2f0: Merge "Move header reading methods to policyimpl."
* commit '9e0bb2f0404590f741c076d5da87144cd2591701':
  Move header reading methods to policyimpl.
2013-08-13 04:32:38 -07:00
Keisuke Kuroyanagi
9e0bb2f040 Merge "Move header reading methods to policyimpl." 2013-08-13 11:26:17 +00:00
Keisuke Kuroyanagi
76e579c7ca Move header reading methods to policyimpl.
Bug: 6669677
Change-Id: I24cb32f28cf355485b431cc56d877000e3f946d4
2013-08-13 20:22:40 +09:00
Ken Wakasa
a3fe14b4cc am f27297d2: Merge "Add BinaryDictReader."
* commit 'f27297d2ece8a247a8b9e18d4e65dc0d0ba68b77':
  Add BinaryDictReader.
2013-08-13 04:07:57 -07:00
Ken Wakasa
f27297d2ec Merge "Add BinaryDictReader." 2013-08-13 11:03:44 +00:00
Keisuke Kuroyanagi
4b24a42eae am ed8a3cb1: Merge "Use DictionaryStructureWithBufferPolicy for traversing."
* commit 'ed8a3cb1e184ac5b97bfdcd25376430aac64866b':
  Use DictionaryStructureWithBufferPolicy for traversing.
2013-08-13 03:55:13 -07:00
Yuichiro Hanada
3feacba1eb Add BinaryDictReader.
Bug: 9618601

Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143
2013-08-13 19:55:05 +09:00
Keisuke Kuroyanagi
ed8a3cb1e1 Merge "Use DictionaryStructureWithBufferPolicy for traversing." 2013-08-13 10:51:45 +00:00
Keisuke Kuroyanagi
d81654cd61 Use DictionaryStructureWithBufferPolicy for traversing.
Bug: 6669677
Change-Id: If7bc038278b7217ed5ba4cb77b1238b2dad0001b
2013-08-13 19:38:20 +09:00
Tadashi G. Takaoka
ed3856f18a am d03e5bd7: Merge "Rename maketext tool to make-keyboard-text"
* commit 'd03e5bd76164907e2cdfd0e647a0c4cd5e2a896b':
  Rename maketext tool to make-keyboard-text
2013-08-13 01:53:07 -07:00
Tadashi G. Takaoka
d03e5bd761 Merge "Rename maketext tool to make-keyboard-text" 2013-08-13 08:49:56 +00:00
Baligh Uddin
6c00fd657e am da19a4ce: (-s ours) am 06b38f8b: (-s ours) am ecf78498: (-s ours) Import translations. DO NOT MERGE
* commit 'da19a4ce9bbed2789814abe0bd85efbe3cebf510':
  Import translations. DO NOT MERGE
2013-08-13 01:49:48 -07:00
Baligh Uddin
da19a4ce9b am 06b38f8b: (-s ours) am ecf78498: (-s ours) Import translations. DO NOT MERGE
* commit '06b38f8bd03884cbc763642013d8993abafe14c0':
  Import translations. DO NOT MERGE
2013-08-13 01:47:04 -07:00
Baligh Uddin
06b38f8bd0 am ecf78498: (-s ours) Import translations. DO NOT MERGE
* commit 'ecf78498e07966ba9d29761164aed18af8cc9437':
  Import translations. DO NOT MERGE
2013-08-13 01:43:30 -07:00
Ken Wakasa
855e6a22c8 am 7242bf1a: Merge "Make readHeader check the header size before using it."
* commit '7242bf1a159b909db8a7c74e786e2391a4361d85':
  Make readHeader check the header size before using it.
2013-08-13 01:40:19 -07:00
Baligh Uddin
099fc9d081 am 1e48fd03: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '1e48fd0323de55bb18ee136ea507d6474d579c68':
  Import translations. DO NOT MERGE
2013-08-13 01:40:18 -07:00
Ken Wakasa
7242bf1a15 Merge "Make readHeader check the header size before using it." 2013-08-13 08:14:43 +00:00
Yuichiro Hanada
b7bb9c9722 Make readHeader check the header size before using it.
Change-Id: I5dc3e2b674f7343ef57317fde6bdb7349a7fe04c
2013-08-13 17:06:25 +09:00
Tadashi G. Takaoka
d1d607287d Remove audio and haptic feedback while key repeating
Bug: 6522943
Change-Id: Iad1b11172e47bfbae2b4129361a56b9d793f8f62
2013-08-13 17:03:26 +09:00
Baligh Uddin
1e48fd0323 Merge "Import translations. DO NOT MERGE" 2013-08-13 07:59:40 +00:00