Commit Graph

8047 Commits (b69223565f42ffa9d0629b2677be9b0b0fc64940)

Author SHA1 Message Date
Tadashi G. Takaoka ca723c70ab am 0154e362: Merge "Rename KeyStyle.getFlag to getFlags"
* commit '0154e3620f907f781d58e99a9a79824abd46aa3e':
  Rename KeyStyle.getFlag to getFlags
2013-08-18 19:43:39 -07:00
Tadashi G. Takaoka 6fc8e32d02 am 18546fa9: Merge "Make all KeyboardRow attributes private"
* commit '18546fa92c1dd11f76f2d8be244b0214a3514b02':
  Make all KeyboardRow attributes private
2013-08-18 19:43:38 -07:00
Tadashi G. Takaoka 0154e3620f Merge "Rename KeyStyle.getFlag to getFlags" 2013-08-19 02:41:49 +00:00
Tadashi G. Takaoka 18546fa92c Merge "Make all KeyboardRow attributes private" 2013-08-19 02:41:40 +00:00
Tadashi G. Takaoka 784416f73b Make all KeyboardRow attributes private
Change-Id: Ifaca6ad5e642964d8c3a77a96a1cd74f363ee996
2013-08-19 11:36:34 +09:00
Ken Wakasa 41aade7977 am a83e2564: Merge "Add HeaderReaderInterface."
* commit 'a83e25642f1eae1412d85ce72f27601edd0ac10d':
  Add HeaderReaderInterface.
2013-08-18 19:36:15 -07:00
Tadashi G. Takaoka 0cfd2b08af Rename KeyStyle.getFlag to getFlags
Change-Id: Iff3d850466cb6016a53bf86104cd5d22363f96a8
2013-08-19 11:35:11 +09:00
Ken Wakasa a83e25642f Merge "Add HeaderReaderInterface." 2013-08-19 02:34:23 +00:00
Yuichiro Hanada 376457477f am 8aaae56c: Fix unit test.
* commit '8aaae56cf6694ec75043be56f1c7812a343b24d5':
  Fix unit test.
2013-08-18 19:26:46 -07:00
Yuichiro Hanada d794b42f98 Add HeaderReaderInterface.
Change-Id: I298f86b70d18cd08b240509b6f757c72e1a59ffe
2013-08-19 11:15:03 +09:00
Yuichiro Hanada 8aaae56cf6 Fix unit test.
Change-Id: Ib104d5de71c2ab1a07921b407c74c21b0409d9af
2013-08-19 11:10:28 +09:00
Ken Wakasa ef7064b5aa am 606a056b: Merge "Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader."
* commit '606a056b530c566f3397b8083f83288fe255bff8':
  Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader.
2013-08-16 08:03:46 -07:00
Ken Wakasa 606a056b53 Merge "Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader." 2013-08-16 12:46:07 +00:00
Jean Chalard 5b0aeafb5e am e3247561: Merge "Support languages that don\'t use spaces."
* commit 'e32475611ce52671802ca8d2f9694bbb82c4b120':
  Support languages that don't use spaces.
2013-08-16 05:08:58 -07:00
Yuichiro Hanada 3a73b37b30 Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader.
Change-Id: I191dfe0e05ff3c2c5af99e8beebbb73b097748a3
2013-08-16 21:06:23 +09:00
Jean Chalard e32475611c Merge "Support languages that don't use spaces." 2013-08-16 12:05:16 +00:00
Ken Wakasa f404756b17 am c2f2d0d2: Merge "Limit the number of waiting UpdateBinaryTask to at most 1."
* commit 'c2f2d0d211fe4c765cda7a770004d061ff2b7711':
  Limit the number of waiting UpdateBinaryTask to at most 1.
2013-08-16 05:02:36 -07:00
Jean Chalard c239a34262 Support languages that don't use spaces.
Thai is an example.

Bug: 10138062
Change-Id: Ib9a8264c77ed42b4256432d7c8a60d08575dcdc7
2013-08-16 21:01:08 +09:00
Ken Wakasa c2f2d0d211 Merge "Limit the number of waiting UpdateBinaryTask to at most 1." 2013-08-16 11:58:57 +00:00
Yuichiro Hanada 2b16830322 am e72c4e5f: Remove a static buffer for thread safety.
* commit 'e72c4e5fc7531f23f5806efed91aafe5d1ba2d1f':
  Remove a static buffer for thread safety.
