Commit Graph

4841 Commits (f108ec110378fa0c1b410e2bf617b7d92188723b)

Author SHA1 Message Date
Tadashi G. Takaoka 2764e1dffe Merge "Remove duplicate logic from KeyboardSwitcher and KeyboardState" 2012-01-16 20:22:34 -08:00
Tadashi G. Takaoka 06b7c256b1 Add "force non-distinct multitouch" debug option
Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
2012-01-17 13:19:01 +09:00
satok a161a4afd6 Use edit distance for transposing correction
+1      73
-1       4
+2       0
-2       0
+3       0
-3       0
+4      11
-4      19
+5       9
-5       3
+6       2
-6      63
+7       2
-7       8

Change-Id: I269cd2386f451f8932e4e0ae66223e794fdfa862
2012-01-17 13:14:35 +09:00
Jean Chalard 25a42b99a5 am a8ba49c2: Small cleanup
* commit 'a8ba49c2534220105ce302a50b3a9ddaf831ef20':
  Small cleanup
2012-01-16 19:08:27 -08:00
Jean Chalard a8ba49c253 Small cleanup
The method deleteWordAtCursor would call finishComposingText,
which is a very unexpected state change and would probably cause
surprising bugs to any parent that would call it.
As it happens, it's not used anywhere any more so let's just
remove it.

Change-Id: Iaa9200866e40b4e914f76baa987279948300679c
2012-01-17 11:55:23 +09:00
Jean Chalard b22f77004a am 72d285f4: Add some comments about resuming auto-suggestion
* commit '72d285f4d758dd1ceafb7d9bd3dd330efd24c1f8':
  Add some comments about resuming auto-suggestion
2012-01-16 18:44:02 -08:00
Jean Chalard 72d285f4d7 Add some comments about resuming auto-suggestion
Bug: 5846646
Change-Id: Ib2c76ec173972eb7acadbfaae7e930849d546721
2012-01-17 10:29:11 +09:00
Tadashi G. Takaoka 83998f7c0b am 16025407: Remove redundant permission tag
* commit '16025407647022db0f1f20bb108d774944d1a978':
  Remove redundant permission tag
2012-01-16 04:15:25 -08:00
Tadashi G. Takaoka 1602540764 Remove redundant permission tag
Change-Id: I717e2fc9dca13096d76c159f8c3bebff065c6ca1
2012-01-16 20:17:18 +09:00
Tadashi G. Takaoka 47d02eddd4 am 4910c962: Merge "KeyboardState unit tests for non-distinct multitouch device"
* commit '4910c9621c3bbf2a80afdd14dafedcad5157f520':
  KeyboardState unit tests for non-distinct multitouch device
2012-01-16 02:33:17 -08:00
Tadashi G. Takaoka 4910c9621c Merge "KeyboardState unit tests for non-distinct multitouch device" 2012-01-16 02:31:37 -08:00
Jean Chalard 99eabc62f1 am c8399997: Merge "Actually add shortcut-only entries."
* commit 'c83999972d309a9a57aac0473e72654bb3ca5438':
  Actually add shortcut-only entries.
2012-01-16 02:25:13 -08:00
Jean Chalard c83999972d Merge "Actually add shortcut-only entries." 2012-01-16 02:23:53 -08:00
Jean Chalard c0bf277fe3 am 382f44f3: Merge "Add shortcut only to xml output."
* commit '382f44f359170740ac668e48eeedf535b4b8928e':
  Add shortcut only to xml output.
2012-01-16 02:22:18 -08:00
Jean Chalard 382f44f359 Merge "Add shortcut only to xml output." 2012-01-16 02:19:59 -08:00
Tadashi G. Takaoka 58e782a225 Remove duplicate logic from KeyboardSwitcher and KeyboardState
Change-Id: I1d331ee7f71501baa4ec2df01df39340499834e4
2012-01-16 19:16:26 +09:00
Tadashi G. Takaoka e47bd3f4fb KeyboardState unit tests for non-distinct multitouch device
Bug: 5708602
Change-Id: Id85db2f8b7b427ba62205f5aaad481a3d33e65fc
2012-01-16 19:14:18 +09:00
Tadashi G. Takaoka 93281dc578 am af951181: Merge "Fix double tap shift key to turn off capslock mode"
* commit 'af951181090339ac5747daa6dd9cd11325b671ad':
  Fix double tap shift key to turn off capslock mode
