Commit Graph

618 Commits (2bac6309593bda8c7193dea40493296fedde4592)

Author SHA1 Message Date
Satoshi Kataoka cbb816d1b0 Refactor skippable code point
Change-Id: I5477b6e5d29d1f0b9c2fd5a495be77cf5f2fbaee
2013-03-13 19:04:16 +09:00
Satoshi Kataoka f4425aaae9 Refactor ProximityType and CorrectionType
Bug: 8277656
Change-Id: Ia7940bbf81fcf4ff5eb7869b105d98aa34155d33
2013-03-07 13:23:02 +09:00
Tom Ouyang 2192d08b9c Remove unused scale parameter from getPointToKeyLength()
Change-Id: I7bbe1b68264a389923f8a19bb37646c8ab0cb46f
2013-03-06 18:30:43 -08:00
Ken Wakasa 042020b05f Make Cyrillic Hard Signs base letters of Soft Signs per cyrillic
keyboard layouts

bug: 8269407
Change-Id: I52962ef1b6cbec125f6cfd3afc110fcbb06409df
2013-03-05 20:09:02 +09:00
Satoshi Kataoka 830ba67498 refactor MAX_POINT_TO_KEY_LENGTH
Change-Id: I3b44068bce784531516f3cdfe67b3b46b1f1b805
2013-03-05 15:10:09 +09:00
Satoshi Kataoka d870891170 Add CorrectionType
Change-Id: Ibbad8476be40e322cadfbf9636a13e575338ec1d
2013-03-04 17:47:47 +09:00
Satoshi Kataoka 697a9d3541 Cleanup getProximityType
Change-Id: I89c5871bbcf0fe3d5f50052e8f64932d8efbce94
2013-03-01 20:22:29 +09:00
Satoshi Kataoka fd0e93295f rename define
Change-Id: I4767eff187c76541648cc066a88293e46a90f033
2013-03-01 19:05:04 +09:00
Satoshi Kataoka a406f803bc add a default vaule for getMatchedProximityType
Change-Id: Id940f1226ca493d0a1b82e2810b1882184ef8987
2013-03-01 12:36:35 +09:00
Tom Ouyang c95d005c8a Merge "Use common incremental decoder output scale." 2013-02-22 04:19:34 +00:00
Tom Ouyang 31f7ece470 Use common incremental decoder output scale.
Change-Id: Ib6bd7be45be9229a075b6a8feb46c67ec75a9b06
2013-02-21 15:42:44 -08:00
Satoshi Kataoka 2b47513de1 Merge "add defines" 2013-02-21 13:30:08 +00:00
Satoshi Kataoka bc25b80525 add defines
Change-Id: I8bc009bf258cbdf01e15dc63a7a8afad47db5d96
2013-02-21 21:59:28 +09:00
Satoshi Kataoka d1fff1adcc Add debug output
Change-Id: I45fd249a6536e438125782e6e7800760f8e8d426
2013-02-20 15:53:44 +09:00
Satoshi Kataoka f9097056f2 Merge "clean up seach key vector" 2013-02-14 08:47:53 +00:00
Satoshi Kataoka e5cdd21102 clean up seach key vector
Bug: 8197301

