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
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
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
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
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
Satoshi Kataoka
9182daf98c
Output detailed log in ProximityInfoState
...
Change-Id: If6a254e2a116d1b6812f448d38139b7656168be6
2012-09-12 12:19:47 +09:00
Satoshi Kataoka
952ec4977d
Debug flag
...
Change-Id: Ied846162fd5052a33fd3c8596e73dfdd48c446ee
2012-09-11 17:04:10 +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
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
Keisuke Kuroyanagi
3811a28ddc
The processNextKey becomes to use actual average duration.
...
Change-Id: I35d8915eb113e513ce8c9f979dbdb8b0b013db50
2012-09-06 20:55:45 +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
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
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
Satoshi Kataoka
37b153e205
Step 40-A Cleanup touch path
...
Change-Id: Id22c5ae6afbf040227dc47153b0849bbe38ff66f
2012-08-27 16:30:59 +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
77e8e81ad9
Header cleanup. Moved a couple of functions from .h to .cpp.
...
Change-Id: Ifd12a7632f75395bd0ef5e394d5c2abd6cbe28c6
2012-08-02 20:19:39 +09:00
Ken Wakasa
f1008c5501
Cleanup headers
...
Change-Id: I9124366b2000cad54966fb6936bb4691bbf115a3
2012-07-31 18:45:26 +09:00
Ken Wakasa
0bbb917d12
Cosmetic fixes and style fixes
...
Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc
2012-07-25 18:56:51 +09:00
Satoshi Kataoka
4a3db7057f
refactor native step 2
...
- proximity_info is now stateless
Change-Id: I62725bfe05b161fa8fc050ea6b50867e10a354e2
2012-06-08 18:14:49 +09:00
Satoshi Kataoka
3e8c58f68d
Separate state from proximity_info step1
...
Bug: 6548943
Change-Id: I7b4fbe20615a28151a74875be43b9f4a20e0dce9
2012-06-07 13:35:34 +09:00