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
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
1db93c9c04
[Refactor] Move some helper methods to BinaryDictIOUtils.
...
Change-Id: Ib817a975dc1f82241f732b236c44b042fda25b3c
2013-08-15 10:49:40 +09: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
5654a1f21e
Merge "Fix a debug functionality for the personalization prediction"
2013-08-14 10:43:31 +00: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
Yuichiro Hanada
3edb62c69b
Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils.
...
Change-Id: I9ba55582c533fef0eb3e60c46bf23c8b16ee1ff4
2013-08-14 19:33:36 +09: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
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
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
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
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
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
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
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
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
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
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
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
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
Tadashi G. Takaoka
33482a9b9c
Remove processMotionEvent from MoreKeysKeyboardView
...
Change-Id: I5373df4a7c82f964f99acf70325bba8702111a75
2013-08-08 15:30:09 +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
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
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
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
Satoshi Kataoka
c05b3b56cc
Merge "Add a session for the personalization dictionary"
2013-08-07 08:45:19 +00:00
Satoshi Kataoka
80aa7197b4
Add a session for the personalization dictionary
...
Bug: 9429906
Bug: 4192129
Change-Id: I361ab380edeee5a8a8b364df3f9f4ab202b79105
2013-08-07 16:44:30 +09:00
Tadashi G. Takaoka
15c42454c0
Remove orientation member from KeyboardId
...
Change-Id: I2c16134a24088dbc30b74ae7c5bc578a9d84a960
2013-08-07 16:32:54 +09:00
Jean Chalard
0f47d5163d
Merge "Reword "No language""
2013-08-06 11:11:21 +00:00
Tadashi G. Takaoka
8ba8798290
Merge "Consolidate forwardTouchEvent with dispatchTouchEvent"
2013-08-06 06:38:33 +00:00
Tadashi G. Takaoka
cc38bfb5d3
Merge "Add emoji icon and code as a groundwork"
2013-08-06 05:35:14 +00:00
Tadashi G. Takaoka
b127d88285
Add emoji icon and code as a groundwork
...
The emoji switching key icon asset should be updated. The icons in
this change are just borrowed from Hangout.
Bug: 10179862
Bug: 6370846
Change-Id: Icea26d2cf2ac6a6df9beb4c98f646dbe309bdcd9
2013-08-06 14:16:15 +09:00
Tadashi G. Takaoka
88f840d2a2
Consolidate forwardTouchEvent with dispatchTouchEvent
...
Change-Id: Ib73962acff72be0a78a3565028572ad694fb8501
2013-08-06 11:04:51 +09:00
Tadashi G. Takaoka
52d220e71b
Remove unnecessary suggestion strip container
...
Change-Id: I3710e1fe1574c0f69f7f448619e939fb45e9b8d3
2013-08-06 10:57:47 +09:00
Tadashi G. Takaoka
2023975988
Merge "Small optimization for readability"
2013-08-06 00:04:35 +00:00
Tadashi G. Takaoka
f8d162c315
Merge "Fix keyboard caching bug for testing"
2013-08-06 00:03:59 +00:00
Tadashi G. Takaoka
c0a732f032
Remove CODE_RESEARCH
...
Instead of CODE_RESEARCH, special outputText ".research." is used to
invoke a research feedback dialog.
Change-Id: Ic95c956ab4f2b5f0c3f2205c9bbcdcfb67db5d6e
2013-08-05 19:05:07 +09:00
Tadashi G. Takaoka
28a148681e
Small cleanup
...
Change-Id: I7dce7373b371f1ed5a985815f5d43fb6c6ee1f84
2013-08-05 18:46:35 +09:00
Jean Chalard
c5beb522ed
Reword "No language"
...
Bug: 10064334
Change-Id: Ie4e6c333566eee9000fa5c8e59e9df8b9b56a5b3
2013-08-05 18:16:35 +09:00
Tadashi G. Takaoka
0016d51ab8
Small optimization for readability
...
Change-Id: I8a24fc0981e58a7dc30f0577c4415a1d3bc5ed4d
2013-08-05 17:36:28 +09:00
Tadashi G. Takaoka
95f9b95dfb
Fix keyboard caching bug for testing
...
Change-Id: I00584a68d868f38c065bb6a41e8e5f4eafd44e7f
2013-08-05 17:35:08 +09:00
Satoshi Kataoka
33592d1bee
Merge "Add a debug preference for using only personalization dictionary"
2013-08-02 11:30:20 +00:00
Jean Chalard
ba2f4f84ca
Merge "Fix a concurrency bug."
2013-08-02 11:28:45 +00:00
Jean Chalard
10d66669c7
Fix a concurrency bug.
...
This probably only ever happens in tests, but still, that's
the right thing to do.
Bug: 10139031
Change-Id: I259be9e7306162e19faf738a093a77762f2e7675
2013-08-02 20:26:37 +09:00
Ken Wakasa
6333ed3801
Small cleanup
...
Change-Id: I7a35eb4cb7cee4c120236a2bc1974d7b345f4188
2013-08-02 20:22:51 +09:00
Satoshi Kataoka
d7491e6e81
Add a debug preference for using only personalization dictionary
...
Bug: 9429906
Change-Id: I2003060c7065e736d42f3b3303fbba549358dd18
2013-08-02 20:10:57 +09:00
Ken Wakasa
52876bbefd
Remove unnecessary setLayerType() calls
...
Calling up setLayerType(LAYER_TYPE_HARDWARE, ..) on non-HW accelerated
devices was ending up with having a drawing cache in View that is not
quite needed for PreviewPlacerView.
bug: 8967766
Change-Id: Ic8e6eeaf536530ff5f23eb353b0a8e5ba96fa0e2
2013-08-02 19:30:05 +09:00
Ken Wakasa
82018f9972
Forgot to reset the matrix of offscreen canvas
...
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244
bug: 8967766
Change-Id: I37c2e8e70ff4966ca5e4f29e5cac8349d8fe73b6
2013-08-02 18:51:57 +09:00
Tadashi G. Takaoka
e08c418ff8
Move motion event dispatcher to PointerTracker
...
Change-Id: I967bf4629b7d1002be6aff6007dc03d2db05c562
2013-08-02 16:34:44 +09:00
Ken Wakasa
ed56ea86d0
Merge "Deallocate offscreen buffer for non-HW-accel draw"
2013-08-01 09:29:24 +00:00
Tadashi G. Takaoka
54dd1bed52
Clean up ResearchLogger log method
...
Change-Id: I06c30aab462ce5b17157ff71d5d76f9755178080
2013-08-01 18:25:34 +09:00
Tadashi G. Takaoka
b6cc3a85ab
Move non-distinct multitouch support to a separate class
...
Move code that support non-distinct multitouch screen device to the
NonDistinchMultitouchHelper class.
Change-Id: I2e44f782b83dbcd095ee8e51c36b0766da0cd457
2013-08-01 18:18:33 +09:00
Ken Wakasa
e68d565d0f
Deallocate offscreen buffer for non-HW-accel draw
...
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244
This frees up 800KB on occam_svelte when LatinIME is in background.
Confirmed the performance effect in keyboard-bring up speed was unperceivable.
bug: 8967766
Change-Id: I0fab179c61179564bd3a0349c9825e7d61f7e1f2
2013-08-01 18:01:48 +09:00
Tadashi G. Takaoka
a299421f67
Merge "Remove getTimer() reference except from PointerTracker"
2013-08-01 07:53:45 +00:00