2013-08-16 04:31:47 -07:00
Yuichiro Hanada e72c4e5fc7 Remove a static buffer for thread safety.
Change-Id: I335c35eb182ff63abb8a5b04c053a98d44b7c6ce
2013-08-16 20:22:46 +09:00
Keisuke Kuroyanagi c8db6f21e9 Prepare ExpandableBinaryDictionary to make it updatable
Bug: 6669677

Change-Id: Iaa6100f58de78d104e19c7a3c41d67e7826264f9
2013-08-16 20:16:31 +09:00
Yuichiro Hanada 0d70bcc821 Limit the number of waiting UpdateBinaryTask to at most 1.
Change-Id: Ia588d8f29ab58983ea5321ff8c63ad273c33eab3
2013-08-16 19:44:47 +09:00
Ken Wakasa 861aa7beed am 47bac6eb: Merge "Remove unnecessary caching."
* commit '47bac6ebf237435faaf3913e353a6230e0299cb3':
  Remove unnecessary caching.
2013-08-16 01:38:13 -07:00
Jean Chalard 2b3ff52496 am 21dddb14: Merge "Rename Node to PtNodeArray"
* commit '21dddb1462df8f32b40365dbb27930ae6c8113b8':
  Rename Node to PtNodeArray
2013-08-16 01:38:11 -07:00
Ken Wakasa 47bac6ebf2 Merge "Remove unnecessary caching." 2013-08-16 08:28:19 +00:00
Yuichiro Hanada 6e26cc3f5d Remove unnecessary caching.
Change-Id: Ic4ccab9d344b30b72fca1503827eec1c628fa4ac
2013-08-16 17:10:45 +09:00
Jean Chalard 21dddb1462 Merge "Rename Node to PtNodeArray" 2013-08-16 08:00:55 +00:00
Satoshi Kataoka ef593b0101 am ad4c9093: Merge "Add hex string utils"
* commit 'ad4c90934be49e8f0327e865551814a937b4fc1f':
  Add hex string utils
