Commit graph

7974 commits

Author SHA1 Message Date
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
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
Satoshi Kataoka
4869841560 am 5c057b32: Merge "Fix unit tests."
* commit '5c057b32414fab5f5d8267f8fc8b4230b54d4cca':
  Fix unit tests.
2013-08-08 03:17:43 -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
eafd4b4ed9 am 96b444d4: Merge "Remove processMotionEvent from MoreKeysKeyboardView"
* commit '96b444d4292f0834c94b8d56ae124a6d6a947bd3':
  Remove processMotionEvent from MoreKeysKeyboardView
2013-08-08 01:35:24 -07:00
Satoshi Kataoka
6b48c8ba0c am 1181c5ac: Merge "Fix to follow the field naming conventions."
* commit '1181c5acbc6bd8834551d8fadca55d41c886a6d8':
  Fix to follow the field naming conventions.
2013-08-08 01:35:23 -07: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
765179b355 am d7b76727: Merge "Make user and contacts dict use ver3 format."
* commit 'd7b76727b9411a003c66182af20617afd38edde5':
  Make user and contacts dict use ver3 format.
2013-08-08 00:54:41 -07:00
Keisuke Kuroyanagi
d7b76727b9 Merge "Make user and contacts dict use ver3 format." 2013-08-08 07:51:36 +00:00
Tadashi G. Takaoka
33482a9b9c Remove processMotionEvent from MoreKeysKeyboardView
Change-Id: I5373df4a7c82f964f99acf70325bba8702111a75
2013-08-08 15:30:09 +09:00
Jean Chalard
1c558a31cf am 769aefe0: Merge "Increase CHAR_LIMIT to 29 to accommodate German."
* commit '769aefe00eac18240c70ad37ffd5b6b4fde81390':
  Increase CHAR_LIMIT to 29 to accommodate German.
2013-08-07 23:06:24 -07:00
Jean Chalard
7f2cb76990 Increase CHAR_LIMIT to 29 to accommodate German.
Bug: 10221961
Change-Id: Ib9967f7a258f499d24294da16a9191cc2dda4a32
2013-08-08 15:00:33 +09:00
Keisuke Kuroyanagi
b6d48c4c0b Make user and contacts dict use ver3 format.
Bug: 6669677
Change-Id: I6a20eed2c8afdd1c16ada5bf85067864c7cd2a7f
2013-08-08 14:57:19 +09:00
Yuichiro Hanada
71ffcc6332 Fix to follow the field naming conventions.
Change-Id: I9b41b5f34e93a3f291a352cd85c5ac257beaa9ab
2013-08-08 12:03:36 +09:00
Jean Chalard
37fa494cd5 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-07 19:56:49 -07:00
Jean Chalard
4456d1a8c1 Merge "Have double-space-to-period cancel leave a single space" 2013-08-08 02:52:24 +00:00
Jean Chalard
522d13c302 Have double-space-to-period cancel leave a single space
Bug: 8911898
Change-Id: Ifb4bb63c14dc960d0a53f1511908830093cca012
2013-08-08 11:49:27 +09:00
Baligh Uddin
f9456855e0 Merge "Import translations. DO NOT MERGE" 2013-08-07 17:57:23 +00:00
Baligh Uddin
607143c9ce Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-08-07 17:56:37 +00:00
Tadashi G. Takaoka
72b5ff6645 am 083a40b2: Merge "Move createKeyboardSetForSpellChecker to AndroidSpellCheckService"
* commit '083a40b291dbd4d63aabbcb4a1dc1ca27bb46863':
  Move createKeyboardSetForSpellChecker to AndroidSpellCheckService
2013-08-07 03:35:08 -07:00
Tadashi G. Takaoka
f6872b3601 am 15b80c4e: Merge "Add ResouceUtils.getDefaultKeyboardHeight"
* commit '15b80c4ec264d8fcc457988bc695453093e6f577':
  Add ResouceUtils.getDefaultKeyboardHeight
2013-08-07 03:35:06 -07:00
Tadashi G. Takaoka
083a40b291 Merge "Move createKeyboardSetForSpellChecker to AndroidSpellCheckService" 2013-08-07 10:32:56 +00:00
Tadashi G. Takaoka
15b80c4ec2 Merge "Add ResouceUtils.getDefaultKeyboardHeight" 2013-08-07 10:32:30 +00:00
Tadashi G. Takaoka
204e7b1401 Move createKeyboardSetForSpellChecker to AndroidSpellCheckService
Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
2013-08-07 19:24:22 +09:00
Tadashi G. Takaoka
3897a43940 Add ResouceUtils.getDefaultKeyboardHeight
Change-Id: I377f6a83ec86b0345b170e7ad995d4577220d0ad
2013-08-07 19:23:31 +09:00
Tadashi G. Takaoka
3cbcdd3a14 am 2cb9a143: Merge "Make key label from supplementary code point"
* commit '2cb9a1434ea1d22a37f1396b20670c4b0589c120':
  Make key label from supplementary code point
2013-08-07 03:02:46 -07:00
Tadashi G. Takaoka
2cb9a1434e Merge "Make key label from supplementary code point" 2013-08-07 09:59:41 +00:00
Tadashi G. Takaoka
45d0205862 Make key label from supplementary code point
Change-Id: I0a7834b5c4908a2116a8772cf85985ab8bed7091
2013-08-07 18:34:20 +09:00