Commit graph

8007 commits

Author SHA1 Message Date
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
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
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
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
Baligh Uddin
b0dd086081 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-08-13 07:59:14 +00:00
Tadashi G. Takaoka
ca6acfdd6b Rename maketext tool to make-keyboard-text
Change-Id: Icceda22aec75f9e3602da8775c0e94b110283575
2013-08-13 15:33:14 +09:00
Tadashi G. Takaoka
201be01798 am 0adc8a2a: Merge "Fix parenthesis direction for RTL languages"
* commit '0adc8a2ad3630aa01984b4b6ccb2b7ca94cf8948':
  Fix parenthesis direction for RTL languages
2013-08-12 23:25:47 -07:00
Tadashi G. Takaoka
0adc8a2ad3 Merge "Fix parenthesis direction for RTL languages" 2013-08-13 06:22:12 +00:00
Satoshi Kataoka
d9863e3e44 am 46961247: Merge "Call onDictionaryReady"
* commit '46961247a681aa3a8bdc7a6b9103e962dd3da829':
  Call onDictionaryReady
2013-08-12 22:43:37 -07:00
Satoshi Kataoka
46961247a6 Merge "Call onDictionaryReady" 2013-08-13 05:40:21 +00:00
Tadashi G. Takaoka
d41c44498c Fix parenthesis direction for RTL languages
Bug: 10284912
Change-Id: Ie0fc09b101034482a775961c8f8f1fcdf6dbec8f
2013-08-13 12:23:25 +09:00
Satoshi Kataoka
310f8a0f06 Call onDictionaryReady
Bug: 9429906

Change-Id: Ifc538b38b7d37469aecccd32a7e3f95a90558be7
2013-08-13 11:41:48 +09:00
Baligh Uddin
f9cb50a5b9 Import translations. DO NOT MERGE
Change-Id: I17e1fa887883a74297346d650cabfc4b0c411b2e
Auto-generated-cl: translation import
2013-08-12 15:26:34 -07:00
Baligh Uddin
dc511a3f0a Import translations. DO NOT MERGE
Change-Id: Ic98e1061acd3abf96e1f594c6b9ba79a0664a169
Auto-generated-cl: translation import
2013-08-12 15:19:33 -07:00
Tadashi G. Takaoka
fffd71fcbb am bab69d09: Merge "Remove redundant EditorInfo member from KeyboardLayoutSet.Builder"
* commit 'bab69d09f98030634ce2dd22c34a39154b437c24':
  Remove redundant EditorInfo member from KeyboardLayoutSet.Builder
2013-08-12 01:36:47 -07:00
Tadashi G. Takaoka
bab69d09f9 Merge "Remove redundant EditorInfo member from KeyboardLayoutSet.Builder" 2013-08-12 08:25:46 +00:00
Satoshi Kataoka
39acbaeeaa am 1b7c1cd5: Merge "Add PersionalizationDictionaryRegister"
* commit '1b7c1cd513c53e1d1f07a328405c71509a0ecb6c':
  Add PersionalizationDictionaryRegister
2013-08-11 23:27:47 -07:00
Satoshi Kataoka
1b7c1cd513 Merge "Add PersionalizationDictionaryRegister" 2013-08-12 06:23:12 +00:00
Satoshi Kataoka
8c4fcb108f Add PersionalizationDictionaryRegister
Bug: 9429906
Change-Id: Ibd4d5cedb371c0b4ee1342a3e6d221c9e34c2402
2013-08-12 14:48:45 +09:00
Tadashi G. Takaoka
7215e06e60 Remove redundant EditorInfo member from KeyboardLayoutSet.Builder
Change-Id: I9bbba9c27d3d478421c094e6cd0e1da31fd4f4c8
2013-08-12 14:35:58 +09:00
Ken Wakasa
ba218cd792 am 66a63db2: Merge "Rationalize how to use AdditionalFeaturesSettingUtils"
* commit '66a63db2d5c1613bdaa106f0c2830972e39f9f4e':
  Rationalize how to use AdditionalFeaturesSettingUtils