Change-Id: I6a67d2914bd44b3ceca655adcd65c9c42796b026
2013-02-14 17:04:34 +09:00
Ken Wakasa d74214d726 Prep for GCC 4.6 that will be used in unbundled branches
Change-Id: I31c1d1bc573ee10779efce0f221d378ad758e9ca
2013-02-13 19:56:19 +09:00
Tom Ouyang 625778fd36 Add keyboard hypotenuse metric to ProximityInfo.
Change-Id: If4a23041b460326a579e8b8cab20b5c027441e23
2013-02-08 14:13:01 -08:00
Ken Wakasa ee456af9d4 Cleanup in ProximityInfoParams
Change-Id: I4302e3cb2470cee32f9ac2f04e0837fff67ce0cd
2013-02-01 19:59:40 +09:00
Ken Wakasa 0ae5b07b3b Yet another cleanup in ProximityInfoParams
Change-Id: Ice5f5e519f4ccd2e6035010b8fe6b2296ef658d7
2013-02-01 17:01:55 +09:00
Ken Wakasa 28c008421c Cleanup in ProximityInfoStateUtils
Change-Id: I416c0f0a5da6ce69c4ca1e848168e47b83d6597a
2013-02-01 15:51:48 +09:00
Ken Wakasa 4920d370f2 Cleanup in ProximityInfoStateUtils
Change-Id: Ifce1c4a2c8b8859c1723ebe01023211a9f495b2f
2013-01-31 20:22:22 +09:00
Satoshi Kataoka 4fab43dd14 Merge "remove unused function" 2013-01-31 09:27:59 +00:00
Satoshi Kataoka ea9d2fa1cd remove unused function
Change-Id: I7dbcf2926801279a286980f6a650f63722890cea
2013-01-31 18:24:25 +09:00
Ken Wakasa 871b8c9352 Cleanups in defines.h
Change-Id: I75ab11e0d6374a2d1302d1684453a61b98682b13
2013-01-31 18:13:27 +09:00
Ken Wakasa a8ce88bf44 Remove meaningless assertion
Change-Id: I8c12a11e54e084cc0554c54cecb441e96a03df08
2013-01-31 12:02:26 +09:00
Ken Wakasa 5e21ac60b0 Small cleanups in binary_format.h
Change-Id: I6049a2f312b7d53a3ffa688ddca5731004784ebe
2013-01-30 23:56:50 +09:00
Satoshi Kataoka 99eae8e984 refactor
Change-Id: If5a59667cf3b9dc0c4d7423d2cf4ab640bdacf49
2013-01-30 20:56:10 +09:00
Ken Wakasa 6e2ba9b01e Remove unnecessary maxProximityCharsSize
Change-Id: I8013004c1db2a4133795a0e41edea1a41b770cfd
2013-01-30 19:24:03 +09:00
Ken Wakasa a47c699faa Just cosmetic fixes
Change-Id: I85e9454d774162df46a29791eb562d0cedaff78e
2013-01-30 18:37:58 +09:00
Ken Wakasa cffb3126ac Small cleanups
Change-Id: I3e5862a405b4c63616c7ea947cd53c52b5035862
2013-01-30 01:19:29 +09:00
Ken Wakasa ca008d82d4 Some more misc cleanups
Change-Id: I88cb6d38d73a2a68ade2f2190910f4733cd7b668
2013-01-29 20:28:58 +09:00
Ken Wakasa e599d7e317 Misc cleanups
Change-Id: Ie4f03f082097f913056308f02c6e15d5b11f84e8
2013-01-29 19:20:04 +09:00
Ken Wakasa 19e13df91f Remove a duplicated method
Change-Id: I41bd0612bf42d549d1acf0d733b689fce68aa8a1
2013-01-29 14:49:45 +09:00
Satoshi Kataoka 20b6775acc Refactor most probable string
Change-Id: I96597decf5e36d9ce088c34427915f2379255054
2013-01-24 21:48:42 +09:00
Satoshi Kataoka 447e96c057 Merge "add a function to char utils" 2013-01-24 07:42:20 +00:00
Satoshi Kataoka 75070a519a add a function to char utils
Change-Id: Id0b45a824a4655d8aba1bf6e1c6df3acd2cbe850
2013-01-24 16:26:58 +09:00
Satoshi Kataoka 7324052ad7 Merge "Refactor proximity info" 2013-01-24 06:41:20 +00:00
Satoshi Kataoka 9d18c6dd38 Refactor proximity info
Change-Id: Ie9ea10fe6850721dd7fe64ffc05edc68f2217d2e
2013-01-24 15:32:47 +09:00
Ken Wakasa e3ee50c321 Merge "Adjust debug warning log" 2013-01-23 10:48:12 +00:00
Ken Wakasa e9e4fa5af6 Adjust debug warning log
Change-Id: I1ea4be3e8bf29f9fd1ad89795eace440a5159559
2013-01-23 18:53:25 +09:00
Satoshi Kataoka e5aad56463 Refactor proximity info state
Change-Id: I00e0618d95d20e5bf5c9e6481e4d3037723785f7
2013-01-23 17:32:56 +09:00
Satoshi Kataoka e2912d17e4 Refactor proximity info state
Change-Id: I4c68457c6b70fe8136ba4fd644f2bb0a2c0e5210
2013-01-23 15:19:03 +09:00
Satoshi Kataoka d7a8fbf6a9 refactor proximity info state
Change-Id: Iaf0c0fb7858358209fa12145777f158e0285bc27
2013-01-22 17:54:42 +09:00
Satoshi Kataoka d4828d5053 Refactor proximity info state
Change-Id: I30cc0d8f2e48d70e214739a073eabf3a8ea73618
2013-01-22 15:43:05 +09:00
Ken Wakasa 6c22439bf8 Remove MAX_PROXIMITY_CHARS_SIZE_INTERNAL
Change-Id: I18a997503de4033b5341b564145bca862a872098
2013-01-22 13:18:49 +09:00
Satoshi Kataoka ee62b78c96 Refactor proximity info
Change-Id: I668e6abfe202e1a56d59b6b6e58d1b4f003b720a
2013-01-21 22:06:54 +09:00
Satoshi Kataoka 47cc52415e refactor proximity info
Change-Id: I1e37ca655b4c1ba91a04aaf5aea8267cd46b4f43
2013-01-21 18:45:56 +09:00
Ken Wakasa 0c2227ab99 Clean up in geometry_utils.h
Change-Id: I876bceed12cf533cb29d290fbc05a686f4030579
2013-01-21 12:43:16 +09:00
Satoshi Kataoka f32869c6b6 refactor space proximity
Change-Id: I9629986f77ece9addc3a70371679510d99f2659f
2013-01-18 19:36:36 +09:00
Satoshi Kataoka bf78e1371c Refactor proximity info
Change-Id: I96a4eb5cbdb3b2a402e286ac2aff36c3a52482ff
2013-01-18 16:36:36 +09:00
Ken Wakasa f25e7053e5 Follow up to I21b54b35
Change-Id: I3dd5fdd0c7f157724c82f6ddd6d3bea9bc853988
2013-01-16 01:39:53 +09:00
Satoshi Kataoka a04fe20c77 Merge "refactor distance cache" 2013-01-15 02:54:27 -08:00
Satoshi Kataoka a9763f93d7 refactor distance cache
Change-Id: I21b54b356641a63d7be17fd34b9ede7a63ec738a
2013-01-15 19:45:49 +09:00
Ken Wakasa 1ddc1dabe6 Small renaming for consistency
Change-Id: I10c61d441f586e63045f8c7a606a9ee61366d870
2013-01-15 19:13:37 +09:00
Ken Wakasa 6cee61deeb Use -fno-inline for debug builds & small cleanups
Change-Id: I24f91d7130f2203715b868d4a82510660939886f
2013-01-15 16:41:10 +09:00
Ken Wakasa 5db594abba Remove MAX_WORD_LENGTH_INTERNAL
Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071
2013-01-15 12:39:08 +09:00
Ken Wakasa f6870cc82d Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS to MAX_RESULTS
Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
2013-01-11 20:47:42 +09:00
Satoshi Kataoka e4d07ac75a Merge "add a define" 2013-01-09 03:10:20 -08:00
Satoshi Kataoka 5817b6b84f add a define
Change-Id: I8139d0639d07afd200ba4507768bf76d0054687b
2013-01-09 20:08:17 +09:00
Ken Wakasa 8f5f79d7ea Merge "Replace assert() with ASSERT() & use -funwind-tables for debug builds" 2013-01-08 22:47:12 -08:00
Ken Wakasa ccebd5cefe Replace assert() with ASSERT() & use -funwind-tables for debug builds
Change-Id: I9ec14eb24ebc45657119a45aba09517e71a22974
2013-01-09 15:44:48 +09:00
Satoshi Kataoka dd4d938e69 assert when the touch event goes back to the future
bug: 7911739