2012-01-16 02:14:14 -08:00
Jean Chalard 93e154715c am 82ddd168: Stop avoiding adding what the user typed to candidates
* commit '82ddd168893892cfe4366e1e2fa9e9bfeb5478a5':
  Stop avoiding adding what the user typed to candidates
2012-01-16 02:12:19 -08:00
Tadashi G. Takaoka af95118109 Merge "Fix double tap shift key to turn off capslock mode" 2012-01-16 02:12:07 -08:00
Jean Chalard 6145b73523 Add shortcut only to xml output.
Change-Id: I23b53826ce30b0ac81962d2f916514cb60bea6ff
2012-01-16 19:06:37 +09:00
Jean Chalard c599f2e9d6 Actually add shortcut-only entries.
Change-Id: I84bec8fb560cec2ad9cc857397a3f77a96b1d12d
2012-01-16 19:04:37 +09:00
Jean Chalard 82ddd16889 Stop avoiding adding what the user typed to candidates
There does not seem to be any reason other than a historical
one to avoid doing this, but it takes processing power and
makes things more complicated.

This has a very limited impact on regression tests:
5 -> 3 [He,           the]
5 -> 3 [An,           an]
5 -> 3 [Where,        where]
5 -> 3 [This,         this]
7 -> 1 [wAtch,        watch]
6 -> 4 [oveNs,        oceans]
5 -> 1 [Ahere,        Where]
7 -> 1 [Hast,         Hast]
7 -> 5 [bjp,          bill]
5 -> 1 [What,         What]
5 -> 3 [Sound,        So und]
7 -> 3 [causalities,  casualties]
7 -> 3 [discontentment, discontent]
7 -> 3 [irregardless, regardless]

5 -> 1 : 2
5 -> 3 : 5
6 -> 4 : 1
7 -> 1 : 2
7 -> 3 : 3
7 -> 5 : 1

+1       4
-1       0
+2       0
-2       0
+3       8
-3       0
+4       1
-4       0
+5       1
-5       7
+6       0
-6       1
+7       0
-7       6

Change-Id: I6407cf922f27bbd3992df11d63690e71fc61111b
2012-01-16 18:58:10 +09:00
Tadashi G. Takaoka 7bc61ca183 Fix double tap shift key to turn off capslock mode
Bug: 5873562
Change-Id: If1f5ae1684905c1418ae43e55df38509444d29e2
2012-01-16 18:54:25 +09:00
Jean Chalard 082d3f6255 am d64b8c97: Merge "Read the group count correctly from the binary format"
* commit 'd64b8c97fea0ab5dd6d16feef329127dc7ecc833':
  Read the group count correctly from the binary format
2012-01-16 01:14:14 -08:00
Jean Chalard d64b8c97fe Merge "Read the group count correctly from the binary format" 2012-01-16 01:12:00 -08:00
Jean Chalard 9b8b2c757d Read the group count correctly from the binary format
...in makedict, for reverse makedict.

Change-Id: I74774b50998eb605e8091d95cebdda6ad7f5fce3
2012-01-16 18:08:46 +09:00
Tadashi G. Takaoka a6a8f4ef8e am 1f79c876: Merge "Add more KeyboardState unit test cases"
* commit '1f79c87675d3f03691ae949860cdfc5c2f3195ce':
  Add more KeyboardState unit test cases
2012-01-16 01:02:03 -08:00
Tadashi G. Takaoka 1f79c87675 Merge "Add more KeyboardState unit test cases" 2012-01-16 00:59:48 -08:00
satok 53c4248c6f am 67e13976: Merge "Store suggestions for each input length for missing space algorithm etc."
* commit '67e13976b78619ec7bc45b5377a9f5da2534cfd5':
  Store suggestions for each input length for missing space algorithm etc.
2012-01-16 00:20:06 -08:00
Jean Chalard 65b489cd76 am 9c283804: Merge "Write multi-byte chargroup count to the binary dict"
* commit '9c283804efedd0e44f493e8dffd442156e76b69e':
  Write multi-byte chargroup count to the binary dict