2013-08-11 18:39:42 -07:00
Ken Wakasa
66a63db2d5 Merge "Rationalize how to use AdditionalFeaturesSettingUtils" 2013-08-12 01:36:46 +00:00
Ken Wakasa
4a2f6a2216 am 25402fd5: am 724db044: Deallocate gesture trail bitmap when unneeded further
* commit '25402fd5309891884a843528d47f6b4646341a3f':
  Deallocate gesture trail bitmap when unneeded further
2013-08-09 15:53:29 -07:00
Ken Wakasa
6ceef84e7d am 724db044: Deallocate gesture trail bitmap when unneeded further
* commit '724db044957eb3544323c9814cbb4f20e81b8594':
  Deallocate gesture trail bitmap when unneeded further
2013-08-09 15:40:57 -07:00
Ken Wakasa
25402fd530 am 724db044: Deallocate gesture trail bitmap when unneeded further
* commit '724db044957eb3544323c9814cbb4f20e81b8594':
  Deallocate gesture trail bitmap when unneeded further
2013-08-09 15:21:44 -07:00
Ken Wakasa
02938c6baf Rationalize how to use AdditionalFeaturesSettingUtils
It should be called regardless of the gesture input being enabled or not

Change-Id: I223a823ef18389227fc04d000cc7bf750797ba31
2013-08-10 00:32:07 +09:00
Ken Wakasa
724db04495 Deallocate gesture trail bitmap when unneeded further
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244

bug: 8967766
Change-Id: I7b916daa5269cfde359a77555e8ffadf0e4a8f92
2013-08-09 21:07:40 +09:00
Tadashi G. Takaoka
3f75c04144 am f76264dc: Merge "Remove key preview backing view"
* commit 'f76264dcf4942a0e2685a9f816f7581b3d9d76fb':
  Remove key preview backing view
2013-08-09 04:53:48 -07:00
Ken Wakasa
cf575f8937 am cfcf6660: Reinstate a call to UsabilityStudyLogUtils#writeChar()
* commit 'cfcf6660fc369fefd4028451334a9c2eda9bc4e5':
  Reinstate a call to UsabilityStudyLogUtils#writeChar()
2013-08-09 04:30:46 -07:00
Yuichiro Hanada
5d7b46343b am 7ec9db2c: Remove the code and comments about version 1 format.
* commit '7ec9db2c34ee6bec2cbff6cf05cee9bf3c2f7122':
  Remove the code and comments about version 1 format.
2013-08-09 04:30:24 -07:00
Tadashi G. Takaoka
c77684d1aa am 6ca0b371: Merge "Small clean up of KeyboardView.onMeasure"
* commit '6ca0b371de557b21dab5736802055cc367036f8d':
  Small clean up of KeyboardView.onMeasure
2013-08-09 04:30:18 -07:00
Tadashi G. Takaoka
2dfcfc5013 Remove key preview backing view
This change re-origanizes view hierarchy of IME's input view.

Change-Id: I9d0a07692d0f41de3345d207366393bcd5424f7e
2013-08-09 20:25:42 +09:00
Ken Wakasa
cfcf6660fc Reinstate a call to UsabilityStudyLogUtils#writeChar()
The usability study mode has been broken.

bug: 10251399
Change-Id: Iaa301241f102f412fa073f0d8b897a4c8b265a9c
2013-08-09 19:32:02 +09:00
Yuichiro Hanada
7ec9db2c34 Remove the code and comments about version 1 format.
Change-Id: I827052f234eeaa4dbcfd37da69a99866896a158b
2013-08-09 16:05:07 +09:00
Tadashi G. Takaoka
6ca0b371de Merge "Small clean up of KeyboardView.onMeasure" 2013-08-09 03:00:13 +00:00
Satoshi Kataoka
6d2399c003 am 5c057b32: Merge "Fix unit tests."
* commit '5c057b32414fab5f5d8267f8fc8b4230b54d4cca':
  Fix unit tests.
2013-08-08 15:56:31 -07:00
Tadashi G. Takaoka
c31f7d79be am 96b444d4: Merge "Remove processMotionEvent from MoreKeysKeyboardView"
* commit '96b444d4292f0834c94b8d56ae124a6d6a947bd3':
  Remove processMotionEvent from MoreKeysKeyboardView
2013-08-08 15:56:30 -07:00