Change-Id: I29db6a5cb6749999666b1c53857ea61bcc19b8f1
2013-01-09 15:17:11 +09:00
Ken Wakasa aaefc4b30c Yet another small cleanups
Change-Id: Ie940c4d4d9d85c95e2f04ba23f00a54ba3dc53bf
2013-01-08 17:57:26 +09:00
Ken Wakasa a10b1a8844 Misc small cleanups
Change-Id: Iea61e6c76a9a0437a1b2e8143f6ab5b09a8e211e
2013-01-08 17:23:43 +09:00
Andrew Hsieh 20dc9c1fe4 am 5dc24372: am d61f9981: Merge "Add -ldl for new stlport"
* commit '5dc243723bec5ff5d77c5553ac5156980b3748d4':
  Add -ldl for new stlport
2012-12-28 09:47:56 -08:00
Ken Wakasa 07711c10b8 Tidy up GeometryUtils a bit
Change-Id: I33f4042265c0dcc2530cee43c610f73ec99c6792
2012-12-27 16:38:00 +09:00
Andrew Hsieh 5dc243723b am d61f9981: Merge "Add -ldl for new stlport"
* commit 'd61f9981da7ece48b669ae67cad29a770bf61308':
  Add -ldl for new stlport
2012-12-21 15:53:10 -08:00
Andrew Hsieh 5fe05eb5a7 Add -ldl for new stlport
The new stlport in NDK r8d+ supports exception support via gabi++.
The new gabi++ depends on dlopen, etc, meaning that we need to add -ldl
for project links stlport with "-nostdlib -Wl,--no-undefined"
(ie. all *.so in Android)

Change-Id: I7321a075d2852a6a72f82f40bb24d64ec211cf39
2012-12-21 09:25:56 +08:00
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