2013-08-16 00:36:58 -07:00
Jean Chalard af30cbf0ee Rename Node to PtNodeArray
Bug: 10247660
Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99
2013-08-16 16:24:54 +09:00
Satoshi Kataoka 283cf9cfc9 Add hex string utils
Bug: 9429906
Change-Id: I3267d1d86122ab471c3e63008c73e9f9b758fc8e
2013-08-16 16:17:48 +09:00
Ken Wakasa a49bf12883 am 33fce975: Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder."
* commit '33fce975c976424e923455e8f948f1ebe494a2cd':
  [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.
2013-08-15 04:31:11 -07:00
Satoshi Kataoka 10288e2c27 am 623e3f9d: Merge "Fix cosmetic source code formatting"
* commit '623e3f9d587a96caf3b4b88b8af8b7a81bc9347b':
  Fix cosmetic source code formatting
2013-08-15 04:31:10 -07:00
Tadashi G. Takaoka 12774e5d4f am 840e42d7: Merge "Add getters and copy constructor to Key class"
* commit '840e42d7f387d149b58ecea9b5960b7c875b5aa2':
  Add getters and copy constructor to Key class
2013-08-15 04:31:08 -07:00
Ken Wakasa 33fce975c9 Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder." 2013-08-15 11:26:06 +00:00
Yuichiro Hanada 94460eba11 [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.
Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
2013-08-15 20:23:07 +09:00
Satoshi Kataoka 623e3f9d58 Merge "Fix cosmetic source code formatting" 2013-08-15 11:20:41 +00:00
Tadashi G. Takaoka 840e42d7f3 Merge "Add getters and copy constructor to Key class" 2013-08-15 11:15:42 +00:00
Tadashi G. Takaoka 25f0d73fa4 Fix cosmetic source code formatting
Change-Id: I33c14a20bc55b826082e468c0aecfa026ba5d9f3
2013-08-15 20:13:31 +09:00
Tadashi G. Takaoka 7dc60f9db7 Add getters and copy constructor to Key class
Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
2013-08-15 20:12:46 +09:00
Jean Chalard f180c9a250 am e7870a2c: Add an initial JNI interface to dicttool.
* commit 'e7870a2c0d817e6548eb00c80278b9f7b86c1a5b':
  Add an initial JNI interface to dicttool.
2013-08-15 02:03:07 -07:00
Jean Chalard e7870a2c0d Add an initial JNI interface to dicttool.
Bug: 10100269
Change-Id: I883992c2033e7d9e7c754c0bf653767728b221b6
2013-08-15 17:58:55 +09:00
Ken Wakasa 8ad3602285 am dc83fe37: Merge "Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.""
* commit 'dc83fe37baafe1afe5410499d58d80a29b7cb1da':
  Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
2013-08-15 01:58:53 -07:00
Ken Wakasa dc83fe37ba Merge "Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."" 2013-08-15 08:56:28 +00:00
Ken Wakasa 117f18e844 Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
This reverts commit 4c63d0614e.

Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
2013-08-15 08:54:29 +00:00
Ken Wakasa 20e3576f14 am f74ddfbb: Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
* commit 'f74ddfbb06dbdd74fefee49bd63f2c1b9f61ad13':
  [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.
2013-08-14 23:57:14 -07:00
Ken Wakasa f74ddfbb06 Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils." 2013-08-15 06:53:23 +00:00
Yuichiro Hanada 4c63d0614e [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.
Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
2013-08-15 15:46:58 +09:00
Satoshi Kataoka 14ddbda63d am a38a15dd: Merge "tiny refactor"
* commit 'a38a15ddc0aa314578828de29bba51cfcf39c8de':
  tiny refactor
2013-08-14 23:41:23 -07:00
Satoshi Kataoka a38a15ddc0 Merge "tiny refactor" 2013-08-15 06:38:49 +00:00
Satoshi Kataoka 1aae34873c tiny refactor
Change-Id: I776432b6c41cf8dee71fbd1565a6f3da9d762f9e
2013-08-15 13:38:05 +09:00
Yuichiro Hanada 326a3e5d5d am 1db93c9c: [Refactor] Move some helper methods to BinaryDictIOUtils.
* commit '1db93c9c0420d7d944e0ddef95d25de0738c3030':
  [Refactor] Move some helper methods to BinaryDictIOUtils.
2013-08-14 19:04:28 -07:00
Yuichiro Hanada 1db93c9c04 [Refactor] Move some helper methods to BinaryDictIOUtils.
Change-Id: Ib817a975dc1f82241f732b236c44b042fda25b3c
2013-08-15 10:49:40 +09:00
Satoshi Kataoka 8099342df3 am be4d38e6: Merge "Fix test breakage"
* commit 'be4d38e61fe96409764405af66cade5a609d6e1d':
  Fix test breakage
2013-08-14 04:44:37 -07:00
Satoshi Kataoka be4d38e61f Merge "Fix test breakage" 2013-08-14 11:40:34 +00:00
Satoshi Kataoka 2b39fab829 Fix test breakage
Change-Id: I10bd8fcc68711a039e000f715d7a65ae42095965
2013-08-14 20:38:32 +09:00
Satoshi Kataoka 91d2a3a40c am 5654a1f2: Merge "Fix a debug functionality for the personalization prediction"
* commit '5654a1f21e3858969d56d81ed82768bd3e99bcb5':
  Fix a debug functionality for the personalization prediction
2013-08-14 03:46:02 -07:00
Satoshi Kataoka 5654a1f21e Merge "Fix a debug functionality for the personalization prediction" 2013-08-14 10:43:31 +00:00
Ken Wakasa df6ca9c9fe am 8e398e21: Merge "Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils."
* commit '8e398e21477d5526ab2892d8ea431a6295f8e2d7':
  Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils.
2013-08-14 03:41:45 -07:00
Ken Wakasa 8e398e2147 Merge "Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils." 2013-08-14 10:38:15 +00:00
Satoshi Kataoka d09ad2e368 Fix a debug functionality for the personalization prediction
Bug: 9429906

Change-Id: I10d39e1f8758dcb64c9c0111d516e3abfe81b04e
2013-08-14 19:36:20 +09:00
Satoshi Kataoka 72d7af4f4c am 92038bca: Merge "Add a method to import one bigram and string utilities"
* commit '92038bcacd5210c667e67f7046a6675e085868b6':
  Add a method to import one bigram and string utilities
2013-08-14 03:34:12 -07:00
Yuichiro Hanada 3edb62c69b Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils.
Change-Id: I9ba55582c533fef0eb3e60c46bf23c8b16ee1ff4
2013-08-14 19:33:36 +09:00
Ken Wakasa 74537adb7d am f795f2b7: Merge "Add FusionDictionaryBufferFromWritableByteBufferFactory."
* commit 'f795f2b7899fc62d8e96ac064265bf3d44b25704':
  Add FusionDictionaryBufferFromWritableByteBufferFactory.
2013-08-14 03:30:51 -07:00
Satoshi Kataoka 92038bcacd Merge "Add a method to import one bigram and string utilities" 2013-08-14 10:29:06 +00:00
Ken Wakasa 4d29ac2fb1 am 0766f133: Merge "Move some constants in BinaryDictInputOutput to FormatSpec."
* commit '0766f13391b9b442ba6cdc7c28fabca83a2756db':
  Move some constants in BinaryDictInputOutput to FormatSpec.
2013-08-14 03:27:37 -07:00
Ken Wakasa f795f2b789 Merge "Add FusionDictionaryBufferFromWritableByteBufferFactory." 2013-08-14 10:26:21 +00:00
Ken Wakasa 0766f13391 Merge "Move some constants in BinaryDictInputOutput to FormatSpec." 2013-08-14 10:25:04 +00:00
Yuichiro Hanada 665592774c Move some constants in BinaryDictInputOutput to FormatSpec.
Change-Id: I6b12faf35b65238b9a64c82d4d1a6050f980e72e
2013-08-14 19:19:27 +09:00
Tadashi G. Takaoka a24d8c88d9 am bdef628a: Merge "Add empty key background type"
* commit 'bdef628a35222d7894c5f5916f94e6c3a8ef89bb':
  Add empty key background type
2013-08-14 03:18:01 -07:00
Tadashi G. Takaoka cd786db858 am ed5582ec: Merge "Thin out audio and haptic feedback while key repeat"
* commit 'ed5582ec651ffc106c8fba64d138adbec359c63e':
  Thin out audio and haptic feedback while key repeat
2013-08-14 03:14:32 -07:00
Tadashi G. Takaoka bdef628a35 Merge "Add empty key background type" 2013-08-14 10:13:33 +00:00
Tadashi G. Takaoka ed5582ec65 Merge "Thin out audio and haptic feedback while key repeat" 2013-08-14 10:11:43 +00:00
Tadashi G. Takaoka c8617c0070 am 693087f9: Merge "Remove unused drawables"
* commit '693087f97615f00b4bb148698202563fcd314c64':
  Remove unused drawables
2013-08-14 03:10:13 -07:00
Tadashi G. Takaoka 693087f976 Merge "Remove unused drawables" 2013-08-14 10:06:30 +00:00
Satoshi Kataoka 4ee953125a Add a method to import one bigram and string utilities
Bug: 9429906
Change-Id: I73bbf65985196d62470552c576bb076a7cb95008
2013-08-14 18:56:12 +09:00
Jean Chalard e4554028f3 am 5fd8b7eb: Merge "Add looksValidForDictionaryInsertion"
* commit '5fd8b7ebd5c75e64a1288cb4b697ecaf7161b93c':
  Add looksValidForDictionaryInsertion
2013-08-14 02:44:43 -07:00
Jean Chalard 5fd8b7ebd5 Merge "Add looksValidForDictionaryInsertion" 2013-08-14 09:41:49 +00:00
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
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
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
Jean Chalard 1162c0537d Merge "Remove dead code" 2013-08-14 08:35:46 +00: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
Jean Chalard a74ae9c451 Fix a bug with surrogate pairs
Bug: 10316781
Change-Id: I528c59c8823cda11975cb01b0ae59f12cfadef3b
2013-08-14 16:00:28 +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
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
Yuichiro Hanada 3feacba1eb Add BinaryDictReader.
Bug: 9618601

Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143
2013-08-13 19:55:05 +09:00