Ken Wakasa
30ab10a144
Tiny cleanups
...
Change-Id: Ie648a9da326cb194d96cb5f5a6966af0608367b4
2012-12-21 01:05:10 +09:00
Ken Wakasa
ffd08e3788
Reorganize file and class names for typing and gesture
...
multi-project commit with Iecacb05c
Change-Id: I0d21063335fb8c11184ad4eea00b123362de6853
2012-12-20 19:24:03 +09:00
Satoshi Kataoka
a489284533
fix build breakage
...
Change-Id: I3ab0a143eff063e2e5be672a207c9b3cb45a69d7
2012-12-20 18:01:12 +09:00
Satoshi Kataoka
4801fd66d6
Cleanup decoder wrapper
...
Change-Id: Iade1c3954f151edce313856395dc5083e820aa93
2012-12-20 17:49:46 +09:00
Satoshi Kataoka
4221738cf6
add debug
...
Change-Id: I101810d2cdd7c2702c489d76fe8f90da0a87a103
2012-12-18 14:52:42 +09:00
Satoshi Kataoka
e0349619ac
Refactor most probable string
...
Change-Id: Ic14f1632f219f844c65a2e9c78d5ecf635e8234e
2012-12-17 15:24:08 +09:00
Satoshi Kataoka
e775073b72
Merge "Fix typing incremental decoder"
2012-12-12 03:39:22 -08:00
Satoshi Kataoka
0519fdd18a
Fix typing incremental decoder
...
Change-Id: Ia55d5c0200738c81f93530b3680bc3f37c0b2e28
2012-12-12 20:36:19 +09:00
Ken Wakasa
692cd00ea3
Small cleanups
...
Change-Id: I29b4dee15d66f8f1372035738658234395001d41
2012-12-11 23:52:22 +09:00
Satoshi Kataoka
fe4f1ce26c
Calculate isContinuationPossible for typing
...
Change-Id: I11edb1e5155e5048a6c95f84b36e2ef34572178c
2012-12-11 12:51:02 +09:00
Ken Wakasa
082507e1da
Header clean up
...
Change-Id: If9b2ea4ed8c1c4cf73463f0ac4bc63d4bb8cba42
2012-12-10 23:41:45 +09:00
Ken Wakasa
fc799ba03c
Clean up sign conversions in binary_format.h (done by -Wsign-conversion)
...
Change-Id: I9ca88c22ee5bbb66d50640e1d96021fbe71fc8ab
2012-12-10 20:23:18 +09:00
Satoshi Kataoka
203b213813
Fix build breakage.
...
Change-Id: I01b00827a3099097c1181a4ae91498a6cd14c3ca
2012-12-10 19:13:47 +09:00
Satoshi Kataoka
a21187188f
Rename function
...
Change-Id: Ia05d4b96158b17d4feef8f2d6ebd52e9dd69b25f
2012-12-06 19:08:45 +09:00
Satoshi Kataoka
0ed8c6ee29
turn off debug flags
...
Change-Id: I08710abe3e158ee48c954289fc6bb1269c4a7126
2012-12-06 15:12:50 +09:00
Ken Wakasa
aa5a3e84ad
Clean up int types in the Dictionary class
...
Change-Id: I49821c00186ce2a282bb23f369eb140b47d6c455
2012-12-03 19:54:30 +09:00
Ken Wakasa
1d516fb1b0
Clean up int types
...
Change-Id: Ib6819b9d7f00208f47533d7ab3d2e02ca3730981
2012-12-03 19:45:52 +09:00
Ken Wakasa
02421af02a
Merge "remove invalid comparison"
2012-12-03 01:27:41 -08:00
Satoshi Kataoka
94885f572c
remove invalid comparison
...
Change-Id: I162c478debe5897be057998bd22924ed487d01af
2012-12-03 18:15:06 +09:00
Ken Wakasa
17f71ca6bc
Fix offdevice regression test build error
...
Change-Id: I97128108b3bd75c61069517c3f8ce68ecc7bf285
2012-11-30 19:32:45 +09:00
Satoshi Kataoka
16e9d343c4
Merge "Tweak beeline speed"
2012-11-30 02:08:55 -08:00
Satoshi Kataoka
6ae8dd4343
Tweak beeline speed
...
Change-Id: I77bbd5e1888281e838d87824dc04a574b1a7ecb7
2012-11-30 02:02:59 +09:00
Jean Chalard
da439fa461
Merge "Add utilities to read header values."
2012-11-29 03:11:06 -08:00
Jean Chalard
22025c6a37
Add utilities to read header values.
...
Bug: 7540132
Change-Id: I19d85481135e79d8782f711da5cbb3a5a7bc06f8
2012-11-29 20:08:37 +09:00
Ken Wakasa
2a6f58d902
Prep for GCC 4.7
...
On Galaxy Nexus (./vendor/google/apps/LatinImeGoogle/tests/etc/run-profile.sh -g)
Before
==== test finished, terminate logcat =====
(0) 2506.11 (10.48%)
(1) 21289.22 (89.01%)
(2) 108.29 (0.45%)
(3) 0.00 (0.00%)
(4) 0.00 (0.00%)
(5) 0.00 (0.00%)
(6) 0.00 (0.00%)
(20) 0.00 (0.00%)
Total 23917.44 (sum of others 23903.62)
After
==== test finished, terminate logcat =====
(0) 2499.58 (10.98%)
(1) 20145.66 (88.51%)
(2) 103.17 (0.45%)
(3) 0.00 (0.00%)
(4) 0.00 (0.00%)
(5) 0.00 (0.00%)
(6) 0.00 (0.00%)
(20) 0.00 (0.00%)
Total 22761.98 (sum of others 22748.42)
Change-Id: I662cb361ff9205ef87d640c458b8473df7d54659
2012-11-27 20:11:29 +09:00
Ken Wakasa
b543c9c1bc
Fix liblog declaration in Makefile to make it more NDK-build friendly
...
Change-Id: I1459124b84e1db9df13700514f8029851bc21c97
2012-11-27 12:28:11 +09:00
Ken Wakasa
11bb2ffd4a
Tidy up SORTED_CHAR_MAP a bit more for obvious Latin chars
...
Change-Id: Ia18eacf4ad3ea882e4ec3cdfebc7f662503660d9
2012-11-26 19:31:09 +09:00
Ken Wakasa
2d27ca6ce3
Update SORTED_CHAR_MAP[] in char_utils.cpp
...
Change-Id: I683793a0fd0ccf41f5a378275ef11def4e70ce76
2012-11-26 17:17:16 +09:00
Satoshi Kataoka
9af533538e
Calculate point to point duration
...
Change-Id: I4e0cabdbc628658619b7a71dc66aa3bf8a5030b2
2012-11-22 17:03:09 +09:00
Jean Chalard
41a77f9e6e
am 37fbcb0d: am 6d471258: am c9349db1: Merge "Add a constant for S_INT_MIN" into jb-mr1.1-dev
...
* commit '37fbcb0ddf2bf61f0e432534b671596b1b6f897e':
Add a constant for S_INT_MIN
2012-11-20 19:41:28 -08:00
Jean Chalard
592f2b315f
Add a constant for S_INT_MIN
...
This is necessary for I807ae4bd
Bug: 7491364
Change-Id: I46ee92a76eb65e80b64538d0300b718eac6a3ddb
2012-11-20 21:25:46 +09:00
Ken Wakasa
249a614ab7
Tentatively suppress -Winline for gcc 4.7
...
bug: 7584718
Change-Id: Ifcb7b6dbb5f0025fa3c44ef6023a95bd91452bc8
2012-11-20 10:27:36 +09:00
Ken Wakasa
97ff1714e2
Tidy up the base char map
...
Change-Id: I1c3119c5db35faaf73180f17a0888224e301c121
2012-11-19 00:24:45 +09:00
Satoshi Kataoka
b5b434d867
Merge "Cleanup speed related code"
2012-11-16 02:46:12 -08:00
Satoshi Kataoka
feec20a692
Cleanup speed related code
...
Change-Id: Id6ea99a9e28f20f3ac34b9bfdac1bf62fd7a9a5d
2012-11-16 19:44:14 +09:00
Ken Wakasa
fe9ec6bc7d
Remove unused variables
...
Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
2012-11-16 19:28:56 +09:00
Satoshi Kataoka
f25cc4405e
Fix debug logs
...
Change-Id: Ie7dc32f28915df62a7c31bdaed38c0ad7a4b0f1c
2012-11-15 22:48:20 +09:00
Ken Wakasa
1ce96fecf5
Fix debug build error
...
Change-Id: Id18d72093a36d41859744f98238b3b761ddb667e
2012-11-15 19:14:36 +09:00
Jean Chalard
b240c38ea2
Merge "[DO NOT MERGE] Correct a wrong base character in Russian" into jb-mr1.1-dev
2012-11-14 20:34:15 -08:00
Ken Wakasa
aef0acdbe0
DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKE
...
Cherrypick of I67a431d8
bug: 7539944
Change-Id: I0d1f9649f30c36b8e464944a5b881c2cb9c05ccf
2012-11-15 00:54:53 +09:00
Ken Wakasa
e3fc8bc54d
Fix an error in the base char table for LETTER L WITH STROKE
...
bug: 7539944
Change-Id: I67a431d8d60f3236fb7d616504c5d0cf2166f486
2012-11-14 20:07:16 +09:00
Jean Chalard
7c5b89a4d0
Correct a wrong base character in Russian
...
This is the master counterpart of I80cee4b2
Bug: 7516306
Change-Id: I1db4362bf12a98542c5f6fca3ae8010f16bd61a9
2012-11-14 17:09:41 +09:00
Jean Chalard
f1d0b2b911
[DO NOT MERGE] Correct a wrong base character in Russian
...
Bug: 7516306
Change-Id: I80cee4b2b11e5bfa68c12923049cb612abd0bc7e
2012-11-14 15:50:28 +09:00
Ken Wakasa
ee05f3f5b7
Cleanup basechars.cpp
...
Change-Id: I7b88876f60720182910fab97ef79f3d04fbd81f0
2012-11-10 19:38:26 +09:00
Ken Wakasa
f775bf3b6f
Fix a build error in x86 builds
...
Change-Id: I64a7c35d01540eb63f09cacddaab03f95729ed02
2012-11-07 07:52:34 +09:00
Ken Wakasa
5f2fa6b82c
Tidy up visibility of members of BinaryFormat.
...
Change-Id: I38a00076b82de8e1a19209c67954fe01585f7943
2012-11-05 20:16:52 +09:00
Ken Wakasa
6e66349ed1
Adjust compiler warning options with the offdevice Makefile
...
Make use of AK_FORCE_INLINE for -Winline and better performance
Change-Id: If0016e2ef61c1fe007c83bb1a5133a6b6bde568e
2012-11-05 14:26:53 +09:00
Ken Wakasa
19d844c7a7
Follow up to Ic6af0c596374d936d2b9b31e626fb62bd265ce64
...
Tidy up inline functions with AK_FORCE_INLINE. Moved back some inline methods to header files.
Change-Id: Ibd37b595666ebddda198d9237f19f6712653a8e8
2012-11-03 00:29:40 +09:00
Ken Wakasa
2c2f3a90d8
Add more compiler warning flags
...
Change-Id: Ic6af0c596374d936d2b9b31e626fb62bd265ce64
2012-11-02 18:29:26 +09:00
Ken Wakasa
a323fa6746
A small code cleanup in geometry_utils.h
...
Change-Id: Ie9ff77c661693a1e21d0aa4cfc079bfbf3171f49
2012-11-02 12:25:19 +09:00
Ken Wakasa
44d9c1ebfc
Use sizeof() more safely.
...
Change-Id: I7cffb4d8da847b483cf4bb482508e3c88c4903be
2012-11-01 17:29:50 +09:00
Ken Wakasa
1e61493c50
Use 32-bit code points for suggestions output
...
This is a multi-project commit with Ic43dd666
bug: 6526418
Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc
2012-11-01 00:09:51 +09:00
Ken Wakasa
fd08cd498e
Adjust C++ compiler warning flags with the off-device TRT
...
Change-Id: I031d191f8de99789fa0c000c01d61baffa2d3627
2012-10-29 18:22:53 +09:00
Jean Chalard
5f9e008d60
am 005f3768: am 25b4a14e: am d03e065b: Don\'t consider non-words for split word suggestion
...
* commit '005f3768400ce1d7bb29ef69151183084aceeb2c':
Don't consider non-words for split word suggestion
2012-10-17 17:06:11 -07:00
Jean Chalard
d03e065b86
Don't consider non-words for split word suggestion
...
Bug: 7368683
Change-Id: Iecd8348be788e5a749dafabdf7eddc4a14d901e0
2012-10-18 07:28:18 +09:00
Keisuke Kuroyanagi
350309aeb8
Evaluate score by alignNextKeyToPath for not in the dictionary word.
...
Change-Id: I68d30e734f8b4f629797d73d6b4745e967bdb09d
2012-10-12 19:46:23 +09:00
Keisuke Kuroyanagi
1e06a4d8e9
Improve gesture input scoring method 3.
...
Change-Id: I3142cb5ec922e661f0d7c1e1706de6015360b2ff
2012-10-12 13:55:30 +09:00
Keisuke Kuroyanagi
ff74cc3e5e
Improve gesture input scoring method 2.
...
Align next key to path bases its scoring method on probabilities.
Change-Id: I5247c965b92c0052bfdab8a9b1027bc86eb33218
2012-10-11 13:08:06 +09:00
Ken Wakasa
3873d36128
am 00f3d809: am a62a1926: am 471252b9: Merge "Fix a bug in multiple shortcut handling code." into jb-mr1-dev
...
* commit '00f3d8094733de407c9cd2669bf579a4d7740328':
Fix a bug in multiple shortcut handling code.
2012-10-09 08:53:55 -07:00
Jean Chalard
516f9d6ea4
Fix a bug in multiple shortcut handling code.
...
Bug: 7301525
Change-Id: Ib38f5ab4b7e4f7996bccbc6830d46f52fd71c6f9
2012-10-09 20:24:13 +09:00
Keisuke Kuroyanagi
806eba4524
Improve gesture input scoring method 1.
...
Calculate probabilities for each points in advance.
It enables to input not in the dictionary word.
Change-Id: I8d84642045dc3b8ad49719d9b70dda14457995cd
2012-10-09 19:58:20 +09:00
Ken Wakasa
b02ee3d67a
Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused parameter.
...
Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09
2012-10-09 11:17:50 +09:00
Satoshi Kataoka
448e732272
Follow up change for I5f166a738f6e84a1b807be
...
Bug: 7283955
Change-Id: Iec716d75e7c8a727b198688f44ef4a8cd1255ec1
2012-10-05 21:39:28 +09:00
Satoshi Kataoka
441b3e5a90
Fix addtional proximity correction
...
Change-Id: I3125764b98af28ce423dc12cbf0dac321ef22386
2012-10-05 20:54:57 +09:00
Ken Wakasa
5150e154f0
Cleanups in LatinIME native source code
...
Change-Id: I9b5e57583deb2d0c980e66c3dfbfd1e12734bc8e
2012-09-27 19:23:38 +09:00
Tom Ouyang
4d1f3d11db
Merge "Make gestures work correctly on keyboards with accented keys" into jb-mr1-dev
2012-09-26 22:50:50 -07:00
Tom Ouyang
f34ec5aa95
Make gestures work correctly on keyboards with accented keys
...
Examples: Spanish, Russian
Bug: 7225962
Change-Id: I6887bc6d81b84e4a73a74de679b955f7abf0ba4f
2012-09-25 19:36:44 -07:00
Tom Ouyang
edd5b7365f
Fix lower case conversion bug for some characters
...
Bug: 7232296
Change-Id: Iaf3f6be55f1bdc2294533938bb54fedcf25fb0cb
2012-09-25 19:30:09 -07:00
Keisuke Kuroyanagi
4d75fe9bca
FIX: Wrong way to gesture speed calculation.
...
This is a follow-up to bug: 7165929
Change-Id: I7ad2bbd1f6ef1f74ea8770585f584d4232cb40b5
2012-09-25 13:03:56 +09:00
Satoshi Kataoka
089c7d43c7
Merge "Use touch position correction in the geometric input" into jb-mr1-dev
2012-09-24 20:27:14 -07:00
Satoshi Kataoka
0edab9d2fc
Use touch position correction in the geometric input
...
bug: 7108161
Change-Id: I72d51bcfa26f241bec8fa907d64384e7eebe5c5e
2012-09-24 21:58:16 +09:00
Keisuke Kuroyanagi
2866106959
Using relative speed instead of duration rate for gesture input distance calculation.
...
bug: 7165929
Change-Id: I94fe18c57bf19fe58b5050f2c7b3085c6cba6fa8
2012-09-24 20:02:57 +09:00
Tom Ouyang
a811938d40
Refine gesture point duration calcuation to be more localized
...
Bug: 7165929
Change-Id: I3bb1c2622338023626fe4a879e43a86ac8fd0707
2012-09-19 10:54:52 -07:00
Keisuke Kuroyanagi
41f12ee27b
Simplify distance calculating method for gesture input.
...
Change-Id: Ic466b787b6cc60e6d23b67c8a7f84ad4d0b521c7
2012-09-19 15:46:00 +09:00
Ken Wakasa
246d227c5d
Fix offdevice full debug build crash
...
Change-Id: I7640863738d1548f7d9cf4b95c4a0d896eb667d7
2012-09-19 01:23:45 +09:00
Ken Wakasa
764dd71203
Stop using GNU extension in-class initializer for non-integral members
...
Change-Id: Ibc8f1c67aba91bdfeceef763ac82d61cc8d2efe1
2012-09-16 01:23:56 +09:00
Ken Wakasa
03dc8fe141
Use more int values in ProximityInfoState::getPointScore()
...
Change-Id: If2f8ce3c7211d28161d64acbad10e3b2abb8e634
2012-09-14 20:35:20 +09:00
Keisuke Kuroyanagi
1cd7ca9919
Using isSkippableChar instead of '\'' and '-'.
...
Change-Id: I295a72b683b2ebc28a006baa66baf7e1b97100eb
2012-09-14 18:03:10 +09:00
Tom Ouyang
0e301bdc29
Merge "Generalize incremental recognition to non-Latin languages" into jb-mr1-dev
2012-09-13 02:26:54 -07:00
Satoshi Kataoka
f4554d8b10
Fix an issue on FP calculation diff of osx and linux
...
sugar on mac
result_type=1 expected=<1093> actual=<1047>
result_type=4 expected=<730> actual=<698>
result_type=5 expected=<177> actual=<173>
sugar on linux
result_type=1 expected=<1093> actual=<1047>
result_type=4 expected=<730> actual=<698>
result_type=5 expected=<177> actual=<173>
Change-Id: I4cd39becb0de4076dd37d870adda6463a96de424
2012-09-13 15:13:02 +09:00
Tom Ouyang
132168519e
Generalize incremental recognition to non-Latin languages
...
Bug: 7043019
Change-Id: I9a26f74177d4f8f03b7b65e2e255e4087d5ef8d9
2012-09-12 20:09:18 -07:00
Satoshi Kataoka
9182daf98c
Output detailed log in ProximityInfoState
...
Change-Id: If6a254e2a116d1b6812f448d38139b7656168be6
2012-09-12 12:19:47 +09:00
Satoshi Kataoka
040f1c50bf
Merge "Debug flag" into jb-mr1-dev
2012-09-11 01:08:36 -07:00
Satoshi Kataoka
952ec4977d
Debug flag
...
Change-Id: Ied846162fd5052a33fd3c8596e73dfdd48c446ee
2012-09-11 17:04:10 +09:00
Ken Wakasa
41c2765b44
Remove an unused file.
...
Change-Id: I422d27aae063c4eb17d0e00277cf4492e5b4986e
2012-09-11 14:55:08 +09:00
Satoshi Kataoka
d45c0faec3
Add debug utils for geometric input
...
Change-Id: If01bd5593cfc7428572aa43253d6d72409ac6b8e
2012-09-10 19:36:38 +09:00
Satoshi Kataoka
23a57eafbb
Add DEBUG_GEO_FULL flag
...
Change-Id: Ibf8eb5fc2056fd138e9e6af1c13fbc065b44a6f1
2012-09-10 17:59:17 +09:00
Ken Wakasa
5964d4e607
Variable type cleanups
...
Change-Id: I5d892494200c09f8cb8a46c327c29bbd63eab093
2012-09-10 16:49:36 +09:00
Satoshi Kataoka
1c8fc83dce
Fix backtrace tool
...
Change-Id: Icc0e8ad94331e62a569183fa05ada335dcc5e26a
2012-09-10 12:54:42 +09:00
Keisuke Kuroyanagi
096f35ff4b
Fix the condition of continuation for gesture input and make ProximityInfoState incremental.
...
Change-Id: I69ad295b660e0c4ba5bb29c8d3d8805291ec43a8
2012-09-07 21:04:12 +09:00
Ken Wakasa
b85df9d5ef
Merge "Fix bug of sampling and become to save corner points for geometric input." into jb-mr1-dev
2012-09-07 00:03:44 -07:00
Keisuke Kuroyanagi
aba26e4f63
Fix bug of sampling and become to save corner points for geometric input.
...
Change-Id: I6278a1f7fdcc897c1d6c8d4c8e53730087cc2e5e
2012-09-07 16:02:18 +09:00
Ken Wakasa
7914e907b5
Add comments for meaningless lines
...
Change-Id: I20ebe246f6980fd3054c2c7e98b5150eaabbcc77
2012-09-07 08:55:16 +09:00
Satoshi Kataoka
3051966b8c
Merge "The processNextKey becomes to use actual average duration." into jb-mr1-dev
2012-09-06 05:33:56 -07:00
Keisuke Kuroyanagi
3811a28ddc
The processNextKey becomes to use actual average duration.
...
Change-Id: I35d8915eb113e513ce8c9f979dbdb8b0b013db50
2012-09-06 20:55:45 +09:00
Jean Chalard
18ebba3a66
Fix one-off bugs reported by Valgrind
...
Bug: 7108990
Change-Id: I40ba30f50a26b65bcac905fc005ad6bb9cb034cc
2012-09-06 20:37:55 +09:00
Satoshi Kataoka
cde005c05e
Fix apostrophe issue
...
Bug: 7109083
Change-Id: I47275b1bd5fae023981cae502628f5a8284f49ce
2012-09-05 20:32:35 +09:00
Tom Ouyang
8c220a0aa2
Fix bug that can cause unexpected off-keyboard chars to appear as suggestions.
...
Bug: 7050587
Change-Id: I59ea659a411ab966380fadd3f7f9df3f0866192f
2012-09-04 22:22:43 -07:00
Ken Wakasa
d86d313b31
Fix variable type
...
Change-Id: Ifbee00119ff9801d480ca97bf2aedbb25be25bf4
2012-09-04 20:29:38 +09:00
Keisuke Kuroyanagi
95a49a527a
Restricting children for gesture input.
...
Change-Id: Id2607ef48e67685b0a71b8c628663eceb6b6fe95
2012-09-04 17:00:24 +09:00
Ken Wakasa
f2789819bd
Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness().
...
This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25
Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4
2012-09-04 14:23:37 +09:00
Satoshi Kataoka
1a397ececf
Merge "Add backtrace tool" into jb-mr1-dev
2012-09-03 05:00:33 -07:00
Satoshi Kataoka
5540acb676
Add backtrace tool
...
Change-Id: I2795bedf8d8fd545ae411e74b65770d520c715c4
2012-09-03 20:59:05 +09:00
Keisuke Kuroyanagi
d9c10b1979
Smart sampling for geometric inputs.
...
Gesture:
+1 227
-1 131
+2 0
-2 0
+3 0
-3 0
+4 261
-4 167
+5 73
-5 263
+6 0
-6 0
+7 0
-7 0
Gesture incremental:
+1 228
-1 127
+2 0
-2 0
+3 0
-3 0
+4 269
-4 167
+5 68
-5 271
+6 0
-6 0
+7 0
-7 0
On device:
0: all, 1:initialize
(0) 56285.82 (99.99%)
(1) 3886.59 (6.90%)
->
(0) 42795.78 (99.98%)
(1) 3916.80 (9.15%)
Change-Id: I3eed99cbd75b22fd2d8b5404a4f7e0972f284a85
2012-09-03 17:50:46 +09:00
Jean Chalard
72b1c93941
Reinstate the shortcut-only attribute
...
Also add the blacklist attribute
Bug: 7005742
Bug: 2704000
Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d
2012-08-31 22:11:52 +09:00
Jean Chalard
07aea409ba
Fix a bug giving broken characters
...
Bug: 7050587
Change-Id: I54ff7e680c228e78236567bb79832a43086b70c6
2012-08-29 20:13:30 +09:00
Satoshi Kataoka
95c272596d
Merge "Step 40-A Cleanup touch path" into jb-mr1-dev
2012-08-27 01:02:25 -07:00
Satoshi Kataoka
923a6a31ae
Merge "Revert "Change the definition of NOT_A_CHARACTER"" into jb-mr1-dev
2012-08-27 00:58:25 -07:00
Satoshi Kataoka
fba0019ee2
Revert "Change the definition of NOT_A_CHARACTER"
...
This reverts commit a31d180cc3
Change-Id: Ifd753d2d2ac5092dd47e22a8829c1cc416d99ea5
2012-08-27 00:53:48 -07:00
Satoshi Kataoka
37b153e205
Step 40-A Cleanup touch path
...
Change-Id: Id22c5ae6afbf040227dc47153b0849bbe38ff66f
2012-08-27 16:30:59 +09:00
Satoshi Kataoka
76951d8e5a
Merge "Change the definition of NOT_A_CHARACTER" into jb-mr1-dev
2012-08-26 20:32:28 -07:00
Satoshi Kataoka
a31d180cc3
Change the definition of NOT_A_CHARACTER
...
Change-Id: I519b1e5478abefb1c18cb6e3ab2862be045583de
2012-08-27 12:27:53 +09:00
Ken Wakasa
297f239196
Try using hash_map
...
Change-Id: Icac47d03e1355e83b4dd3b0e3d7739f1dd5a3b98
2012-08-26 18:39:15 +09:00
Ken Wakasa
0d63e6ea84
Fix initialize order.
...
Change-Id: I2686540bc6ed858e6d7ddc05a962c93714b94e1d
2012-08-25 00:03:16 +09:00
Ken Wakasa
162c211b44
Address warnings by -Weffc++
...
Change-Id: Icd60f1ed2ace0b975d8785bc8a386c7944846075
2012-08-24 23:50:39 +09:00
Satoshi Kataoka
08f00cf55f
Step 39-A Cleanup proximity_info_state
...
Change-Id: I6070929f310f7dc6359d12d62e81d2e2e032c38e
2012-08-24 17:52:36 +09:00
Satoshi Kataoka
233aad5e5c
Refactor
...
Change-Id: I907126034d9cc821df8353a78f713638dfc322d6
2012-08-24 14:45:54 +09:00
Satoshi Kataoka
687a244703
Step 38-A Cleanup touch path
...
Change-Id: I9bfac98b9ac10f3812290f21673c4002241eae01
2012-08-23 18:15:43 +09:00
Ken Wakasa
de8a9a8227
Small cleanups
...
Change-Id: Ib66507b8934bc8019a762d24d5311411e044ec84
2012-08-17 13:06:28 +09:00
Jean Chalard
8af8c15c6b
Allow one-character suggestions.
...
Bug: 6906525
Change-Id: I62117653ac1281f825afc4ebb30f7e786902b750
2012-08-17 11:10:58 +09:00
Jean Chalard
3083b4b77d
Merge "Fix a debug method" into jb-mr1-dev
2012-08-16 17:59:11 -07:00
Jean Chalard
cc1062cfd0
Fix a debug method
...
Change-Id: Icf78fb0d5f7caea78f053fffd1ecd4289629964a
2012-08-17 09:24:45 +09:00
Ken Wakasa
fee0ac60b1
Cleanup and fix method visibility.
...
Change-Id: Ia9e8c69da21ce22bf674ec6c7b2536008a360ea3
2012-08-16 19:34:02 +09:00
Satoshi Kataoka
f6be15cffe
Step 30-A Constize gesture
...
Change-Id: I6c0b89d96532dc1c8ca71bb730ba22de5592ec67
2012-08-15 17:21:53 +09:00
Ying Wang
50eadf7985
Retire LOCAL_NDK_VERSION.
...
Bug: 6932421
Change-Id: I6cb8cdb3869c9c1c3d908f9c182e6f634ae76322
2012-08-14 12:07:28 -07:00
Ken Wakasa
267030dd82
Cleanup casts.
...
Change-Id: I3bf33ca407cc3bee9f5c4c6f929cdb1421b92c50
2012-08-14 19:03:09 +09:00
Ken Wakasa
34710b03e6
A couple of cleanups. Remove unnecessary casts.
...
Change-Id: Ice530aa83a9a688da35aec408be2a60242699157
2012-08-14 18:07:32 +09:00
Satoshi Kataoka
e7398cdb2b
Step 26-A Cleanup geometory_utils
...
Change-Id: I839c498c85009a5d6428a71f121a2906fd667db8
2012-08-14 03:39:14 +09:00
Jean Chalard
8c12bd87cc
Merge "Tag the whitelisted entries in native code." into jb-mr1-dev
2012-08-13 03:24:47 -07:00
Ken Wakasa
0fb950858e
Cleanups in geometry_utils.h
...
Change-Id: Ic051703e5b67adfc62753ebd9ab254296719c6e9
2012-08-13 17:47:00 +09:00
Jean Chalard
b14fc88e48
Tag the whitelisted entries in native code.
...
Since this is already used in Java land, this actually does
activate the whitelist path, and the code is now fully
functional. We still have to remove the old whitelist resource
and to compile the dictionary that includes the whitelist.
Bug: 6906525
Change-Id: Iacde5313e303b9ed792940efaf6bcfa4ee1317bd
2012-08-13 16:35:59 +09:00
Satoshi Kataoka
f144cc61cc
Merge "Step 24-A remove setdict" into jb-mr1-dev
2012-08-13 00:20:12 -07:00
Satoshi Kataoka
ddb12ea63a
Step 24-A remove setdict
...
Change-Id: Iab28bf0fd785b9e81fc86837e64a1ef2e315a229
2012-08-13 14:32:17 +09:00
Ken Wakasa
507113a1bb
Fix typo in include guard macro, and some cleanups.
...
Change-Id: I455f6a52667b1c6ae5eb9f58b3494dd87eb2c3f5
2012-08-13 11:51:37 +09:00
Ken Wakasa
bcec82de66
Clean up constructors
...
And, use C++ style casts and use float math functions rather than double ones to save memory space.
Also, stop using FloatMath and NativeUtils as standard Math methods are faster now.
See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700
multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a
Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
2012-08-13 10:48:37 +09:00
satok
847c8dfe17
Fix JNI
...
Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
2012-08-11 13:54:01 +09:00
Ken Wakasa
063c3e2171
Fix memset() bugs
...
Change-Id: Icf4341c0a62e782cf8c2a863408591df4e6f07cb
2012-08-10 22:13:21 +09:00
Ken Wakasa
f3850e5543
Use JNI Region calls also in getSuggestions()
...
Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
2012-08-10 21:09:23 +09:00
Satoshi Kataoka
f6c2200890
Workaround to stop init dict traverse session
...
Change-Id: I3d46c54a96a9fc0359ef75b9d2f8590b44164a8b
2012-08-10 21:07:53 +09:00
Satoshi Kataoka
0f4de30e58
Fix a bug on jni of DicTraverseSession
...
Change-Id: Ieeac36cbad9a99d15911f2e6e2e841cae38ecb9b
2012-08-10 20:13:57 +09:00
Satoshi Kataoka
88dfeb30bf
step 23-A remove unused method
...
Change-Id: I382c654fd30aca1a3277a186ee25fc946449c639
2012-08-10 19:35:04 +09:00
Satoshi Kataoka
c14d55a289
Merge "Step 22-A implement session" into jb-mr1-dev
2012-08-10 02:06:05 -07:00
Satoshi Kataoka
6b4a1d79eb
Step 22-A implement session
...
Change-Id: Ida63382ffb756e20cc5b17c2702d2895e7e6e889
2012-08-10 18:06:04 +09:00
Jean Chalard
dc2fb6bc6d
Merge "Pass the type from native code all the way to Java." into jb-mr1-dev
2012-08-10 01:26:59 -07:00
Jean Chalard
926ef06a1e
Pass the type from native code all the way to Java.
...
Bug: 6906525
Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
2012-08-10 15:51:55 +09:00
Satoshi Kataoka
e9f3e182e4
Add arguments for dic traverse session
...
Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
2012-08-10 12:34:00 +09:00
Ken Wakasa
5bb4206275
Use more JNI Region calls
...
Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
2012-08-10 00:46:20 +09:00
Ken Wakasa
04a89132e9
Use GetStringUTFRegion for filename
...
Change-Id: I2e9ad092ccf4c23c1c6b71916c962994314d37b6
2012-08-09 23:27:58 +09:00
Ken Wakasa
9e0c711a62
Stop using STL string in additional_proximity_chars
...
Change-Id: Ic016fd5983b8855b0fd9506a17b205db86af3a2f
2012-08-09 22:28:57 +09:00
Ken Wakasa
805ac949d2
Fix string.compare() logic. It happens to be working luckily.
...
Change-Id: I262c6d5779124e5b09ad1a66ca3c9ddb2fc6d7d5
2012-08-09 19:36:58 +09:00