Commit Graph

7704 Commits (4ee953125af53d8b49e958e50f0002f002776d36)

Author SHA1 Message Date
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 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
Jean Chalard fdfc8ad2d0 Merge "Re-evaluate auto-caps earlier." 2013-08-14 09:29:48 +00:00
Jean Chalard 4bc74d19ef Merge "Delete surrogate together." 2013-08-14 09:06:07 +00: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 1162c0537d Merge "Remove dead code" 2013-08-14 08:35:46 +00: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 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 ae59ce0262 Merge "Remove audio and haptic feedback while key repeating" 2013-08-13 21:50:20 +00: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 d03e5bd761 Merge "Rename maketext tool to make-keyboard-text" 2013-08-13 08:49:56 +00: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
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 0adc8a2ad3 Merge "Fix parenthesis direction for RTL languages" 2013-08-13 06:22:12 +00: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
Tadashi G. Takaoka bab69d09f9 Merge "Remove redundant EditorInfo member from KeyboardLayoutSet.Builder" 2013-08-12 08:25:46 +00: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 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 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 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
Satoshi Kataoka 7cb1b82fe5 am 1181c5ac: Merge "Fix to follow the field naming conventions."
* commit '1181c5acbc6bd8834551d8fadca55d41c886a6d8':
  Fix to follow the field naming conventions.
2013-08-08 15:56:29 -07:00
Keisuke Kuroyanagi 9f2ba37fb9 am d7b76727: Merge "Make user and contacts dict use ver3 format."
* commit 'd7b76727b9411a003c66182af20617afd38edde5':
  Make user and contacts dict use ver3 format.
2013-08-08 15:56:28 -07:00
Jean Chalard 3cd6811e4b am 769aefe0: Merge "Increase CHAR_LIMIT to 29 to accommodate German."
* commit '769aefe00eac18240c70ad37ffd5b6b4fde81390':
  Increase CHAR_LIMIT to 29 to accommodate German.
2013-08-08 15:56:27 -07:00
Jean Chalard d7309ec469 am 4456d1a8: Merge "Have double-space-to-period cancel leave a single space"
* commit '4456d1a8c18a4c674c8394570550f2977f5f117b':
  Have double-space-to-period cancel leave a single space
2013-08-08 15:56:24 -07:00
Tadashi G. Takaoka 4f1fdc30be Small clean up of KeyboardView.onMeasure
Change-Id: I46830f8482b46c6999b80793c8b4ae860b46e429
2013-08-08 19:15:13 +09:00
Satoshi Kataoka 5c057b3241 Merge "Fix unit tests." 2013-08-08 10:14:27 +00:00
Yuichiro Hanada 7d1ae52ded Fix unit tests.
Change-Id: Ic0013089625e112aaccc888d462330640ef7cc6f
2013-08-08 19:12:35 +09:00
Tadashi G. Takaoka 96b444d429 Merge "Remove processMotionEvent from MoreKeysKeyboardView" 2013-08-08 08:23:23 +00:00
Satoshi Kataoka 1181c5acbc Merge "Fix to follow the field naming conventions." 2013-08-08 08:06:45 +00:00
Keisuke Kuroyanagi d7b76727b9 Merge "Make user and contacts dict use ver3 format." 2013-08-08 07:51:36 +00:00