2012-01-16 00:20:05 -08:00
Tadashi G. Takaoka 6d5c9c9edc Add more KeyboardState unit test cases
Bug: 5708602
Change-Id: Ib9d2b7a2878f78adecc857fd569fba8965cf4a03
2012-01-16 17:19:54 +09:00
satok 67e13976b7 Merge "Store suggestions for each input length for missing space algorithm etc." 2012-01-16 00:18:37 -08:00
Jean Chalard 9c283804ef Merge "Write multi-byte chargroup count to the binary dict" 2012-01-16 00:18:23 -08:00
Tadashi G. Takaoka 53e3d682d8 am d3f1caec: Merge "Add auto caps function simulation to MockKeyboardSwitcher"
* commit 'd3f1caec0ed2e65fdd489e61c487f61d6f169678':
  Add auto caps function simulation to MockKeyboardSwitcher
2012-01-16 00:15:10 -08:00
Tadashi G. Takaoka d3f1caec0e Merge "Add auto caps function simulation to MockKeyboardSwitcher" 2012-01-16 00:13:35 -08:00
satok 6ad15fcd15 Store suggestions for each input length for missing space algorithm etc.
Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c
2012-01-16 17:11:17 +09:00
Tadashi G. Takaoka 8ece45bb32 Add auto caps function simulation to MockKeyboardSwitcher
Change-Id: I049c224994a37121de031b9fd61edb52eb912e20
2012-01-16 16:30:50 +09:00
Jean Chalard 2c0903b1d1 Write multi-byte chargroup count to the binary dict
Change-Id: I093739933652c1e8c70c06f92077d1e3dbd7d7da
2012-01-16 16:29:37 +09:00
Jean Chalard 06f2692c78 am fe9dca7e: Merge "Read multi-byte char group counts"
* commit 'fe9dca7ec3814956e6e545c383106156f568d047':
  Read multi-byte char group counts
2012-01-15 23:28:07 -08:00
Jean Chalard fe9dca7ec3 Merge "Read multi-byte char group counts" 2012-01-15 23:26:06 -08:00
Tadashi G. Takaoka 44cf7a12f6 am 610a7d90: Merge "Make MockKeyboardSwitcher top level class"
* commit '610a7d904e245625846cb3a754e3d7fe4b5555e6':
  Make MockKeyboardSwitcher top level class
2012-01-15 23:00:48 -08:00
Jean Chalard 4c0eca6e41 Read multi-byte char group counts
Change-Id: Idc62382f1c814e9bd1466c9f7dda1fcc8ba4137d
2012-01-16 15:59:33 +09:00
Tadashi G. Takaoka 610a7d904e Merge "Make MockKeyboardSwitcher top level class" 2012-01-15 22:58:39 -08:00
Jean Chalard 2c8bf65602 am 6d419810: Remove a bunch of obsolete methods.
* commit '6d4198107bb0bcc383d7324fa39098351b5eceda':
  Remove a bunch of obsolete methods.
2012-01-15 22:56:46 -08:00
Tadashi G. Takaoka 549571cf5c Make MockKeyboardSwitcher top level class
Change-Id: I52c1bc237c20b8bd49fca2431b83843a6e2af10b
2012-01-16 15:49:24 +09:00
Jean Chalard 6d4198107b Remove a bunch of obsolete methods.
Change-Id: I218007bf411489d1d648fd9b8b408c5d27c41811
2012-01-16 15:19:47 +09:00
Tadashi G. Takaoka c40819a09d am d82fd6c3: Merge "Don\'t cache resource value that depends on orientation"
* commit 'd82fd6c3cc58159bd294b85021c8680a70a123ac':
  Don't cache resource value that depends on orientation
2012-01-15 19:29:29 -08:00
Tadashi G. Takaoka d82fd6c3cc Merge "Don't cache resource value that depends on orientation" 2012-01-15 19:27:58 -08:00
Tadashi G. Takaoka 9751a626ec Don't cache resource value that depends on orientation
Bug: 5794655
Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
2012-01-16 12:26:34 +09:00